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
public static class VillagerTrades.DyedArmorForEmeralds
extends Object
implements VillagerTrades.ItemListing
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Item
private final int
private final int
private final int
-
Constructor Summary
ConstructorDescriptionDyedArmorForEmeralds
(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 DyeItem
getRandomDye
(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:
getOffer
in interfaceVillagerTrades.ItemListing
-
getRandomDye
-