Class MessageboxPacket

java.lang.Object
io.github.icrazyblaze.twitchmod.network.packet.MessageboxPacket

public class MessageboxPacket extends Object
  • Field Details

    • toSend

      public String toSend
  • Constructor Details

    • MessageboxPacket

      public MessageboxPacket(net.minecraft.network.FriendlyByteBuf buf)
    • MessageboxPacket

      public MessageboxPacket(String message)
  • Method Details

    • fromBytes

      public void fromBytes(net.minecraft.network.FriendlyByteBuf buf)
    • handle

      public void handle(Supplier<net.minecraftforge.fmllegacy.network.NetworkEvent.Context> ctx)
    • toBytes

      public void toBytes(net.minecraft.network.FriendlyByteBuf buf)