java.lang.Object
org.geysermc.mcprotocollib.protocol.data.game.inventory.VillagerTrade

public class VillagerTrade extends Object
  • Constructor Details

  • Method Details

    • getItemCostA

      public VillagerTrade.ItemCost getItemCostA()
    • getResult

      public ItemStack getResult()
    • getItemCostB

      public @Nullable VillagerTrade.ItemCost getItemCostB()
    • isOutOfStock

      public boolean isOutOfStock()
    • getUses

      public int getUses()
    • getMaxUses

      public int getMaxUses()
    • getXp

      public int getXp()
    • getSpecialPriceDiff

      public int getSpecialPriceDiff()
    • getPriceMultiplier

      public float getPriceMultiplier()
    • getDemand

      public int getDemand()
    • equals

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

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object