Package net.minecraft.world.entity.npc
Class VillagerTrades.DyedArmorForEmeralds
java.lang.Object
net.minecraft.world.entity.npc.VillagerTrades.DyedArmorForEmeralds
- All Implemented Interfaces:
 VillagerTrades.ItemListing
- Enclosing class:
 - VillagerTrades
 
static class VillagerTrades.DyedArmorForEmeralds
extends Object
implements VillagerTrades.ItemListing
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Itemprivate final intprivate final intprivate final int - 
Constructor Summary
ConstructorsConstructorDescriptionDyedArmorForEmeralds(Item p_35639_, int p_35640_) DyedArmorForEmeralds(Item p_35642_, int p_35643_, int p_35644_, int p_35645_)  - 
Method Summary
Modifier and TypeMethodDescriptiongetOffer(Entity p_219679_, RandomSource p_219680_) private static DyeItemgetRandomDye(RandomSource p_219677_)  
- 
Field Details
- 
item
 - 
value
private final int value - 
maxUses
private final int maxUses - 
villagerXp
private final int villagerXp 
 - 
 - 
Constructor Details
- 
DyedArmorForEmeralds
 - 
DyedArmorForEmeralds
 
 - 
 - 
Method Details
- 
getOffer
- Specified by:
 getOfferin interfaceVillagerTrades.ItemListing
 - 
getRandomDye
 
 -