Class HealerEvent.Pre

java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.HealerEvent
com.pixelmonmod.pixelmon.api.events.HealerEvent.Pre
All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
Enclosing class:
HealerEvent

public static class HealerEvent.Pre extends HealerEvent implements net.neoforged.bus.api.ICancellableEvent
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
  • 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 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

    • pos

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

      public final boolean fromNpc
  • Constructor Details

    • Pre

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