|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectminny.zephyrus.utils.Merchant
public class Merchant
| Constructor Summary | |
|---|---|
Merchant()
|
|
| Method Summary | |
|---|---|
void |
a(net.minecraft.server.v1_5_R3.EntityHuman h)
Sets the human entity for the Merchant |
void |
a(net.minecraft.server.v1_5_R3.MerchantRecipe recipe)
Adds a trade to the merchant |
void |
addOffer(org.bukkit.inventory.ItemStack i1,
org.bukkit.inventory.ItemStack i2,
org.bukkit.inventory.ItemStack i3)
Adds a new trade to the merchants |
Merchant |
clone()
Clones the merchant and returns a new instance with the same trades |
org.bukkit.inventory.ItemStack |
getInput1()
Gets the first input for the trade |
org.bukkit.inventory.ItemStack |
getInput2()
Gets the second input for the trade |
org.bukkit.inventory.ItemStack[] |
getItems()
Gets the list of items for this merchant |
net.minecraft.server.v1_5_R3.MerchantRecipeList |
getOffers(net.minecraft.server.v1_5_R3.EntityHuman arg0)
Gets the list of recipes for the Merchant |
org.bukkit.inventory.ItemStack |
getOutput()
Gets the output input for the trade |
net.minecraft.server.v1_5_R3.EntityHuman |
m_()
Gets the HumanEntity associated with the merchant |
void |
openTrade(net.minecraft.server.v1_5_R3.EntityHuman h)
Opens the trade for the given EntityHuman |
void |
openTrade(org.bukkit.entity.Player player)
Opens the trade for the given player |
void |
setOffers(net.minecraft.server.v1_5_R3.MerchantRecipeList list)
Sets the offer for the merchant |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Merchant()
| Method Detail |
|---|
public void addOffer(org.bukkit.inventory.ItemStack i1,
org.bukkit.inventory.ItemStack i2,
org.bukkit.inventory.ItemStack i3)
i1 - Input onei2 - Input twoi3 - Resultpublic void a(net.minecraft.server.v1_5_R3.EntityHuman h)
a in interface net.minecraft.server.v1_5_R3.IMerchantpublic void a(net.minecraft.server.v1_5_R3.MerchantRecipe recipe)
a in interface net.minecraft.server.v1_5_R3.IMerchantrecipe - The MerchantRecipe to addpublic net.minecraft.server.v1_5_R3.MerchantRecipeList getOffers(net.minecraft.server.v1_5_R3.EntityHuman arg0)
getOffers in interface net.minecraft.server.v1_5_R3.IMerchantpublic void setOffers(net.minecraft.server.v1_5_R3.MerchantRecipeList list)
list - The MerchantRecipeList to addpublic net.minecraft.server.v1_5_R3.EntityHuman m_()
m_ in interface net.minecraft.server.v1_5_R3.IMerchantpublic void openTrade(org.bukkit.entity.Player player)
player - The player to send the trade topublic void openTrade(net.minecraft.server.v1_5_R3.EntityHuman h)
h - The EntityHuman to send the trade topublic org.bukkit.inventory.ItemStack[] getItems()
public org.bukkit.inventory.ItemStack getInput1()
public org.bukkit.inventory.ItemStack getInput2()
public org.bukkit.inventory.ItemStack getOutput()
public Merchant clone()
clone in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||