From 0f2e5ec75819c40c89448cbdd599b7eb539b624a Mon Sep 17 00:00:00 2001 From: Xterionix <72647213+Xterionix@users.noreply.github.com> Date: Wed, 17 Jul 2024 23:22:28 +0500 Subject: [PATCH] - Add support for extent and distribution --- .../format/minecraft.feature_rules.json | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/source/behavior/feature_rules/format/minecraft.feature_rules.json b/source/behavior/feature_rules/format/minecraft.feature_rules.json index 033a1108..973cc88a 100644 --- a/source/behavior/feature_rules/format/minecraft.feature_rules.json +++ b/source/behavior/feature_rules/format/minecraft.feature_rules.json @@ -34,6 +34,28 @@ "minimum": 1 } } + }, + { + "type": "object", + "additionalProperties": false, + "properties": { + "distribution": { + "title": "Distribution", + "description": "Distribution type", + "type": "string", + "enum": ["uniform", "fixed_grid", "jittered_grid", "gaussian", "inverse_gaussian", "triangle"] + }, + "extent": { + "title": "Extent", + "description": "Represents the range of values on which that distribution operates, from minimum to maximum.", + "type": "array", + "minItems": 2, + "maxItems": 2, + "items": { + "type": "number" + } + } + } } ] }