Package net.minecraft.world.entity.npc
Class VillagerTrades.ItemsForEmeralds
java.lang.Object
net.minecraft.world.entity.npc.VillagerTrades.ItemsForEmeralds
- All Implemented Interfaces:
VillagerTrades.ItemListing
- Enclosing class:
VillagerTrades
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private final ItemStack
private final int
private final float
private final int
-
Constructor Summary
ConstructorDescriptionItemsForEmeralds
(Item p_35741_, int p_35742_, int p_35743_, int p_35744_) ItemsForEmeralds
(Item p_35746_, int p_35747_, int p_35748_, int p_35749_, int p_35750_) ItemsForEmeralds
(Item p_302016_, int p_302006_, int p_302008_, int p_302010_, int p_301989_, float p_302037_) ItemsForEmeralds
(ItemStack p_35752_, int p_35753_, int p_35754_, int p_35755_, int p_35756_) ItemsForEmeralds
(ItemStack p_35758_, int p_35759_, int p_35760_, int p_35761_, int p_35762_, float p_35763_) ItemsForEmeralds
(Block p_35765_, int p_35766_, int p_35767_, int p_35768_, int p_35769_) -
Method Summary
-
Field Details
-
itemStack
-
emeraldCost
private final int emeraldCost -
maxUses
private final int maxUses -
villagerXp
private final int villagerXp -
priceMultiplier
private final float priceMultiplier
-
-
Constructor Details
-
ItemsForEmeralds
-
ItemsForEmeralds
-
ItemsForEmeralds
-
ItemsForEmeralds
-
ItemsForEmeralds
public ItemsForEmeralds(Item p_302016_, int p_302006_, int p_302008_, int p_302010_, int p_301989_, float p_302037_) -
ItemsForEmeralds
public ItemsForEmeralds(ItemStack p_35758_, int p_35759_, int p_35760_, int p_35761_, int p_35762_, float p_35763_)
-
-
Method Details
-
getOffer
- Specified by:
getOffer
in interfaceVillagerTrades.ItemListing
-