Class ShopEvent.Sell

java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.ShopEvent
com.pixelmonmod.pixelmon.api.events.ShopEvent.Sell
Direct Known Subclasses:
ShopEvent.Sell.Post, ShopEvent.Sell.Pre
Enclosing class:
ShopEvent

public static class ShopEvent.Sell extends ShopEvent
Fired when a player sells an item to a shop.
  • Constructor Details

    • Sell

      protected Sell(net.minecraft.server.level.ServerPlayer player, ShopBuilder shop, net.minecraft.world.item.ItemStack item)
  • Method Details

    • getItem

      public net.minecraft.world.item.ItemStack getItem()