Class ShearInteractionEvent

java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.pokemon.ShearInteractionEvent
All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent

public class ShearInteractionEvent extends net.neoforged.bus.api.Event implements net.neoforged.bus.api.ICancellableEvent
  • Field Details

    • pixelmon

      protected AbstractBaseEntity pixelmon
    • player

      protected net.minecraft.world.entity.player.Player player
    • hand

      protected net.minecraft.world.InteractionHand hand
    • itemStack

      protected net.minecraft.world.item.ItemStack itemStack
  • Constructor Details

    • ShearInteractionEvent

      public ShearInteractionEvent(AbstractBaseEntity pixelmon, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand, net.minecraft.world.item.ItemStack itemStack)
  • Method Details

    • getPixelmon

      public AbstractBaseEntity getPixelmon()
    • getPlayer

      public net.minecraft.world.entity.player.Player getPlayer()
    • getHand

      public net.minecraft.world.InteractionHand getHand()
    • getItemStack

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