mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-27 00:38:46 +00:00
Make 'actions' and 'predicates' always a list
Seems simpler to understand and a list of one entry behaves exactly the same
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user