Class ShopItemWithVariation

java.lang.Object
com.pixelmonmod.pixelmon.entities.npcs.registry.ShopItemWithVariation

public class ShopItemWithVariation extends Object
  • Constructor Details

    • ShopItemWithVariation

      public ShopItemWithVariation(ShopItem shopItem, float variation)
    • ShopItemWithVariation

      public ShopItemWithVariation(ShopItem item)
  • Method Details

    • writeToNBT

      public void writeToNBT(net.minecraft.nbt.ListTag list)
    • getFromNBT

      public static ShopItemWithVariation getFromNBT(String npcIndex, net.minecraft.nbt.CompoundTag tag)
    • writeToBuffer

      public void writeToBuffer(net.minecraft.network.FriendlyByteBuf buffer)
    • getItemStack

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

      public BaseShopItem getBaseShopItem()
    • canSell

      public boolean canSell()
    • getBuyCost

      public int getBuyCost()
    • getSellCost

      public int getSellCost()