From c84132520a624d28f9aa2f75aa91757196066757 Mon Sep 17 00:00:00 2001 From: Xterionix <72647213+Xterionix@users.noreply.github.com> Date: Tue, 2 Apr 2024 17:34:09 +0500 Subject: [PATCH] Update brightness filter (#271) * - Update brightness filter * Update source/behavior/spawn_rules/components/brightness_filter.json Co-authored-by: Daan Verstraten * Update source/behavior/spawn_rules/components/brightness_filter.json Co-authored-by: Daan Verstraten * - Fix json issue --------- Co-authored-by: Daan Verstraten --- .../spawn_rules/components/brightness_filter.json | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/source/behavior/spawn_rules/components/brightness_filter.json b/source/behavior/spawn_rules/components/brightness_filter.json index 727445d2..469f0493 100644 --- a/source/behavior/spawn_rules/components/brightness_filter.json +++ b/source/behavior/spawn_rules/components/brightness_filter.json @@ -8,12 +8,18 @@ "min": { "type": "integer", "description": "This is the minimum light level value that allows the mob to spawn.", - "title": "Min" + "title": "Min", + "minimum": 0, + "maximum": 15, + "default": 0 }, "max": { "type": "integer", "description": "This is the maximum light level value that allows the mob to spawn.", - "title": "Max" + "title": "Max", + "maximum": 15, + "minimum": 0, + "default": 15 }, "adjust_for_weather": { "type": "boolean",