Package com.pixelmonmod.tcg.item
Class BinderItem.Binder
java.lang.Object
com.pixelmonmod.tcg.item.BinderItem.Binder
- Enclosing class:
- BinderItem
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
static BinderItem.Binder
fromBuffer
(net.minecraft.network.FriendlyByteBuf buffer) static net.minecraft.world.Container
fromTag
(net.minecraft.nbt.CompoundTag nbt) int
getPage()
int
int
getSlot()
void
static BinderItem.Binder
readFromItemStack
(net.minecraft.world.entity.player.Player player, net.minecraft.world.item.ItemStack stack) void
saveInventory
(net.minecraft.nbt.CompoundTag CompoundTag) void
writeToBuffer
(net.minecraft.network.FriendlyByteBuf buffer) void
writeToStack
(net.minecraft.world.item.ItemStack stack)
-
Field Details
-
inventory
public net.minecraft.world.Container inventory
-
-
Constructor Details
-
Binder
public Binder(net.minecraft.world.Container inventory, int slot)
-
-
Method Details
-
getSlot
public int getSlot() -
writeToStack
public void writeToStack(net.minecraft.world.item.ItemStack stack) -
writeToBuffer
public void writeToBuffer(net.minecraft.network.FriendlyByteBuf buffer) -
saveInventory
public void saveInventory(net.minecraft.nbt.CompoundTag CompoundTag) -
getPage
public int getPage() -
getSizePage
public int getSizePage() -
decrementPage
public void decrementPage() -
incrementPage
public void incrementPage() -
fromTag
public static net.minecraft.world.Container fromTag(net.minecraft.nbt.CompoundTag nbt) -
readFromItemStack
public static BinderItem.Binder readFromItemStack(net.minecraft.world.entity.player.Player player, net.minecraft.world.item.ItemStack stack) -
fromBuffer
-