Skip to content

Height

Dimension Type Condition Type

Compares the maximum height in which blocks can exist of the dimension to the specified value.

Type ID: eggolib:height

Fields

Field Type Default Description
comparison Comparison Determines how the maximum height in which blocks can exist of the dimension is compared to the specified value.
compare_to Integer The value which the maximum height in which blocks can exist of the dimension is compared to.

Examples

"dimension_type_condition": {
    "type": "eggolib:height",
    "comparison": "==",
    "compare_to": 384
}

This example will check if the maximum height of the dimension is 384. For instance, the Overworld dimension fulfills this condition.

"dimension_type_condition": {
    "type": "eggolib:height",
    "comparison": "<=",
    "compare_to": 256
}

This example will check if the maximum height of the dimension is equal to or less than 256. For instance, The Nether dimension fulfills this condition.