Class PreSpawnerSpawnEvent

All Implemented Interfaces:

public class PreSpawnerSpawnEvent extends PreCreatureSpawnEvent
Called before an entity is spawned into a world by a spawner. This only includes the spawner's location and not the full BlockState snapshot for performance reasons. If you really need it you have to get the spawner yourself.