Skip to content

Monster Spawn Block Light Limit

Dimension Type Condition Type

Compares the maximum required block light for spawning mobs of the dimension to the specified value.

Type ID: eggolib:monster_spawn_block_light_limit

Fields

Field Type Default Description
comparison Comparison Determines how the maximum required block light for spawning mobs of the dimension is compared to the specified value.
compare_to Integer The value which the maximum required block light for spawning mobs of the dimension is compared to.

Examples

"dimension_type_condition": {
    "type": "eggolib:monster_spawn_block_light_limit",
    "comparison": "==",
    "compare_to": 0
}

This example will check if the maximum required block light for spawning mobs in the dimension is 0. For instance, the Overworld dimension fulfills this condition.