public class PixelmonPlayerTracker
extends java.lang.Object
Constructor and Description |
---|
PixelmonPlayerTracker() |
Modifier and Type | Method and Description |
---|---|
static void |
onPlayerDeath(net.minecraftforge.event.entity.living.LivingDeathEvent event)
Listens for player death to remove the player from certain tracking processes.
|
static void |
onPlayerLogin(net.minecraftforge.event.entity.player.PlayerEvent.PlayerLoggedInEvent event)
Registers client-side settings when the player logs in.
|
static void |
onPlayerLogout(net.minecraftforge.event.entity.player.PlayerEvent.PlayerLoggedOutEvent event) |
static void |
removePlayer(net.minecraft.entity.player.ServerPlayerEntity player)
Removes a player from processes that track all players.
|
public static void onPlayerLogin(net.minecraftforge.event.entity.player.PlayerEvent.PlayerLoggedInEvent event)
event
- The login event that triggered this method.public static void onPlayerLogout(net.minecraftforge.event.entity.player.PlayerEvent.PlayerLoggedOutEvent event)
public static void onPlayerDeath(net.minecraftforge.event.entity.living.LivingDeathEvent event)
event
- The death event that triggered this method.public static void removePlayer(net.minecraft.entity.player.ServerPlayerEntity player)
player
- The player to remove.