Package net.minecraft.village
Class TradeOffers.SellSuspiciousStewFactory
java.lang.Object
net.minecraft.village.TradeOffers.SellSuspiciousStewFactory
- All Implemented Interfaces:
TradeOffers.Factory
- Enclosing class:
- TradeOffers
private static class TradeOffers.SellSuspiciousStewFactory
extends Object
implements TradeOffers.Factory
- Mappings:
Namespace Name official bnb$i
intermediary net/minecraft/class_3853$class_4166
named net/minecraft/village/TradeOffers$SellSuspiciousStewFactory
-
Field Summary
Modifier and TypeFieldDescription(package private) final int
(package private) final StatusEffect
(package private) final int
private final float
-
Constructor Summary
ConstructorDescriptionSellSuspiciousStewFactory
(StatusEffect effect, int duration, int experience) -
Method Summary
Modifier and TypeMethodDescriptionCreates a trade offer.
-
Field Details
-
effect
- Mappings:
Namespace Name Mixin selector official a
Lbnb$i;a:Lawe;
intermediary field_18577
Lnet/minecraft/class_3853$class_4166;field_18577:Lnet/minecraft/class_1291;
named effect
Lnet/minecraft/village/TradeOffers$SellSuspiciousStewFactory;effect:Lnet/minecraft/entity/effect/StatusEffect;
-
duration
final int duration- Mappings:
Namespace Name Mixin selector official b
Lbnb$i;b:I
intermediary field_18578
Lnet/minecraft/class_3853$class_4166;field_18578:I
named duration
Lnet/minecraft/village/TradeOffers$SellSuspiciousStewFactory;duration:I
-
experience
final int experience- Mappings:
Namespace Name Mixin selector official c
Lbnb$i;c:I
intermediary field_18579
Lnet/minecraft/class_3853$class_4166;field_18579:I
named experience
Lnet/minecraft/village/TradeOffers$SellSuspiciousStewFactory;experience:I
-
multiplier
private final float multiplier- Mappings:
Namespace Name Mixin selector official d
Lbnb$i;d:F
intermediary field_18580
Lnet/minecraft/class_3853$class_4166;field_18580:F
named multiplier
Lnet/minecraft/village/TradeOffers$SellSuspiciousStewFactory;multiplier:F
-
-
Constructor Details
-
SellSuspiciousStewFactory
- Mappings:
Namespace Name Mixin selector official <init>
Lbnb$i;<init>(Lawe;II)V
intermediary <init>
Lnet/minecraft/class_3853$class_4166;<init>(Lnet/minecraft/class_1291;II)V
named <init>
Lnet/minecraft/village/TradeOffers$SellSuspiciousStewFactory;<init>(Lnet/minecraft/entity/effect/StatusEffect;II)V
-
-
Method Details
-
create
Creates a trade offer.- Specified by:
create
in interfaceTradeOffers.Factory
- Returns:
- a new trade offer, or
null
if none should be created - Mappings:
Namespace Name Mixin selector official a
Lbnb$f;a(Lawm;Ljava/util/Random;)Lbyu;
intermediary method_7246
Lnet/minecraft/class_3853$class_1652;method_7246(Lnet/minecraft/class_1297;Ljava/util/Random;)Lnet/minecraft/class_1914;
named create
Lnet/minecraft/village/TradeOffers$Factory;create(Lnet/minecraft/entity/Entity;Ljava/util/Random;)Lnet/minecraft/village/TradeOffer;
-