CoolLord22 / OtherDrops1.13

OtherDrops branch for the latest Minecraft version!
GNU General Public License v3.0
0 stars 4 forks source link

Entity load/unload events #41

Closed CoolLord22 closed 7 months ago

CoolLord22 commented 7 months ago

Requested by @Blackarr

Is your feature request related to a problem? Please describe.

is there a possibility to get a OnUnload and OnLoad Trigger with entities in OD? so basicly all i want is a cooldown for entities that is restart steady. but this custom cooldown isnt ticking when the entity isn´t loading. so my idea was using otherdrops to fire a command every time a specific mob is unloaded to count the time between. and on the Load trigger i want to subtract the counted time from the cooldown

Describe the solution you'd like A trigger that listens for entities' load and unload event, should be able to issue commands, drop things, have location/biome/height restrictions, etc.

Describe alternatives you've considered N/A

Additional context https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/world/EntitiesUnloadEvent.html

CoolLord22 commented 7 months ago

Gonna go ahead and close this; discovered that the implementation w/ OtherDrops does not allow for this to be a feasible feature we can add.