Class VillagerTrade
java.lang.Object
org.geysermc.mcprotocollib.protocol.data.game.inventory.VillagerTrade
-
Constructor Summary
ConstructorsConstructorDescriptionVillagerTrade(@NonNull ItemStack firstInput, @Nullable ItemStack secondInput, @Nullable ItemStack output, boolean tradeDisabled, int numUses, int maxUses, int xp, int specialPrice, float priceMultiplier, int demand) -
Method Summary
-
Constructor Details
-
VillagerTrade
-
-
Method Details
-
getFirstInput
-
getSecondInput
-
getOutput
-
isTradeDisabled
public boolean isTradeDisabled() -
getNumUses
public int getNumUses() -
getMaxUses
public int getMaxUses() -
getXp
public int getXp() -
getSpecialPrice
public int getSpecialPrice() -
getPriceMultiplier
public float getPriceMultiplier() -
getDemand
public int getDemand() -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-