Class PassiveHealEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.PassiveHealEvent
Direct Known Subclasses:
PassiveHealEvent.Post, PassiveHealEvent.Pre

public class PassiveHealEvent extends net.minecraftforge.eventbus.api.Event
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Fired after passive healing has been applied to a Pokemon.
    static class 
    Fired when passive healing is doing random checks to see what it should heal.

    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
    The Pokemon which is being modified.
  • Constructor Summary

    Constructors
    Constructor
    Description
    PassiveHealEvent(net.minecraft.server.level.ServerPlayer player, Pokemon pokemon)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.server.level.ServerPlayer
     
     

    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

    • pokemon

      public Pokemon pokemon
      The Pokemon which is being modified.
  • Constructor Details

    • PassiveHealEvent

      public PassiveHealEvent(net.minecraft.server.level.ServerPlayer player, Pokemon pokemon)
  • Method Details

    • getPlayer

      public net.minecraft.server.level.ServerPlayer getPlayer()
    • getPokemon

      public Pokemon getPokemon()