Package me.hackware.api.event.impl
Class PlayerTotemPopEvent
java.lang.Object
me.hackware.api.event.Event
me.hackware.api.event.impl.PlayerTotemPopEvent
Fired when another player (not the local player) pops a Totem of Undying.
-
Constructor Summary
ConstructorsConstructorDescriptionPlayerTotemPopEvent(net.minecraft.world.entity.player.Player player, int popCount) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.entity.player.PlayerThe player who popped the totem.intHow many totems this player has popped this life (tracked locally).Methods inherited from class me.hackware.api.event.Event
cancel, isCancelled
-
Constructor Details
-
PlayerTotemPopEvent
public PlayerTotemPopEvent(net.minecraft.world.entity.player.Player player, int popCount)
-
-
Method Details
-
getPlayer
public net.minecraft.world.entity.player.Player getPlayer()The player who popped the totem. -
getPopCount
public int getPopCount()How many totems this player has popped this life (tracked locally).
-