Class ByteBufTCG

java.lang.Object
com.pixelmonmod.tcg.network.ByteBufTCG

public class ByteBufTCG extends Object
  • Constructor Details

    • ByteBufTCG

      public ByteBufTCG()
  • Method Details

    • writeBlockPos

      public static void writeBlockPos(net.minecraft.network.FriendlyByteBuf buf, net.minecraft.core.BlockPos blockPos)
    • readBlockPos

      public static net.minecraft.core.BlockPos readBlockPos(net.minecraft.network.FriendlyByteBuf buf)
    • writeCard

      public static void writeCard(net.minecraft.network.FriendlyByteBuf buf, ImmutableCard card)
    • writeFaceDownCard

      public static void writeFaceDownCard(net.minecraft.network.FriendlyByteBuf buf)
    • readCard

      public static ImmutableCard readCard(net.minecraft.network.FriendlyByteBuf buf)
    • writeCardList

      public static void writeCardList(net.minecraft.network.FriendlyByteBuf buf, List<ImmutableCard> cards)
    • writeFaceDownCardList

      public static void writeFaceDownCardList(net.minecraft.network.FriendlyByteBuf buf, List<ImmutableCard> cards)
    • readCardList

      public static List<ImmutableCard> readCardList(net.minecraft.network.FriendlyByteBuf buf)
    • readCardState

      public static CommonCardState readCardState(net.minecraft.network.FriendlyByteBuf buf)
    • writeCardState

      public static void writeCardState(net.minecraft.network.FriendlyByteBuf buf, CommonCardState cardState)