public static class BinderItem.Binder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
net.minecraft.inventory.Inventory |
inventory |
Constructor and Description |
---|
Binder(net.minecraft.inventory.Inventory inventory,
int slot) |
Modifier and Type | Method and Description |
---|---|
void |
decrementPage() |
static BinderItem.Binder |
fromBuffer(net.minecraft.network.PacketBuffer buffer) |
static net.minecraft.inventory.Inventory |
fromTag(net.minecraft.nbt.CompoundNBT nbt) |
int |
getPage() |
int |
getSizePage() |
int |
getSlot() |
void |
incrementPage() |
static BinderItem.Binder |
readFromItemStack(net.minecraft.entity.player.PlayerEntity player,
net.minecraft.item.ItemStack stack) |
void |
saveInventory(net.minecraft.nbt.CompoundNBT compoundNBT) |
void |
writeToBuffer(net.minecraft.network.PacketBuffer buffer) |
void |
writeToStack(net.minecraft.item.ItemStack stack) |
public int getSlot()
public void writeToStack(net.minecraft.item.ItemStack stack)
public void writeToBuffer(net.minecraft.network.PacketBuffer buffer)
public void saveInventory(net.minecraft.nbt.CompoundNBT compoundNBT)
public int getPage()
public int getSizePage()
public void decrementPage()
public void incrementPage()
public static net.minecraft.inventory.Inventory fromTag(net.minecraft.nbt.CompoundNBT nbt)
public static BinderItem.Binder readFromItemStack(net.minecraft.entity.player.PlayerEntity player, net.minecraft.item.ItemStack stack)
public static BinderItem.Binder fromBuffer(net.minecraft.network.PacketBuffer buffer)