From 885a6f0b4dba91eafe9c4fc486db4d884fbb9080 Mon Sep 17 00:00:00 2001 From: nimsolated Date: Sat, 28 Mar 2026 23:04:13 -0700 Subject: [PATCH] 2.3.2 --- aris_random_additions.mcreator | 34 ++++++++++++++++--- elements/Ari.mod.json | 2 +- elements/OrichalcumDeepslateOre.mod.json | 2 +- .../OrichalcumDeepslateOreLootTable.mod.json | 34 +++++++++++++++++++ elements/OrichalcumOre.mod.json | 2 +- elements/OrichalcumOreLootTable.mod.json | 34 +++++++++++++++++++ .../arisrandomadditions/entity/AriEntity.java | 2 +- src/main/resources/META-INF/mods.toml | 2 +- .../blocks/orichalcum_deepslate_ore.json | 28 ++++++++++----- .../loot_tables/blocks/orichalcum_ore.json | 28 ++++++++++----- 10 files changed, 140 insertions(+), 28 deletions(-) create mode 100644 elements/OrichalcumDeepslateOreLootTable.mod.json create mode 100644 elements/OrichalcumOreLootTable.mod.json diff --git a/aris_random_additions.mcreator b/aris_random_additions.mcreator index 0c5d547..1d16688 100644 --- a/aris_random_additions.mcreator +++ b/aris_random_additions.mcreator @@ -2585,8 +2585,7 @@ "src/main/resources/assets/aris_random_additions/blockstates/orichalcum_ore.json", "src/main/resources/assets/aris_random_additions/models/block/orichalcum_ore.json", "src/main/resources/data/aris_random_additions/forge/biome_modifier/orichalcum_ore_biome_modifier.json", - "src/main/resources/data/aris_random_additions/worldgen/placed_feature/orichalcum_ore.json", - "src/main/resources/data/aris_random_additions/loot_tables/blocks/orichalcum_ore.json" + "src/main/resources/data/aris_random_additions/worldgen/placed_feature/orichalcum_ore.json" ] }, "path": "~/Orichalcum" @@ -4800,8 +4799,7 @@ "src/main/resources/assets/aris_random_additions/blockstates/orichalcum_deepslate_ore.json", "src/main/resources/assets/aris_random_additions/models/item/orichalcum_deepslate_ore.json", "src/main/resources/assets/aris_random_additions/models/block/orichalcum_deepslate_ore.json", - "src/main/resources/data/aris_random_additions/worldgen/placed_feature/orichalcum_deepslate_ore.json", - "src/main/resources/data/aris_random_additions/loot_tables/blocks/orichalcum_deepslate_ore.json" + "src/main/resources/data/aris_random_additions/worldgen/placed_feature/orichalcum_deepslate_ore.json" ] }, "path": "~/Orichalcum" @@ -7209,6 +7207,32 @@ ] }, "path": "~/Cans" + }, + { + "name": "OrichalcumOreLootTable", + "type": "loottable", + "compiles": true, + "locked_code": false, + "registry_name": "orichalcum_ore_loot_table", + "metadata": { + "files": [ + "src/main/resources/data/aris_random_additions/loot_tables/blocks/orichalcum_ore.json" + ] + }, + "path": "~/LootTables" + }, + { + "name": "OrichalcumDeepslateOreLootTable", + "type": "loottable", + "compiles": true, + "locked_code": false, + "registry_name": "orichalcum_deepslate_ore_loot_table", + "metadata": { + "files": [ + "src/main/resources/data/aris_random_additions/loot_tables/blocks/orichalcum_deepslate_ore.json" + ] + }, + "path": "~/LootTables" } ], "variable_elements": [], @@ -7836,7 +7860,7 @@ "workspaceSettings": { "modid": "aris_random_additions", "modName": "Ari\u0027s Random Additions", - "version": "2.3.1", + "version": "2.3.2", "description": "Random Additions by Ari. Created with MCreator.", "author": "nimsolated, MCreator", "websiteURL": "https://mcreator.net", diff --git a/elements/Ari.mod.json b/elements/Ari.mod.json index c092687..11b2504 100644 --- a/elements/Ari.mod.json +++ b/elements/Ari.mod.json @@ -73,7 +73,7 @@ "trackingRange": 64, "followRange": 16, "health": 20, - "xpAmount": 0, + "xpAmount": 9, "waterMob": false, "breatheUnderwater": { "fixedValue": false diff --git a/elements/OrichalcumDeepslateOre.mod.json b/elements/OrichalcumDeepslateOre.mod.json index 8d5bc2f..5be74d5 100644 --- a/elements/OrichalcumDeepslateOre.mod.json +++ b/elements/OrichalcumDeepslateOre.mod.json @@ -52,7 +52,7 @@ "value": "CUSTOM:Orichalcum" }, "dropAmount": 1, - "useLootTableForDrops": false, + "useLootTableForDrops": true, "requiresCorrectTool": true, "enchantPowerBonus": 0.0, "plantsGrowOn": false, diff --git a/elements/OrichalcumDeepslateOreLootTable.mod.json b/elements/OrichalcumDeepslateOreLootTable.mod.json new file mode 100644 index 0000000..7b6fc41 --- /dev/null +++ b/elements/OrichalcumDeepslateOreLootTable.mod.json @@ -0,0 +1,34 @@ +{ + "_fv": 73, + "_type": "loottable", + "definition": { + "type": "Block", + "pools": [ + { + "minrolls": 1, + "maxrolls": 1, + "minbonusrolls": 1, + "maxbonusrolls": 1, + "hasbonusrolls": false, + "entries": [ + { + "type": "item", + "item": { + "value": "CUSTOM:Orichalcum" + }, + "weight": 1, + "minCount": 1, + "maxCount": 1, + "minEnchantmentLevel": 0, + "maxEnchantmentLevel": 0, + "affectedByFortune": true, + "explosionDecay": false, + "silkTouchMode": 0 + } + ] + } + ], + "name": "blocks/orichalcum_deepslate_ore", + "namespace": "mod" + } +} \ No newline at end of file diff --git a/elements/OrichalcumOre.mod.json b/elements/OrichalcumOre.mod.json index e0a1954..700be13 100644 --- a/elements/OrichalcumOre.mod.json +++ b/elements/OrichalcumOre.mod.json @@ -52,7 +52,7 @@ "value": "CUSTOM:Orichalcum" }, "dropAmount": 1, - "useLootTableForDrops": false, + "useLootTableForDrops": true, "requiresCorrectTool": true, "enchantPowerBonus": 0.0, "plantsGrowOn": false, diff --git a/elements/OrichalcumOreLootTable.mod.json b/elements/OrichalcumOreLootTable.mod.json new file mode 100644 index 0000000..8985c0a --- /dev/null +++ b/elements/OrichalcumOreLootTable.mod.json @@ -0,0 +1,34 @@ +{ + "_fv": 73, + "_type": "loottable", + "definition": { + "type": "Block", + "pools": [ + { + "minrolls": 1, + "maxrolls": 1, + "minbonusrolls": 1, + "maxbonusrolls": 1, + "hasbonusrolls": false, + "entries": [ + { + "type": "item", + "item": { + "value": "CUSTOM:Orichalcum" + }, + "weight": 1, + "minCount": 1, + "maxCount": 1, + "minEnchantmentLevel": 0, + "maxEnchantmentLevel": 0, + "affectedByFortune": true, + "explosionDecay": false, + "silkTouchMode": 0 + } + ] + } + ], + "name": "blocks/orichalcum_ore", + "namespace": "mod" + } +} \ No newline at end of file diff --git a/src/main/java/net/mcreator/arisrandomadditions/entity/AriEntity.java b/src/main/java/net/mcreator/arisrandomadditions/entity/AriEntity.java index a5d9225..c3a10a8 100644 --- a/src/main/java/net/mcreator/arisrandomadditions/entity/AriEntity.java +++ b/src/main/java/net/mcreator/arisrandomadditions/entity/AriEntity.java @@ -57,7 +57,7 @@ public class AriEntity extends Monster { public AriEntity(EntityType type, Level world) { super(type, world); setMaxUpStep(0.6f); - xpReward = 0; + xpReward = 9; setNoAi(false); setCustomName(Component.literal("Ari")); setCustomNameVisible(true); diff --git a/src/main/resources/META-INF/mods.toml b/src/main/resources/META-INF/mods.toml index a543191..dd0707a 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.1" +version="2.3.2" displayName="Ari's Random Additions" displayURL="https://mcreator.net" logoFile="logo.png" diff --git a/src/main/resources/data/aris_random_additions/loot_tables/blocks/orichalcum_deepslate_ore.json b/src/main/resources/data/aris_random_additions/loot_tables/blocks/orichalcum_deepslate_ore.json index 171fff5..271b59f 100644 --- a/src/main/resources/data/aris_random_additions/loot_tables/blocks/orichalcum_deepslate_ore.json +++ b/src/main/resources/data/aris_random_additions/loot_tables/blocks/orichalcum_deepslate_ore.json @@ -1,20 +1,30 @@ { "type": "minecraft:block", - "random_sequence": "aris_random_additions:blocks/orichalcum_deepslate_ore", "pools": [ { - "rolls": 1.0, - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ], + "rolls": 1, "entries": [ { "type": "minecraft:item", - "name": "aris_random_additions:orichalcum" + "name": "aris_random_additions:orichalcum", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 1 + } + }, + { + "function": "minecraft:apply_bonus", + "enchantment": "minecraft:fortune", + "formula": "minecraft:ore_drops" + } + ] } ] } - ] + ], + "random_sequence": "aris_random_additions:blocks/orichalcum_deepslate_ore" } \ No newline at end of file diff --git a/src/main/resources/data/aris_random_additions/loot_tables/blocks/orichalcum_ore.json b/src/main/resources/data/aris_random_additions/loot_tables/blocks/orichalcum_ore.json index 9b1761f..63d7c85 100644 --- a/src/main/resources/data/aris_random_additions/loot_tables/blocks/orichalcum_ore.json +++ b/src/main/resources/data/aris_random_additions/loot_tables/blocks/orichalcum_ore.json @@ -1,20 +1,30 @@ { "type": "minecraft:block", - "random_sequence": "aris_random_additions:blocks/orichalcum_ore", "pools": [ { - "rolls": 1.0, - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ], + "rolls": 1, "entries": [ { "type": "minecraft:item", - "name": "aris_random_additions:orichalcum" + "name": "aris_random_additions:orichalcum", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 1 + } + }, + { + "function": "minecraft:apply_bonus", + "enchantment": "minecraft:fortune", + "formula": "minecraft:ore_drops" + } + ] } ] } - ] + ], + "random_sequence": "aris_random_additions:blocks/orichalcum_ore" } \ No newline at end of file