Skip to main content

Module brushable

Module brushable 

Source
Expand description

Brushable block entity for archaeology brush progress and delayed loot.

Structsยง

BrushOutcome
Result of one brush attempt, including deferred world work for the caller.
BrushableBlockEntity
Stores vanilla archaeology brush progress and delayed loot for brushable blocks.
BrushableState ๐Ÿ”’
BrushableWorldMutation
LevelChunk::set_block_state re-locks the same block entity to update its cached state, so callers must not hold that mutex while applying these.

Constantsยง

BRUSH_COMPLETED_LEVEL_EVENT ๐Ÿ”’
BRUSH_COOLDOWN_TICKS ๐Ÿ”’
BRUSH_RESET_TICKS ๐Ÿ”’
REQUIRED_BRUSHES ๐Ÿ”’
RESET_BRUSH_COUNT_TICKS ๐Ÿ”’