Auto ‐ Custom Data - DerFrZocker/Custom-Ore-Generator GitHub Wiki
Auto Custom Data
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+:
Usage
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.
Example
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