static class VillagerTrades.EmeraldForMapTrade extends java.lang.Object implements VillagerTrades.ITrade
Modifier and Type | Field and Description |
---|---|
private int |
count |
private MapDecoration.Type |
mapDecorationType |
private int |
maxUses |
private java.lang.String |
structureName |
private int |
xpValue |
Constructor and Description |
---|
EmeraldForMapTrade(int countIn,
java.lang.String structureNameIn,
MapDecoration.Type decoration,
int maxUsesIn,
int xpValueIn) |
Modifier and Type | Method and Description |
---|---|
MerchantOffer |
getOffer(Entity trader,
java.util.Random rand) |
private final int count
private final java.lang.String structureName
private final MapDecoration.Type mapDecorationType
private final int maxUses
private final int xpValue
public EmeraldForMapTrade(int countIn, java.lang.String structureNameIn, MapDecoration.Type decoration, int maxUsesIn, int xpValueIn)
@Nullable public MerchantOffer getOffer(Entity trader, java.util.Random rand)
getOffer
in interface VillagerTrades.ITrade