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 SummaryFieldsModifier and TypeFieldDescriptionprivate final Itemprivate final intprivate final intprivate final int
- 
Constructor SummaryConstructorsConstructorDescriptionDyedArmorForEmeralds(Item p_35639_, int p_35640_) DyedArmorForEmeralds(Item p_35642_, int p_35643_, int p_35644_, int p_35645_) 
- 
Method SummaryModifier and TypeMethodDescriptiongetOffer(Entity p_219679_, RandomSource p_219680_) private static DyeItemgetRandomDye(RandomSource p_219677_) 
- 
Field Details- 
item
- 
valueprivate final int value
- 
maxUsesprivate final int maxUses
- 
villagerXpprivate final int villagerXp
 
- 
- 
Constructor Details- 
DyedArmorForEmeralds
- 
DyedArmorForEmeralds
 
- 
- 
Method Details- 
getOffer- Specified by:
- getOfferin interface- VillagerTrades.ItemListing
 
- 
getRandomDye
 
-