Skip to content

Coordinate Scale

Dimension Type Condition Type

Compares the value used for scaling the coordinates of an entity when entering/leaving the dimension to the specified value.

Type ID: eggolib:coordinate_scale

Fields

Field Type Default Description
comparison Comparison Determines how the coordinate scale property of the dimension is compared to the specified value.
compare_to Float The value which the coordinate scale property of the dimension is compared to.

Examples

"dimension_type_condition": {
    "type": "eggolib:coordinate_scale",
    "comparison": "==",
    "compare_to": 1
}

This example will check if the scaling coordinate value of the dimension is 1. For instance, the Overworld and The End dimensions will fulfill this condition.

"dimension_type_condition": {
    "type": "eggolib:coordinate_scale",
    "comparison": ">=",
    "compare_to": 8
}

This example will check if the scaling coordinate value of the dimension is 8. For instance, The Nether fulfills this condition.