public static class ShopkeeperEvent.Purchase extends ShopkeeperEvent
ShopkeeperEvent.Purchase, ShopkeeperEvent.Sell
npc, player
Constructor and Description |
---|
Purchase(net.minecraft.entity.player.EntityPlayerMP player,
EntityNPC npc,
net.minecraft.item.ItemStack item,
EnumBuySell type) |
Modifier and Type | Method and Description |
---|---|
net.minecraft.item.ItemStack |
getItem() |
net.minecraft.entity.player.EntityPlayerMP |
getPlayer()
Deprecated.
|
EnumBuySell |
getType() |
void |
setItem(net.minecraft.item.ItemStack item) |
getEntityPlayer, getNpc
public Purchase(net.minecraft.entity.player.EntityPlayerMP player, EntityNPC npc, net.minecraft.item.ItemStack item, EnumBuySell type)
public void setItem(net.minecraft.item.ItemStack item)
public net.minecraft.item.ItemStack getItem()
@Deprecated public net.minecraft.entity.player.EntityPlayerMP getPlayer()
public EnumBuySell getType()