Skip to content

Logical Height

Dimension Type Condition Type

Compares the maximum logical height (for Nether portals and Chorus Fruits) of the dimension to the specified value.

Type ID: eggolib:logical_height

Fields

Field Type Default Description
comparison Comparison Determines how the maximum logical height of the dimension is compared to the value.
compare_to Integer The value which the maximum logical height of the dimension is compared to.

Examples

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

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

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

This example will check if the maximum logical height of the dimension is 384 or less. For instance, The Nether dimension fulfills this condition.