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