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
Modifier and TypeClassDescriptionstatic 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
-
Constructor Summary
ConstructorDescriptionPassiveHealEvent
(net.minecraft.server.level.ServerPlayer player, Pokemon pokemon) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.server.level.ServerPlayer
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Field Details
-
pokemon
ThePokemon
which is being modified.
-
-
Constructor Details
-
PassiveHealEvent
-
-
Method Details
-
getPlayer
public net.minecraft.server.level.ServerPlayer getPlayer() -
getPokemon
-