public class TrackingSpawnerCoordinator extends SpawnerCoordinator
SpawnerCoordinator which creates and maintains a series of PlayerTrackingSpawners.PROCESSOR, spawners| Constructor and Description |
|---|
TrackingSpawnerCoordinator() |
| Modifier and Type | Method and Description |
|---|---|
TrackingSpawnerCoordinator |
activate()
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) |
deactivate, getActive, getSpawner, onTickpublic TrackingSpawnerCoordinator activate()
SpawnerCoordinatoractivate in class SpawnerCoordinatorpublic void onPlayerLogin(net.minecraftforge.event.entity.player.PlayerEvent.PlayerLoggedInEvent event)
public void onPlayerLogout(net.minecraftforge.event.entity.player.PlayerEvent.PlayerLoggedOutEvent event)