Class EntityEvents
java.lang.Object
dev.selena.luacore.utils.entities.EntityEvents
- All Implemented Interfaces:
org.bukkit.event.Listener
Used by LuaCore to call
LuaEntityDeathEvent
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
luaEntityDeathCall
(org.bukkit.event.entity.EntityDeathEvent event) Used for calling the LuaEntityDeathEvent.void
Listens to LuaEntityDeathEvent will be called last, so if you wish to change the drop amount you can
-
Constructor Details
-
EntityEvents
public EntityEvents()
-
-
Method Details
-
luaEntityDeathCall
public void luaEntityDeathCall(org.bukkit.event.entity.EntityDeathEvent event) Used for calling the LuaEntityDeathEvent. This will only clear the drops if you have custom drops -
luaEntityDeathListen
Listens to LuaEntityDeathEvent will be called last, so if you wish to change the drop amount you can- Parameters:
event
- The LuaEntityDeathEvent
-