public static class VillagerTradeLists.GiveEmeraldForItems
extends java.lang.Object
implements net.minecraft.entity.passive.EntityVillager.ITradeList
EntityVillager.EmeraldForItems
that takes itemStack as a parameter| Modifier and Type | Field and Description |
|---|---|
net.minecraft.item.ItemStack |
buyingItem |
net.minecraft.entity.passive.EntityVillager.PriceInfo |
price |
| Constructor and Description |
|---|
GiveEmeraldForItems(net.minecraft.item.ItemStack itemIn,
net.minecraft.entity.passive.EntityVillager.PriceInfo priceIn) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMerchantRecipe(net.minecraft.entity.IMerchant merchant,
net.minecraft.village.MerchantRecipeList recipeList,
java.util.Random random)
Affects the given MerchantRecipeList to possibly add or remove MerchantRecipes.
|
public final net.minecraft.item.ItemStack buyingItem
@Nullable public final net.minecraft.entity.passive.EntityVillager.PriceInfo price
public GiveEmeraldForItems(net.minecraft.item.ItemStack itemIn,
@Nullable
net.minecraft.entity.passive.EntityVillager.PriceInfo priceIn)
public void addMerchantRecipe(net.minecraft.entity.IMerchant merchant,
net.minecraft.village.MerchantRecipeList recipeList,
java.util.Random random)
addMerchantRecipe in interface net.minecraft.entity.passive.EntityVillager.ITradeList