From bb683ee380f52704e02ab579d97cf0a3126b088d Mon Sep 17 00:00:00 2001 From: OffsetMonkey538 <71213040+OffsetMonkey538@users.noreply.github.com> Date: Tue, 17 Jun 2025 11:56:52 +0300 Subject: [PATCH] Make 'actions' and 'predicates' always a list Seems simpler to understand and a list of one entry behaves exactly the same --- public/mcdoc/loot-table-modifier.mcdoc | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/public/mcdoc/loot-table-modifier.mcdoc b/public/mcdoc/loot-table-modifier.mcdoc index 51181cdd..12ed2d0f 100644 --- a/public/mcdoc/loot-table-modifier.mcdoc +++ b/public/mcdoc/loot-table-modifier.mcdoc @@ -2,14 +2,8 @@ use ::java::data::loot::LootPool use ::java::data::loot::LootContextType dispatch minecraft:resource[loot-table-modifier:loot_modifier] to struct { - actions: ( - Action | - [Action] - ), - predicates: ( - Predicate | - [Predicate] - ), + actions: [Action], + predicates: [Predicate], } struct Action {