Class DenEvent.Interact
java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.raids.DenEvent
com.pixelmonmod.pixelmon.api.events.raids.DenEvent.Interact
- All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
- Enclosing class:
DenEvent
public static class DenEvent.Interact
extends DenEvent
implements net.neoforged.bus.api.ICancellableEvent
-
Nested Class Summary
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.raids.DenEvent
DenEvent.Collide, DenEvent.Interact
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.entity.player.Player
boolean
boolean
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
-
Constructor Details
-
Interact
-
-
Method Details
-
getPlayer
public net.minecraft.world.entity.player.Player getPlayer()- Returns:
- The player interacting with the den.
-
wasRightClick
public boolean wasRightClick()- Returns:
- Whether this was a right click.
-
wasLeftClick
public boolean wasLeftClick()- Returns:
- Whether this was a left click.
-