Class BinderItem.Binder

java.lang.Object
com.pixelmonmod.tcg.item.BinderItem.Binder
Enclosing class:
BinderItem

public static class BinderItem.Binder extends Object
  • 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

      public static BinderItem.Binder fromBuffer(net.minecraft.network.FriendlyByteBuf buffer)