Skip to main content

Module vehicle_entity

Module vehicle_entity 

Source
Expand description

Shared vanilla VehicleEntity damage handling.

Constantsยง

VEHICLE_DAMAGE_MULTIPLIER ๐Ÿ”’
VEHICLE_DESTROY_DAMAGE_THRESHOLD ๐Ÿ”’
VEHICLE_DIMENSION_CHANGING_DELAY ๐Ÿ”’
Vanilla VehicleEntity.getDimensionChangingDelay.
VEHICLE_HURT_DURATION_TICKS ๐Ÿ”’

Traitsยง

VehicleEntity
Implemented by vehicle entities (minecarts, boats) for vanilla VehicleEntity damage handling.

Functionsยง

vehicle_ignores_explosion ๐Ÿ”’
Vanilla VehicleEntity.ignoreExplosion: mob explosions leave vehicles intact while mobGriefing is off.