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 named net/minecraft/village/TradeOffers$SellSuspiciousStewFactory
intermediary net/minecraft/class_3853$class_4166
official cmp$j
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private final float
private final SuspiciousStewEffectsComponent
-
Constructor Summary
ConstructorDescriptionSellSuspiciousStewFactory
(SuspiciousStewEffectsComponent stewEffects, int experience, float multiplier) SellSuspiciousStewFactory
(RegistryEntry<StatusEffect> effect, int duration, int experience) -
Method Summary
Modifier and TypeMethodDescriptionCreates a trade offer.
-
Field Details
-
stewEffects
- Mappings:
Namespace Name Mixin selector named stewEffects
Lnet/minecraft/village/TradeOffers$SellSuspiciousStewFactory;stewEffects:Lnet/minecraft/component/type/SuspiciousStewEffectsComponent;
intermediary field_45756
Lnet/minecraft/class_3853$class_4166;field_45756:Lnet/minecraft/class_9298;
official a
Lcmp$j;a:Lcxu;
-
experience
private final int experience- Mappings:
Namespace Name Mixin selector named experience
Lnet/minecraft/village/TradeOffers$SellSuspiciousStewFactory;experience:I
intermediary field_18579
Lnet/minecraft/class_3853$class_4166;field_18579:I
official b
Lcmp$j;b:I
-
multiplier
private final float multiplier- Mappings:
Namespace Name Mixin selector named multiplier
Lnet/minecraft/village/TradeOffers$SellSuspiciousStewFactory;multiplier:F
intermediary field_18580
Lnet/minecraft/class_3853$class_4166;field_18580:F
official c
Lcmp$j;c:F
-
-
Constructor Details
-
SellSuspiciousStewFactory
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/village/TradeOffers$SellSuspiciousStewFactory;<init>(Lnet/minecraft/registry/entry/RegistryEntry;II)V
intermediary <init>
Lnet/minecraft/class_3853$class_4166;<init>(Lnet/minecraft/class_6880;II)V
official <init>
Lcmp$j;<init>(Lji;II)V
-
SellSuspiciousStewFactory
public SellSuspiciousStewFactory(SuspiciousStewEffectsComponent stewEffects, int experience, float multiplier) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/village/TradeOffers$SellSuspiciousStewFactory;<init>(Lnet/minecraft/component/type/SuspiciousStewEffectsComponent;IF)V
intermediary <init>
Lnet/minecraft/class_3853$class_4166;<init>(Lnet/minecraft/class_9298;IF)V
official <init>
Lcmp$j;<init>(Lcxu;IF)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 named create
Lnet/minecraft/village/TradeOffers$Factory;create(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/random/Random;)Lnet/minecraft/village/TradeOffer;
intermediary method_7246
Lnet/minecraft/class_3853$class_1652;method_7246(Lnet/minecraft/class_1297;Lnet/minecraft/class_5819;)Lnet/minecraft/class_1914;
official a
Lcmp$g;a(Lbsv;Lazh;)Ldax;
-