Class EntityEvents

java.lang.Object
dev.selena.luacore.utils.entities.EntityEvents
All Implemented Interfaces:
org.bukkit.event.Listener

public class EntityEvents extends Object implements org.bukkit.event.Listener
Used by LuaCore to call LuaEntityDeathEvent
  • 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

      public void luaEntityDeathListen(LuaEntityDeathEvent event)
      Listens to LuaEntityDeathEvent will be called last, so if you wish to change the drop amount you can
      Parameters:
      event - The LuaEntityDeathEvent