public static class VillagerTradeLists.GiveItemForItemAndEmerald
extends java.lang.Object
implements net.minecraft.entity.passive.EntityVillager.ITradeList
EntityVillager.ItemAndEmeraldToItem
that takes ItemStacks as parameters and has emerald price info| Modifier and Type | Field and Description |
|---|---|
net.minecraft.item.ItemStack |
buyingItemStack |
net.minecraft.entity.passive.EntityVillager.PriceInfo |
buyingPriceInfo |
net.minecraft.entity.passive.EntityVillager.PriceInfo |
emeraldPriceInfo |
net.minecraft.item.ItemStack |
sellingItemstack |
net.minecraft.entity.passive.EntityVillager.PriceInfo |
sellingPriceInfo |
| Constructor and Description |
|---|
GiveItemForItemAndEmerald(net.minecraft.item.ItemStack buyingItemStack,
net.minecraft.entity.passive.EntityVillager.PriceInfo buyingPriceInfo,
net.minecraft.entity.passive.EntityVillager.PriceInfo emeraldPriceInfo,
net.minecraft.item.ItemStack sellingItemstack,
net.minecraft.entity.passive.EntityVillager.PriceInfo sellingPriceInfo) |
| 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 buyingItemStack
public final net.minecraft.item.ItemStack sellingItemstack
@Nullable public final net.minecraft.entity.passive.EntityVillager.PriceInfo buyingPriceInfo
@Nullable public final net.minecraft.entity.passive.EntityVillager.PriceInfo emeraldPriceInfo
@Nullable public final net.minecraft.entity.passive.EntityVillager.PriceInfo sellingPriceInfo
public GiveItemForItemAndEmerald(net.minecraft.item.ItemStack buyingItemStack,
@Nullable
net.minecraft.entity.passive.EntityVillager.PriceInfo buyingPriceInfo,
@Nullable
net.minecraft.entity.passive.EntityVillager.PriceInfo emeraldPriceInfo,
net.minecraft.item.ItemStack sellingItemstack,
@Nullable
net.minecraft.entity.passive.EntityVillager.PriceInfo sellingPriceInfo)