static class TradeOffers.SellSuspiciousStewFactory extends Object implements TradeOffers.Factory
Modifier and Type | Field and Description |
---|---|
(package private) int |
duration |
(package private) StatusEffect |
effect |
(package private) int |
experience |
private float |
multiplier |
Constructor and Description |
---|
SellSuspiciousStewFactory(StatusEffect effect,
int duration,
int experience) |
Modifier and Type | Method and Description |
---|---|
TradeOffer |
create(Entity entity,
Random random)
Creates a trade offer.
|
final StatusEffect effect
final int duration
final int experience
private final float multiplier
public SellSuspiciousStewFactory(StatusEffect effect, int duration, int experience)
@Nullable public TradeOffer create(Entity entity, Random random)
create
in interface TradeOffers.Factory
null
if none should be created