Class ChestShulkerOpenPacket

java.lang.Object
com.hammy275.immersivemc.common.network.packet.ChestShulkerOpenPacket

public class ChestShulkerOpenPacket extends Object
  • Field Details

    • pos

      public net.minecraft.core.BlockPos pos
    • isOpen

      public boolean isOpen
  • Constructor Details

    • ChestShulkerOpenPacket

      public ChestShulkerOpenPacket(net.minecraft.core.BlockPos pos, boolean isOpenPacket)
  • Method Details

    • encode

      public static void encode(ChestShulkerOpenPacket packet, net.minecraft.network.FriendlyByteBuf buffer)
    • decode

      public static ChestShulkerOpenPacket decode(net.minecraft.network.FriendlyByteBuf buffer)
    • handle

      public static void handle(ChestShulkerOpenPacket message, net.minecraft.server.level.ServerPlayer player)