-
Notifications
You must be signed in to change notification settings - Fork 0
cu_building_set_property en
mouse114514 edited this page Sep 12, 2026
·
1 revision

Modifies a property of a registered building (health, name, spawn parameters, etc.). Run it after register building.
| Slot | Type | Description |
|---|---|---|
| ID | String slot (text field) | target building ID (default myBuilding) |
| PROP | Dropdown slot | the property to change (see below) |
| VALUE | Combined slot | the new value (numbers for numeric stats, strings for name/description, booleans for requireGround/metallic/animal) |
| Connection | Type | Description |
|---|---|---|
| Top | Statement | connects after a previous statement |
| Bottom | Statement | continues to the next statement |
| Option | Value | Meaning |
|---|---|---|
| Health | health |
building health |
| Name | name |
display name |
| Description | description |
description |
| Require ground | requireGround |
whether it must be placed on the ground |
| Metallic | metallic |
whether the material is metallic |
| Animal | animal |
whether animals can live in it |
| Drop chance multiplier | dropChanceMultiplier |
drop probability multiplier |
| Spawn min per chunk | spawnMinPerChunk |
minimum spawns per chunk |
| Spawn max per chunk | spawnMaxPerChunk |
maximum spawns per chunk |
Emits BuildingEntityRegistry.GetDefinition("<ID>").<prop> = <value>;.
Block ID: cu_building_set_property