Class TrackingSpawnerCoordinator
java.lang.Object
com.pixelmonmod.pixelmon.api.spawning.SpawnerCoordinator
com.pixelmonmod.pixelmon.spawning.TrackingSpawnerCoordinator
The top class of Pixelmon's implementation of the Better Spawner. This is the
SpawnerCoordinator
which creates and maintains a series of PlayerTrackingSpawner
s.-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.api.spawning.SpawnerCoordinator
PROCESSOR, spawners
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionactivate()
Boots the coordinator, which without overriding involves scheduling the processor and registering on the Forge bus.void
onPlayerLogin
(net.minecraftforge.event.entity.player.PlayerEvent.PlayerLoggedInEvent event) void
onPlayerLogout
(net.minecraftforge.event.entity.player.PlayerEvent.PlayerLoggedOutEvent event) Methods inherited from class com.pixelmonmod.pixelmon.api.spawning.SpawnerCoordinator
deactivate, getActive, getSpawner, onTick
-
Constructor Details
-
TrackingSpawnerCoordinator
public TrackingSpawnerCoordinator()
-
-
Method Details
-
activate
Description copied from class:SpawnerCoordinator
Boots the coordinator, which without overriding involves scheduling the processor and registering on the Forge bus.- Overrides:
activate
in classSpawnerCoordinator
-
onPlayerLogin
public void onPlayerLogin(net.minecraftforge.event.entity.player.PlayerEvent.PlayerLoggedInEvent event) -
onPlayerLogout
public void onPlayerLogout(net.minecraftforge.event.entity.player.PlayerEvent.PlayerLoggedOutEvent event)
-