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 cbl$j
intermediary net/minecraft/class_3853$class_4166
named net/minecraft/village/TradeOffers$SellSuspiciousStewFactory
  • Field Details

    • stewEffects

      private final List<SuspiciousStewIngredient.StewEffect> stewEffects
      Mappings:
      Namespace Name Mixin selector
      official a Lcbl$j;a:Ljava/util/List;
      intermediary field_45756 Lnet/minecraft/class_3853$class_4166;field_45756:Ljava/util/List;
      named stewEffects Lnet/minecraft/village/TradeOffers$SellSuspiciousStewFactory;stewEffects:Ljava/util/List;
    • experience

      private final int experience
      Mappings:
      Namespace Name Mixin selector
      official b Lcbl$j;b: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 c Lcbl$j;c: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

      public SellSuspiciousStewFactory(StatusEffect effect, int duration, int experience)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcbl$j;<init>(Lbib;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
    • SellSuspiciousStewFactory

      public SellSuspiciousStewFactory(List<SuspiciousStewIngredient.StewEffect> stewEffects, int experience, float multiplier)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcbl$j;<init>(Ljava/util/List;IF)V
      intermediary <init> Lnet/minecraft/class_3853$class_4166;<init>(Ljava/util/List;IF)V
      named <init> Lnet/minecraft/village/TradeOffers$SellSuspiciousStewFactory;<init>(Ljava/util/List;IF)V
  • Method Details

    • create

      @Nullable public @Nullable TradeOffer create(Entity entity, Random random)
      Creates a trade offer.
      Specified by:
      create in interface TradeOffers.Factory
      Returns:
      a new trade offer, or null if none should be created
      Mappings:
      Namespace Name Mixin selector
      official a Lcbl$g;a(Lbiq;Lasc;)Lcot;
      intermediary method_7246 Lnet/minecraft/class_3853$class_1652;method_7246(Lnet/minecraft/class_1297;Lnet/minecraft/class_5819;)Lnet/minecraft/class_1914;
      named create Lnet/minecraft/village/TradeOffers$Factory;create(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/random/Random;)Lnet/minecraft/village/TradeOffer;