public static class VillagerTradeLists.GiveItemForLogsAndEmeralds
extends java.lang.Object
implements net.minecraft.entity.passive.EntityVillager.ITradeList
| Modifier and Type | Field and Description |
|---|---|
net.minecraft.entity.passive.EntityVillager.PriceInfo |
emeraldsInfo |
net.minecraft.entity.passive.EntityVillager.PriceInfo |
itemInfo |
net.minecraft.item.ItemStack |
itemToSell |
net.minecraft.entity.passive.EntityVillager.PriceInfo |
logsInfo |
| Constructor and Description |
|---|
GiveItemForLogsAndEmeralds(net.minecraft.item.ItemStack itemToSell,
net.minecraft.entity.passive.EntityVillager.PriceInfo itemInfo,
net.minecraft.entity.passive.EntityVillager.PriceInfo logsInfo,
net.minecraft.entity.passive.EntityVillager.PriceInfo emeraldsInfo) |
| 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
public final net.minecraft.entity.passive.EntityVillager.PriceInfo itemInfo
public final net.minecraft.entity.passive.EntityVillager.PriceInfo logsInfo
public final net.minecraft.entity.passive.EntityVillager.PriceInfo emeraldsInfo
public GiveItemForLogsAndEmeralds(net.minecraft.item.ItemStack itemToSell,
net.minecraft.entity.passive.EntityVillager.PriceInfo itemInfo,
net.minecraft.entity.passive.EntityVillager.PriceInfo logsInfo,
net.minecraft.entity.passive.EntityVillager.PriceInfo emeraldsInfo)