Class VillagerTrades.EmeraldForVillageTypeItemTrade
java.lang.Object
net.minecraft.entity.merchant.villager.VillagerTrades.EmeraldForVillageTypeItemTrade
- All Implemented Interfaces:
VillagerTrades.ITrade
- Enclosing class:
- VillagerTrades
static class VillagerTrades.EmeraldForVillageTypeItemTrade
extends Object
implements VillagerTrades.ITrade
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private final int
private final Map<VillagerType,
Item> private final int
-
Constructor Summary
ConstructorDescriptionEmeraldForVillageTypeItemTrade
(int p_i50538_1_, int p_i50538_2_, int p_i50538_3_, Map<VillagerType, Item> p_i50538_4_) -
Method Summary
-
Field Details
-
trades
-
cost
private final int cost -
maxUses
private final int maxUses -
villagerXp
private final int villagerXp
-
-
Constructor Details
-
EmeraldForVillageTypeItemTrade
public EmeraldForVillageTypeItemTrade(int p_i50538_1_, int p_i50538_2_, int p_i50538_3_, Map<VillagerType, Item> p_i50538_4_)
-
-
Method Details
-
getOffer
- Specified by:
getOffer
in interfaceVillagerTrades.ITrade
-