Skip to main content

Module conduit

Module conduit 

Source
Expand description

Conduit block entity implementation.

Vanilla’s client-only effectBlocks list, tickCount and activeRotation are not kept; the server only needs the frame size from each scan.

StructsΒ§

ConduitBlockEntity
Conduit block entity.
ConduitState πŸ”’

ConstantsΒ§

AMBIENT_SOUND_INTERVAL πŸ”’
ATTACK_DAMAGE πŸ”’
BLOCK_REFRESH_RATE πŸ”’
EFFECT_DURATION πŸ”’
FRAME_OFFSETS πŸ”’
The frame positions around the conduit, in vanilla’s x, y, z scan order: outside the 3x3x3 water cage, on one of the three axis-aligned rings of radius 2.
KILL_RANGE πŸ”’
MIN_ACTIVE_SIZE πŸ”’
MIN_KILL_SIZE πŸ”’