diff --git a/source/behavior/loot_tables/functions/enchant_book_for_trading.json b/source/behavior/loot_tables/functions/enchant_book_for_trading.json index a42acb11..c16a243c 100644 --- a/source/behavior/loot_tables/functions/enchant_book_for_trading.json +++ b/source/behavior/loot_tables/functions/enchant_book_for_trading.json @@ -1,6 +1,7 @@ { "$id": "blockception.minecraft.behavior.loot_tables.enchant_book_for_trading", "additionalProperties": false, + "type": "object", "description": "The function enchant_book_for_trading", "title": "Enchant Book For Trading", "required": ["function", "base_cost", "base_random_cost", "per_level_random_cost", "per_level_cost"], diff --git a/source/behavior/loot_tables/functions/enchant_random_gear.json b/source/behavior/loot_tables/functions/enchant_random_gear.json index 2a3717b2..63168b70 100644 --- a/source/behavior/loot_tables/functions/enchant_random_gear.json +++ b/source/behavior/loot_tables/functions/enchant_random_gear.json @@ -1,6 +1,7 @@ { "$id": "blockception.minecraft.behavior.loot_tables.enchant_random_gear", "additionalProperties": false, + "type": "object", "description": "The function enchant_random_gear", "title": "Enchant Random Gear", "properties": { diff --git a/source/behavior/loot_tables/functions/enchant_randomly.json b/source/behavior/loot_tables/functions/enchant_randomly.json index 7f402862..cd62ea3d 100644 --- a/source/behavior/loot_tables/functions/enchant_randomly.json +++ b/source/behavior/loot_tables/functions/enchant_randomly.json @@ -1,6 +1,7 @@ { "$id": "blockception.minecraft.behavior.loot_tables.enchant_randomly", "additionalProperties": false, + "type": "object", "description": "The function enchant_randomly", "title": "Enchant Randomly", "properties": { diff --git a/source/behavior/loot_tables/functions/exploration_map.json b/source/behavior/loot_tables/functions/exploration_map.json index 6bca1949..03207a3b 100644 --- a/source/behavior/loot_tables/functions/exploration_map.json +++ b/source/behavior/loot_tables/functions/exploration_map.json @@ -9,20 +9,7 @@ "destination": { "type": "string", "description": "The destination value defines what type of treasure map they receive.", - "enum": [ - "endcity", - "fortress", - "mineshaft", - "monument", - "ruins", - "stronghold", - "temple", - "village", - "mansion", - "shipwreck", - "buriedtreasure", - "pillageroutpost" - ], + "enum": ["endcity", "fortress", "mineshaft", "monument", "ruins", "stronghold", "temple", "village", "mansion", "shipwreck", "buriedtreasure", "pillageroutpost"], "title": "Destination" } } diff --git a/source/behavior/loot_tables/functions/fill_container.json b/source/behavior/loot_tables/functions/fill_container.json index 8c21f8d4..86c91316 100644 --- a/source/behavior/loot_tables/functions/fill_container.json +++ b/source/behavior/loot_tables/functions/fill_container.json @@ -1,6 +1,7 @@ { "$id": "blockception.minecraft.behavior.loot_tables.fill_container", "additionalProperties": false, + "type": "object", "description": "The function fill_container", "title": "Fill Container", "properties": { diff --git a/source/behavior/loot_tables/functions/furnace_smelt.json b/source/behavior/loot_tables/functions/furnace_smelt.json index 8ce40d10..f2014285 100644 --- a/source/behavior/loot_tables/functions/furnace_smelt.json +++ b/source/behavior/loot_tables/functions/furnace_smelt.json @@ -1,9 +1,9 @@ { "$id": "blockception.minecraft.behavior.loot_tables.furnace_smelt", "additionalProperties": false, + "type": "object", "description": "If the item to return has a smelted crafting recipe and the loot table is triggered by an entity killed with fire. the result will be the smelted version of the item", "title": "Furnace Smelt", - "type": "object", "properties": { "function": { "type": "string", "const": "furnace_smelt", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Function" }, "conditions": { diff --git a/source/behavior/loot_tables/functions/set_count.json b/source/behavior/loot_tables/functions/set_count.json index edef0503..c1a46707 100644 --- a/source/behavior/loot_tables/functions/set_count.json +++ b/source/behavior/loot_tables/functions/set_count.json @@ -1,6 +1,7 @@ { "$id": "blockception.minecraft.behavior.loot_tables.set_count", "additionalProperties": false, + "type": "object", "description": "The function set_count", "title": "Set Count", "properties": { @@ -13,10 +14,7 @@ }, "count": { "title": "Count", - "oneOf": [ - { "type": "integer" }, - { "type": "object", "properties": { "min": { "type": "integer", "title": "Minimum" }, "max": { "type": "integer", "title": "Maximum" } } } - ], + "oneOf": [{ "type": "integer" }, { "type": "object", "properties": { "min": { "type": "integer", "title": "Minimum" }, "max": { "type": "integer", "title": "Maximum" } } }], "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } diff --git a/source/behavior/loot_tables/functions/specific_enchants.json b/source/behavior/loot_tables/functions/specific_enchants.json index 3a5eb40b..0cceda9f 100644 --- a/source/behavior/loot_tables/functions/specific_enchants.json +++ b/source/behavior/loot_tables/functions/specific_enchants.json @@ -1,6 +1,7 @@ { "$id": "blockception.minecraft.behavior.loot_tables.specific_enchants", "additionalProperties": false, + "type": "object", "description": "The function specific_enchants", "title": "Specific Enchants", "definitions": { diff --git a/source/behavior/loot_tables/functions/trader_material_type.json b/source/behavior/loot_tables/functions/trader_material_type.json index f2669d9d..13a922bb 100644 --- a/source/behavior/loot_tables/functions/trader_material_type.json +++ b/source/behavior/loot_tables/functions/trader_material_type.json @@ -5,6 +5,6 @@ "title": "Trader Material Type", "type": "object", "properties": { - "function": { "type": "string", "const": "trader_material_type", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "function" } + "function": { "type": "string", "const": "trader_material_type", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Function" } } }