-
-
Notifications
You must be signed in to change notification settings - Fork 8
Tick Block ‐ Custom Data
Hydr4 edited this page Jul 24, 2025
·
1 revision
The TICK_BLOCK custom data is used to control whether a generated block should receive a block tick. This is relevant for blocks that have scheduled updates, such as crops, redstone components, or liquids.
-
Name:
TICK_BLOCK - Type: Boolean
- Applicable Materials: Any block that can receive block ticks.
To set the TICK_BLOCK custom data, you provide a boolean value (true or false).
-
true: The block will be scheduled for a block tick. -
false: The block will not be scheduled for a block tick.
To make a generated redstone lamp immediately update its state:
/oregen set customdata my_redstone_lamp TICK_BLOCK true
To prevent a generated crop from growing naturally:
/oregen set customdata my_static_crop TICK_BLOCK false