-
-
Notifications
You must be signed in to change notification settings - Fork 8
Auto ‐ Custom Data
Hydr4 edited this page Jul 24, 2025
·
1 revision
The AUTO custom data is used to control whether a command block (or similar block) is automatically activated when placed. This is primarily applicable to command blocks generated by the plugin.
-
Name:
AUTO - Type: Boolean
-
Applicable Materials:
-
Minecraft 1.13+:
COMMAND_BLOCK,CHAIN_COMMAND_BLOCK,REPEATING_COMMAND_BLOCK -
Minecraft 1.9+:
COMMAND,COMMAND_REPEATING,COMMAND_CHAIN
-
Minecraft 1.13+:
To set the AUTO custom data, you provide a boolean value (true or false).
-
true: The command block will be set to auto-activate. -
false: The command block will not be set to auto-activate.
To set a generated command block to auto-activate:
/oregen set customdata my_command_ore AUTO true
To prevent a generated command block from auto-activating:
/oregen set customdata my_command_ore AUTO false