Skip to main content

Module block_attached_entity

Module block_attached_entity 

Source
Expand description

Shared Vanilla BlockAttachedEntity state and hooks.

These entities store an additional counter, incrementing each tick, checking whether it can survive when it reaches the maximum value. They are also bound to a position, and cannot move.

Structs§

BlockAttachedEntityBase
Runtime fields shared by Vanilla’s block-attached entities (those inheriting BlockAttachedEntity in Vanilla).
BlockAttachedEntityState 🔒

Constants§

CHECK_SURVIVAL_FREQUENCY_TICKS
The time interval between two consecutive survival checks for block-attached entities.
VALID_READ_DISTANCE_SQR

Traits§

BlockAttachedEntity