-
Notifications
You must be signed in to change notification settings - Fork 10
EntityRemoveEvent
youyihj edited this page Dec 11, 2023
·
1 revision
@since 1.12.2
EntityRemoveEvent is fired when an Entity destroyed or unloaded.
This event is not cancelled.
mods.zenutils.event.EntityRemoveEvent
EntityRemove Event implements the following interfaces and are able to call all of their methods/getters/setters as well:
This code calls an event handler of EntityRemove event.
events.onEntityRemove(function(event as EntityRemoveEvent) {...} );
The following information can be retrieved/set during the event:
ZenGetter | Return Type |
---|---|
world |
IWorld |
- GlobalFunctions
- ScriptReloading
- SuppressErrorPreprocessor
- HardFailPreprocessor
- OrderlyMap
- IData Deep Update
- Template String
- Native Method Access
- Mixin
- CrTI18n
- CrTUUID
- CrTItemHandler
- CrTLiquidHandler
- ILiquidTankProperties
- StringList
- HexHelper
- StaticString
- Catenation
- PersistedCatenation
- PlayerStat
- IStatFormatter
- GameRuleHelper
- ZenCommand
- ZenCommandTree
- ZenUtilsCommandSender
- IGetCommandUsage
- ICommandExecute
- IGetTabCompletion
- CommandUtils