Class ItemData

java.lang.Object
com.pixelmonmod.pixelmon.items.ItemData

public class ItemData extends Object
  • Constructor Details

    • ItemData

      public ItemData(net.minecraft.world.item.ItemStack itemStack)
  • Method Details

    • getItemStack

      public net.minecraft.world.item.ItemStack getItemStack()
    • encode

      public void encode(net.minecraft.network.FriendlyByteBuf buffer)
    • deocde

      public static ItemData deocde(net.minecraft.network.FriendlyByteBuf buffer)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object