Package net.minecraft.village
Class TradeOffers.SellDyedArmorFactory
java.lang.Object
net.minecraft.village.TradeOffers.SellDyedArmorFactory
- All Implemented Interfaces:
TradeOffers.Factory
- Enclosing class:
- TradeOffers
static class TradeOffers.SellDyedArmorFactory extends Object implements TradeOffers.Factory
- Mappings:
Namespace Name official bhc$a
intermediary net/minecraft/class_3853$class_4160
named net/minecraft/village/TradeOffers$SellDyedArmorFactory
-
Field Summary
Fields Modifier and Type Field Description private int
experience
private int
maxUses
private int
price
private Item
sell
-
Constructor Summary
Constructors Constructor Description SellDyedArmorFactory(Item item, int price)
SellDyedArmorFactory(Item item, int price, int maxUses, int experience)
-
Method Summary
-
Field Details
-
sell
- Mappings:
Namespace Name Mixin selector official a
Lbhc$a;a:Lbnr;
intermediary field_18544
Lnet/minecraft/class_3853$class_4160;field_18544:Lnet/minecraft/class_1792;
named sell
Lnet/minecraft/village/TradeOffers$SellDyedArmorFactory;sell:Lnet/minecraft/item/Item;
-
price
private final int price- Mappings:
Namespace Name Mixin selector official b
Lbhc$a;b:I
intermediary field_18545
Lnet/minecraft/class_3853$class_4160;field_18545:I
named price
Lnet/minecraft/village/TradeOffers$SellDyedArmorFactory;price:I
-
maxUses
private final int maxUses- Mappings:
Namespace Name Mixin selector official c
Lbhc$a;c:I
intermediary field_18546
Lnet/minecraft/class_3853$class_4160;field_18546:I
named maxUses
Lnet/minecraft/village/TradeOffers$SellDyedArmorFactory;maxUses:I
-
experience
private final int experience- Mappings:
Namespace Name Mixin selector official d
Lbhc$a;d:I
intermediary field_18547
Lnet/minecraft/class_3853$class_4160;field_18547:I
named experience
Lnet/minecraft/village/TradeOffers$SellDyedArmorFactory;experience:I
-
-
Constructor Details
-
SellDyedArmorFactory
- Mappings:
Namespace Name Mixin selector official <init>
Lbhc$a;<init>(Lbnr;I)V
intermediary <init>
Lnet/minecraft/class_3853$class_4160;<init>(Lnet/minecraft/class_1792;I)V
named <init>
Lnet/minecraft/village/TradeOffers$SellDyedArmorFactory;<init>(Lnet/minecraft/item/Item;I)V
-
SellDyedArmorFactory
- Mappings:
Namespace Name Mixin selector official <init>
Lbhc$a;<init>(Lbnr;III)V
intermediary <init>
Lnet/minecraft/class_3853$class_4160;<init>(Lnet/minecraft/class_1792;III)V
named <init>
Lnet/minecraft/village/TradeOffers$SellDyedArmorFactory;<init>(Lnet/minecraft/item/Item;III)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
Lbhc$f;a(Laqv;Ljava/util/Random;)Lbss;
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;
-
getDye
- Mappings:
Namespace Name Mixin selector official a
Lbhc$a;a(Ljava/util/Random;)Lbmt;
intermediary method_19200
Lnet/minecraft/class_3853$class_4160;method_19200(Ljava/util/Random;)Lnet/minecraft/class_1769;
named getDye
Lnet/minecraft/village/TradeOffers$SellDyedArmorFactory;getDye(Ljava/util/Random;)Lnet/minecraft/item/DyeItem;
-