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 Summary
FieldsModifier and TypeFieldDescriptionprotected net.minecraft.world.InteractionHand
protected net.minecraft.world.item.ItemStack
protected AbstractBaseEntity
protected net.minecraft.world.entity.player.Player
-
Constructor Summary
ConstructorsConstructorDescriptionShearInteractionEvent
(AbstractBaseEntity pixelmon, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand, net.minecraft.world.item.ItemStack itemStack) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.InteractionHand
getHand()
net.minecraft.world.item.ItemStack
net.minecraft.world.entity.player.Player
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.neoforged.bus.api.ICancellableEvent
isCanceled, setCanceled
-
Field Details
-
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
-
getPlayer
public net.minecraft.world.entity.player.Player getPlayer() -
getHand
public net.minecraft.world.InteractionHand getHand() -
getItemStack
public net.minecraft.world.item.ItemStack getItemStack()
-