diff --git a/aris_random_additions.mcreator b/aris_random_additions.mcreator index 1d16688..7848e61 100644 --- a/aris_random_additions.mcreator +++ b/aris_random_additions.mcreator @@ -7860,7 +7860,7 @@ "workspaceSettings": { "modid": "aris_random_additions", "modName": "Ari\u0027s Random Additions", - "version": "2.3.2", + "version": "2.3.3", "description": "Random Additions by Ari. Created with MCreator.", "author": "nimsolated, MCreator", "websiteURL": "https://mcreator.net", diff --git a/elements/DarkOakTreeLeavesLootTable.mod.json b/elements/DarkOakTreeLeavesLootTable.mod.json index dada5d5..49e44d2 100644 --- a/elements/DarkOakTreeLeavesLootTable.mod.json +++ b/elements/DarkOakTreeLeavesLootTable.mod.json @@ -16,7 +16,21 @@ "item": { "value": "Items.STICK" }, - "weight": 2, + "weight": 4, + "minCount": 1, + "maxCount": 1, + "minEnchantmentLevel": 0, + "maxEnchantmentLevel": 0, + "affectedByFortune": true, + "explosionDecay": false, + "silkTouchMode": 2 + }, + { + "type": "item", + "item": { + "value": "Blocks.SAPLING#5" + }, + "weight": 6, "minCount": 1, "maxCount": 1, "minEnchantmentLevel": 0, diff --git a/elements/OakTreeLeavesLootTable.mod.json b/elements/OakTreeLeavesLootTable.mod.json index 758a4c2..c2ebe35 100644 --- a/elements/OakTreeLeavesLootTable.mod.json +++ b/elements/OakTreeLeavesLootTable.mod.json @@ -16,7 +16,21 @@ "item": { "value": "Items.STICK" }, - "weight": 2, + "weight": 4, + "minCount": 1, + "maxCount": 1, + "minEnchantmentLevel": 0, + "maxEnchantmentLevel": 0, + "affectedByFortune": true, + "explosionDecay": false, + "silkTouchMode": 2 + }, + { + "type": "item", + "item": { + "value": "Blocks.SAPLING#0" + }, + "weight": 6, "minCount": 1, "maxCount": 1, "minEnchantmentLevel": 0, diff --git a/src/main/resources/META-INF/mods.toml b/src/main/resources/META-INF/mods.toml index dd0707a..8b02ff5 100644 --- a/src/main/resources/META-INF/mods.toml +++ b/src/main/resources/META-INF/mods.toml @@ -4,7 +4,7 @@ license="MIT License" [[mods]] modId="aris_random_additions" -version="2.3.2" +version="2.3.3" displayName="Ari's Random Additions" displayURL="https://mcreator.net" logoFile="logo.png" diff --git a/src/main/resources/data/minecraft/loot_tables/blocks/dark_oak_leaves.json b/src/main/resources/data/minecraft/loot_tables/blocks/dark_oak_leaves.json index 7d5a08b..a608238 100644 --- a/src/main/resources/data/minecraft/loot_tables/blocks/dark_oak_leaves.json +++ b/src/main/resources/data/minecraft/loot_tables/blocks/dark_oak_leaves.json @@ -7,7 +7,44 @@ { "type": "minecraft:item", "name": "minecraft:stick", - "weight": 2, + "weight": 4, + "conditions": [ + { + "condition": "minecraft:inverted", + "term": { + "condition": "minecraft:match_tool", + "predicate": { + "enchantments": [ + { + "enchantment": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + } + ], + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 1 + } + }, + { + "function": "minecraft:apply_bonus", + "enchantment": "minecraft:fortune", + "formula": "minecraft:ore_drops" + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:dark_oak_sapling", + "weight": 6, "conditions": [ { "condition": "minecraft:inverted", diff --git a/src/main/resources/data/minecraft/loot_tables/blocks/oak_leaves.json b/src/main/resources/data/minecraft/loot_tables/blocks/oak_leaves.json index dee0951..3f84d15 100644 --- a/src/main/resources/data/minecraft/loot_tables/blocks/oak_leaves.json +++ b/src/main/resources/data/minecraft/loot_tables/blocks/oak_leaves.json @@ -7,7 +7,44 @@ { "type": "minecraft:item", "name": "minecraft:stick", - "weight": 2, + "weight": 4, + "conditions": [ + { + "condition": "minecraft:inverted", + "term": { + "condition": "minecraft:match_tool", + "predicate": { + "enchantments": [ + { + "enchantment": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + } + ], + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 1 + } + }, + { + "function": "minecraft:apply_bonus", + "enchantment": "minecraft:fortune", + "formula": "minecraft:ore_drops" + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:oak_sapling", + "weight": 6, "conditions": [ { "condition": "minecraft:inverted",