Skip to content
mouse114514 edited this page Sep 12, 2026 · 5 revisions

Block Reference

中文版 | Back to Home

CuBlocky provides 80+ blocks organized into 14 categories. Click a category name for detailed documentation.


Block Categories

Icon Category Count Description
Event Events 12 Game event hooks (hat blocks): when mod awakes, on update, when hurt, when die, etc.
Register Registers 5 Item/recipe/building/tile/locale registration
Body Body 13 Player state: eat, drink, sleep, talk, set pain/stress/heart rate/immunity, etc.
Item Items 7 Item actions: use, consume, set condition/weight/value/decay/rotation
Sound Sounds 2 Play sound effects
World Worlds 4 Set/destroy tiles, spawn items, give items to player
Building Buildings 2 Register buildings with health, placement, properties
Tile Tiles 2 Register tiles with health, collider, generation style
Flow Flows 5 if/else, repeat, while, for loop
Value Values 21 Numbers, strings, math operations, random, clamp, string ops
Boolean Booleans 8 true/false, comparisons, logical AND/OR/NOT
Variable Variables 2 Set/change variables

Block Naming Conventions

Prefix Type Example
cu_when_* Event blocks cu_when_awake
cu_register_* Register blocks cu_register_item
cu_set_* Setter blocks cu_set_happiness
cu_item_* Item blocks cu_item_use
cu_play_* Sound blocks cu_play_sound
cu_world_* World blocks cu_world_set_tile
cu_math_* Math blocks cu_math_op
cu_var_* Variable blocks cu_var_set
cu_list_* List blocks cu_list_get

Clone this wiki locally