Package | Description |
---|---|
cpw.mods.fml.common.modloader | |
cpw.mods.fml.common.registry | |
net.minecraft.entity | |
net.minecraft.entity.passive | |
net.minecraft.village |
Modifier and Type | Method and Description |
---|---|
void |
ModLoaderVillageTradeHandler.manipulateTradesForVillager(EntityVillager villager,
MerchantRecipeList recipeList,
Random random) |
Modifier and Type | Method and Description |
---|---|
static void |
VillagerRegistry.addEmeraldBuyRecipe(EntityVillager villager,
MerchantRecipeList list,
Random random,
Item item,
float chance,
int min,
int max) |
static void |
VillagerRegistry.addEmeraldSellRecipe(EntityVillager villager,
MerchantRecipeList list,
Random random,
Item item,
float chance,
int min,
int max) |
static void |
VillagerRegistry.manageVillagerTrades(MerchantRecipeList recipeList,
EntityVillager villager,
int villagerType,
Random random)
Callback to handle trade setup for villagers
|
void |
VillagerRegistry.IVillageTradeHandler.manipulateTradesForVillager(EntityVillager villager,
MerchantRecipeList recipeList,
Random random)
Called to allow changing the content of the
MerchantRecipeList for the villager
supplied during creation |
Modifier and Type | Method and Description |
---|---|
MerchantRecipeList |
NpcMerchant.getRecipes(EntityPlayer par1EntityPlayer) |
MerchantRecipeList |
IMerchant.getRecipes(EntityPlayer entityplayer) |
Modifier and Type | Method and Description |
---|---|
void |
NpcMerchant.setRecipes(MerchantRecipeList par1MerchantRecipeList) |
void |
IMerchant.setRecipes(MerchantRecipeList merchantrecipelist) |
Modifier and Type | Method and Description |
---|---|
MerchantRecipeList |
EntityVillager.getRecipes(EntityPlayer par1EntityPlayer) |
Modifier and Type | Method and Description |
---|---|
static void |
EntityVillager.addBlacksmithItem(MerchantRecipeList par0MerchantRecipeList,
int par1,
Random par2Random,
float par3) |
static void |
EntityVillager.addMerchantItem(MerchantRecipeList par0MerchantRecipeList,
int par1,
Random par2Random,
float par3)
each recipie takes a random stack from villagerStockList and offers it for 1 emerald
|
void |
EntityVillager.setRecipes(MerchantRecipeList par1MerchantRecipeList) |
Modifier and Type | Method and Description |
---|---|
static MerchantRecipeList |
MerchantRecipeList.readRecipiesFromStream(DataInputStream par0DataInputStream) |