Class HealerEvent.Post

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

public static class HealerEvent.Post extends HealerEvent
Fires on the server but is sent by the client once the healer finishes to heal the party. Since it's sent by the client, it cannot be trusted in any kind of environment.
  • 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 String
     

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

    player
  • Constructor Summary

    Constructors
    Constructor
    Description
    Post(net.minecraft.world.entity.player.Player player, String npcName)
     
  • 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

    • npcName

      public final String npcName
  • Constructor Details

    • Post

      public Post(net.minecraft.world.entity.player.Player player, String npcName)
      Parameters:
      npcName - The name of the npc. It is sent by the client so it could be wrong.