Tick Block ‐ Custom Data - DerFrZocker/Custom-Ore-Generator GitHub Wiki

Tick Block Custom Data

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.

Usage

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.

Example

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