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 Object
implements VillagerTrades.ITrade
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Item
private final int
private final int
private final int
-
Constructor Summary
ConstructorDescriptionDyedArmorForEmeraldsTrade
(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
-
Field Details
-
item
-
value
private final int value -
maxUses
private final int maxUses -
villagerXp
private final int villagerXp
-
-
Constructor Details
-
DyedArmorForEmeraldsTrade
-
DyedArmorForEmeraldsTrade
public DyedArmorForEmeraldsTrade(Item p_i50541_1_, int p_i50541_2_, int p_i50541_3_, int p_i50541_4_)
-
-
Method Details
-
getOffer
- Specified by:
getOffer
in interfaceVillagerTrades.ITrade
-
getRandomDye
-