static class TradeOffers.SellMapFactory extends Object implements TradeOffers.Factory
Modifier and Type | Field and Description |
---|---|
private int |
experience |
private MapIcon.Type |
iconType |
private int |
maxUses |
private int |
price |
private String |
structure |
Constructor and Description |
---|
SellMapFactory(int price,
String structure,
MapIcon.Type iconType,
int maxUses,
int experience) |
private final int price
private final String structure
private final MapIcon.Type iconType
private final int maxUses
private final int experience
public SellMapFactory(int price, String structure, MapIcon.Type iconType, int maxUses, int experience)
@Nullable public TradeOffer create(Entity entity, Random random)
create
in interface TradeOffers.Factory