Class HealerEvent.Post

java.lang.Object
net.neoforged.bus.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.
  • 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.