Class HealTeamEvent
java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.HealTeamEvent
- All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
public class HealTeamEvent
extends net.neoforged.bus.api.Event
implements net.neoforged.bus.api.ICancellableEvent
Fires when a player's party is about to be healed.
Cancelable.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.server.level.ServerPlayer
Gets the player based offplayerUUID
.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
-
playerUUID
-
-
Constructor Details
-
HealTeamEvent
-
-
Method Details
-
getPlayerUUID
-
getPlayer
@Nullable public net.minecraft.server.level.ServerPlayer getPlayer()Gets the player based offplayerUUID
. Could be null in some cases where the player is offline.
-