Package dev.satyrn.archersofdecay.event
Class ArchersOfDecayEvents
java.lang.Object
dev.satyrn.archersofdecay.event.ArchersOfDecayEvents
- All Implemented Interfaces:
org.bukkit.event.Listener
Handles entity spawn events for the plugin.
- Since:
- 0.0.0-SNAPSHOT
- Author:
- Isabel Maskrey
-
Constructor Summary
ConstructorsConstructorDescriptionArchersOfDecayEvents
(@NotNull org.bukkit.plugin.Plugin plugin, @NotNull Configuration configuration) Initializes a new spawn entity listener. -
Method Summary
Modifier and TypeMethodDescriptionvoid
onSpawnSkeleton
(@NotNull org.bukkit.event.entity.CreatureSpawnEvent event) Handles skeleton spawning in the nether.void
onWitherSkeletonDamaged
(@NotNull org.bukkit.event.entity.EntityDamageByEntityEvent event) Handles the entity damaged by entity event.void
onWitherSkeletonShootArrow
(@NotNull org.bukkit.event.entity.ProjectileLaunchEvent event) Handles wither skeletons shooting arrows.
-
Constructor Details
-
ArchersOfDecayEvents
public ArchersOfDecayEvents(@NotNull @NotNull org.bukkit.plugin.Plugin plugin, @NotNull @NotNull Configuration configuration) Initializes a new spawn entity listener.- Parameters:
plugin
- The plugin.configuration
- The configuration.- Since:
- 0.0.0-SNAPSHOT
-
-
Method Details
-
onSpawnSkeleton
public void onSpawnSkeleton(@NotNull @NotNull org.bukkit.event.entity.CreatureSpawnEvent event) Handles skeleton spawning in the nether.- Parameters:
event
- The event.- Since:
- 0.0.0-SNAPSHOT
-
onWitherSkeletonShootArrow
public void onWitherSkeletonShootArrow(@NotNull @NotNull org.bukkit.event.entity.ProjectileLaunchEvent event) Handles wither skeletons shooting arrows.- Parameters:
event
- The event.
-
onWitherSkeletonDamaged
public void onWitherSkeletonDamaged(@NotNull @NotNull org.bukkit.event.entity.EntityDamageByEntityEvent event) Handles the entity damaged by entity event.- Parameters:
event
- The event name.- Since:
- 1.0.1
-