Count Range ‐ Block Selector - DerFrZocker/Custom-Ore-Generator GitHub Wiki
Count Range Block Selector
The COUNT_RANGE
block selector is used to determine the valid Y-level range and the number of generation attempts per chunk for an ore. It works by selecting random blocks within a specified height range.
Settings
This block selector utilizes the following settings, configurable via the /oregen set value
command:
HEIGHT_RANGE
: The total range of Y-levels (fromMINIMUM_HEIGHT
upwards) within which the ore can generate. (Type: Double)MINIMUM_HEIGHT
: The lowest Y-level at which the ore can generate. (Type: Double)VEINS_PER_CHUNK
: The number of times the generator will attempt to place an ore vein or single block within each chunk. (Type: Double)
Example Usage
To set the MINIMUM_HEIGHT
for an ore configuration named my_ore
:
/oregen set value my_ore MINIMUM_HEIGHT 10
To set the HEIGHT_RANGE
:
/oregen set value my_ore HEIGHT_RANGE 50
To set the VEINS_PER_CHUNK
:
/oregen set value my_ore VEINS_PER_CHUNK 5