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