Class HealerEvent.Pre

java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.HealerEvent
com.pixelmonmod.pixelmon.api.events.HealerEvent.Pre
Enclosing class:
HealerEvent

public static class HealerEvent.Pre extends HealerEvent
Fires on the server before the healer starts the process, can be cancelled.
  • Nested Class Summary

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

    HealerEvent.Post, HealerEvent.Pre

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

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

    Fields
    Modifier and Type
    Field
    Description
    final boolean
     
    final net.minecraft.core.BlockPos
     

    Fields inherited from class com.pixelmonmod.pixelmon.api.events.HealerEvent

    player
  • Constructor Summary

    Constructors
    Constructor
    Description
    Pre(net.minecraft.world.entity.player.Player player, net.minecraft.core.BlockPos pos, boolean fromNpc)
     
  • Method Summary

    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
  • Field Details

    • pos

      public final net.minecraft.core.BlockPos pos
    • fromNpc

      public final boolean fromNpc
  • Constructor Details

    • Pre

      public Pre(net.minecraft.world.entity.player.Player player, net.minecraft.core.BlockPos pos, boolean fromNpc)