Class DenEvent.Interact

java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.raids.DenEvent
com.pixelmonmod.pixelmon.api.events.raids.DenEvent.Interact
Enclosing class:
DenEvent

public static class DenEvent.Interact extends DenEvent
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.raids.DenEvent

    DenEvent.Collide, DenEvent.Interact

    Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event

    net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
  • Constructor Summary

    Constructors
    Constructor
    Description
    Interact(DenEntity den, net.minecraft.world.entity.player.Player player, boolean rightClick)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.entity.player.Player
     
    boolean
     
    boolean
     

    Methods inherited from class com.pixelmonmod.pixelmon.api.events.raids.DenEvent

    getDen

    Methods inherited from class net.minecraftforge.eventbus.api.Event

    getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Interact

      public Interact(DenEntity den, net.minecraft.world.entity.player.Player player, boolean rightClick)
  • 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.