diff --git a/locales/en.json b/locales/en.json index 90c179ec..77f315dc 100644 --- a/locales/en.json +++ b/locales/en.json @@ -332,6 +332,7 @@ "function.properties": "Properties", "function.replace": "Replace", "function.searchRadius": "Search Radius (Chunks)", + "function.seed": "Seed", "function.skipExistingChunks": "Skip Existing Chunks", "function.source": "Source", "function.treasure": "Treasure", @@ -354,6 +355,7 @@ "function.type.set_damage": "Set Damage", "function.type.set_data": "Set Data", "function.type.set_lore": "Set Lore", + "function.type.set_loot_table": "Set Loot Table", "function.type.set_name": "Set Name", "function.type.set_nbt": "Set NBT", "function.type.set_stew_effect": "Set Stew Effect", diff --git a/schemas/1.16.json b/schemas/1.16.json index 4c22c018..fad5190b 100644 --- a/schemas/1.16.json +++ b/schemas/1.16.json @@ -334,6 +334,7 @@ "minecraft:set_nbt", "minecraft:set_attributes", "minecraft:set_contents", + "minecraft:set_loot_table", "minecraft:enchant_randomly", "minecraft:enchant_with_levels", "minecraft:looting_enchant", @@ -627,6 +628,23 @@ "minecraft:set_contents" ] }, + { + "id": "name", + "type": "string", + "translate": "function.name", + "resource": true, + "require": [ + "minecraft:set_loot_table" + ] + }, + { + "id": "seed", + "type": "int", + "translate": "function.seed", + "require": [ + "minecraft:set_loot_table" + ] + }, { "id": "conditions", "type": "array",