Class CustomSpawnerHandler
java.lang.Object
de.marcely.bedwars.api.game.spawner.CustomSpawnerHandler
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
CustomSpawnerHandler
-
-
Method Details
-
handleDrop
Gets called whenever the spawner drops something.Being invoked after it has been passed to Bukkit's event pipeline.
- Parameters:
spawner
- The spawner that's being spawneddropLocation
- The location at which it shall drop the item. Can differ to the one configured inside the spawner
-
getId
The id of this custom spawner- Returns:
- The identifier
-
getPlugin
The plugin that created this handler- Returns:
- The plugin whose ClassLoader is equal to the one of this class
-