Class VillagerTrades.EmeraldForMapTrade
java.lang.Object
net.minecraft.entity.merchant.villager.VillagerTrades.EmeraldForMapTrade
- All Implemented Interfaces:
VillagerTrades.ITrade
- Enclosing class:
- VillagerTrades
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Structure<?>
private final MapDecoration.Type
private final int
private final int
private final int
-
Constructor Summary
ConstructorDescriptionEmeraldForMapTrade
(int p_i231575_1_, Structure<?> p_i231575_2_, MapDecoration.Type p_i231575_3_, int p_i231575_4_, int p_i231575_5_) -
Method Summary
-
Field Details
-
emeraldCost
private final int emeraldCost -
destination
-
destinationType
-
maxUses
private final int maxUses -
villagerXp
private final int villagerXp
-
-
Constructor Details
-
EmeraldForMapTrade
public EmeraldForMapTrade(int p_i231575_1_, Structure<?> p_i231575_2_, MapDecoration.Type p_i231575_3_, int p_i231575_4_, int p_i231575_5_)
-
-
Method Details
-
getOffer
- Specified by:
getOffer
in interfaceVillagerTrades.ITrade
-