public static class VillagerTradeLists.GiveItemForEmeralds
extends java.lang.Object
implements net.minecraft.entity.passive.EntityVillager.ITradeList
EntityVillager.ListItemForEmeralds
that copies itemStacks properly| Modifier and Type | Field and Description |
|---|---|
net.minecraft.entity.passive.EntityVillager.PriceInfo |
emeraldPriceInfo |
net.minecraft.item.ItemStack |
itemToSell |
net.minecraft.entity.passive.EntityVillager.PriceInfo |
sellInfo |
| Constructor and Description |
|---|
GiveItemForEmeralds(net.minecraft.entity.passive.EntityVillager.PriceInfo emeraldPriceInfo,
net.minecraft.item.ItemStack itemToSell,
net.minecraft.entity.passive.EntityVillager.PriceInfo sellInfo) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMerchantRecipe(net.minecraft.entity.IMerchant merchant,
net.minecraft.village.MerchantRecipeList recipeList,
java.util.Random random) |
public final net.minecraft.item.ItemStack itemToSell
@Nullable public final net.minecraft.entity.passive.EntityVillager.PriceInfo emeraldPriceInfo
@Nullable public final net.minecraft.entity.passive.EntityVillager.PriceInfo sellInfo