static class TradeOffers.EnchantBookFactory extends Object implements TradeOffers.Factory
Modifier and Type | Field and Description |
---|---|
private int |
experience |
Constructor and Description |
---|
EnchantBookFactory(int experience) |
Modifier and Type | Method and Description |
---|---|
TradeOffer |
create(Entity entity,
Random random)
Creates a trade offer.
|
public TradeOffer create(Entity entity, Random random)
create
in interface TradeOffers.Factory
null
if none should be created