forked from BLOCKFANTASY/LOOHP-Limbo
Skip encoding not-implemented item data components
This commit is contained in:
+2
-2
@@ -27,8 +27,8 @@ import java.io.IOException;
|
||||
|
||||
public class PacketPlayInSetCreativeSlot extends PacketIn {
|
||||
|
||||
private int slotNumber;
|
||||
private ItemStack itemStack;
|
||||
private final int slotNumber;
|
||||
private final ItemStack itemStack;
|
||||
|
||||
public PacketPlayInSetCreativeSlot(int slotNumber, ItemStack itemStack) {
|
||||
this.slotNumber = slotNumber;
|
||||
|
||||
@@ -31,13 +31,13 @@ import java.util.Map;
|
||||
|
||||
public class PacketPlayInWindowClick extends PacketIn {
|
||||
|
||||
private int containerId;
|
||||
private int stateId;
|
||||
private int slotNum;
|
||||
private int buttonNum;
|
||||
private InventoryClickType clickType;
|
||||
private Map<Integer, ItemStack> changedSlots;
|
||||
private ItemStack carriedItem;
|
||||
private final int containerId;
|
||||
private final int stateId;
|
||||
private final int slotNum;
|
||||
private final int buttonNum;
|
||||
private final InventoryClickType clickType;
|
||||
private final Map<Integer, ItemStack> changedSlots;
|
||||
private final ItemStack carriedItem;
|
||||
|
||||
public PacketPlayInWindowClick(int containerId, int stateId, int slotNum, int buttonNum, InventoryClickType clickType, Map<Integer, ItemStack> changedSlots, ItemStack carriedItem) {
|
||||
this.containerId = containerId;
|
||||
|
||||
@@ -28,10 +28,10 @@ import java.io.IOException;
|
||||
|
||||
public class PacketPlayOutSetSlot extends PacketOut {
|
||||
|
||||
private int containerId;
|
||||
private int stateId;
|
||||
private int slot;
|
||||
private ItemStack itemStack;
|
||||
private final int containerId;
|
||||
private final int stateId;
|
||||
private final int slot;
|
||||
private final ItemStack itemStack;
|
||||
|
||||
public PacketPlayOutSetSlot(int containerId, int stateId, int slot, ItemStack itemStack) {
|
||||
this.containerId = containerId;
|
||||
|
||||
Reference in New Issue
Block a user