Class InventorySwapPacket
java.lang.Object
com.hammy275.immersivemc.common.network.packet.InventorySwapPacket
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic InventorySwapPacket
decode
(net.minecraft.network.FriendlyByteBuf buffer) static void
encode
(InventorySwapPacket packet, net.minecraft.network.FriendlyByteBuf buffer) static void
handle
(InventorySwapPacket message, net.minecraft.server.level.ServerPlayer player)
-
Field Details
-
slot
public final int slot -
placementMode
-
-
Constructor Details
-
InventorySwapPacket
public InventorySwapPacket(int invSlotRaw)
-
-
Method Details
-
encode
-
decode
-
handle
public static void handle(InventorySwapPacket message, net.minecraft.server.level.ServerPlayer player)
-