public class TrackingSpawnerCoordinator extends SpawnerCoordinator
SpawnerCoordinator
which creates and maintains a series of PlayerTrackingSpawner
s.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, onTick
public TrackingSpawnerCoordinator activate()
SpawnerCoordinator
activate
in class SpawnerCoordinator
public void onPlayerLogin(net.minecraftforge.event.entity.player.PlayerEvent.PlayerLoggedInEvent event)
public void onPlayerLogout(net.minecraftforge.event.entity.player.PlayerEvent.PlayerLoggedOutEvent event)