Class PokeBagItem.PokeBag

java.lang.Object
com.pixelmonmod.pixelmon.items.PokeBagItem.PokeBag
Enclosing class:
PokeBagItem

public static class PokeBagItem.PokeBag extends Object
  • Field Details

    • inventory

      public net.minecraft.world.Container inventory
    • color

      public net.minecraft.world.item.DyeColor color
  • Constructor Details

    • PokeBag

      public PokeBag(net.minecraft.world.Container inventory, net.minecraft.world.item.DyeColor color, 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 tag)
    • fromTag

      public static net.minecraft.world.Container fromTag(net.minecraft.nbt.CompoundTag tag)
    • readFromItemStack

      public static PokeBagItem.PokeBag readFromItemStack(net.minecraft.world.entity.player.Player player, net.minecraft.world.item.ItemStack stack)
    • fromBuffer

      public static PokeBagItem.PokeBag fromBuffer(net.minecraft.network.FriendlyByteBuf buffer)
    • getInventory

      public net.minecraft.world.Container getInventory()