Class ChestShulkerOpenPacket
java.lang.Object
com.hammy275.immersivemc.common.network.packet.ChestShulkerOpenPacket
-
Field Summary
-
Constructor Summary
ConstructorDescriptionChestShulkerOpenPacket
(net.minecraft.core.BlockPos pos, boolean isOpenPacket) -
Method Summary
Modifier and TypeMethodDescriptionstatic ChestShulkerOpenPacket
decode
(net.minecraft.network.FriendlyByteBuf buffer) static void
encode
(ChestShulkerOpenPacket packet, net.minecraft.network.FriendlyByteBuf buffer) static void
handle
(ChestShulkerOpenPacket message, net.minecraft.server.level.ServerPlayer player)
-
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
-
handle
public static void handle(ChestShulkerOpenPacket message, net.minecraft.server.level.ServerPlayer player)
-