Class VillagerTrades.DyedArmorForEmeraldsTrade
- java.lang.Object
-
- net.minecraft.entity.merchant.villager.VillagerTrades.DyedArmorForEmeraldsTrade
-
- All Implemented Interfaces:
VillagerTrades.ITrade
- Enclosing class:
- VillagerTrades
static class VillagerTrades.DyedArmorForEmeraldsTrade extends java.lang.Object implements VillagerTrades.ITrade
-
-
Field Summary
Fields Modifier and Type Field Description private Item
item
private int
maxUses
private int
value
private int
villagerXp
-
Constructor Summary
Constructors Constructor Description DyedArmorForEmeraldsTrade(Item p_i50540_1_, int p_i50540_2_)
DyedArmorForEmeraldsTrade(Item p_i50541_1_, int p_i50541_2_, int p_i50541_3_, int p_i50541_4_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MerchantOffer
getOffer(Entity p_221182_1_, java.util.Random p_221182_2_)
private static DyeItem
getRandomDye(java.util.Random p_221232_0_)
-
-
-
Field Detail
-
item
private final Item item
-
value
private final int value
-
maxUses
private final int maxUses
-
villagerXp
private final int villagerXp
-
-
Method Detail
-
getOffer
public MerchantOffer getOffer(Entity p_221182_1_, java.util.Random p_221182_2_)
- Specified by:
getOffer
in interfaceVillagerTrades.ITrade
-
getRandomDye
private static DyeItem getRandomDye(java.util.Random p_221232_0_)
-
-