-
Notifications
You must be signed in to change notification settings - Fork 10
EntityItemFallEvent
youyihj edited this page Dec 11, 2023
·
1 revision
@since 1.13.8
This event is fired when an entity item falls down.
This event is not cancelled.
mods.zenutils.event.EntityItemFallEvent
EntityItemFall 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.onEntityItemFall(function(event as EntityItemFallEvent) {...} );
The following information can be retrieved/set during the event:
ZenGetter | Return Type | Description |
---|---|---|
item |
IEntityItem | The entity item |
distance |
float | the distance to the entity item fall down |
blockStates |
List<IBlockState> | Blocks that the entity item collided |
- 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