This commit is contained in:
nimsolated
2026-03-28 23:04:13 -07:00
parent c14fcb4ef1
commit 885a6f0b4d
10 changed files with 140 additions and 28 deletions

View File

@@ -2585,8 +2585,7 @@
"src/main/resources/assets/aris_random_additions/blockstates/orichalcum_ore.json", "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/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/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/worldgen/placed_feature/orichalcum_ore.json"
"src/main/resources/data/aris_random_additions/loot_tables/blocks/orichalcum_ore.json"
] ]
}, },
"path": "~/Orichalcum" "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/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/item/orichalcum_deepslate_ore.json",
"src/main/resources/assets/aris_random_additions/models/block/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/worldgen/placed_feature/orichalcum_deepslate_ore.json"
"src/main/resources/data/aris_random_additions/loot_tables/blocks/orichalcum_deepslate_ore.json"
] ]
}, },
"path": "~/Orichalcum" "path": "~/Orichalcum"
@@ -7209,6 +7207,32 @@
] ]
}, },
"path": "~/Cans" "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": [], "variable_elements": [],
@@ -7836,7 +7860,7 @@
"workspaceSettings": { "workspaceSettings": {
"modid": "aris_random_additions", "modid": "aris_random_additions",
"modName": "Ari\u0027s Random Additions", "modName": "Ari\u0027s Random Additions",
"version": "2.3.1", "version": "2.3.2",
"description": "Random Additions by Ari. Created with MCreator.", "description": "Random Additions by Ari. Created with MCreator.",
"author": "nimsolated, MCreator", "author": "nimsolated, MCreator",
"websiteURL": "https://mcreator.net", "websiteURL": "https://mcreator.net",

View File

@@ -73,7 +73,7 @@
"trackingRange": 64, "trackingRange": 64,
"followRange": 16, "followRange": 16,
"health": 20, "health": 20,
"xpAmount": 0, "xpAmount": 9,
"waterMob": false, "waterMob": false,
"breatheUnderwater": { "breatheUnderwater": {
"fixedValue": false "fixedValue": false

View File

@@ -52,7 +52,7 @@
"value": "CUSTOM:Orichalcum" "value": "CUSTOM:Orichalcum"
}, },
"dropAmount": 1, "dropAmount": 1,
"useLootTableForDrops": false, "useLootTableForDrops": true,
"requiresCorrectTool": true, "requiresCorrectTool": true,
"enchantPowerBonus": 0.0, "enchantPowerBonus": 0.0,
"plantsGrowOn": false, "plantsGrowOn": false,

View File

@@ -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"
}
}

View File

@@ -52,7 +52,7 @@
"value": "CUSTOM:Orichalcum" "value": "CUSTOM:Orichalcum"
}, },
"dropAmount": 1, "dropAmount": 1,
"useLootTableForDrops": false, "useLootTableForDrops": true,
"requiresCorrectTool": true, "requiresCorrectTool": true,
"enchantPowerBonus": 0.0, "enchantPowerBonus": 0.0,
"plantsGrowOn": false, "plantsGrowOn": false,

View File

@@ -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"
}
}

View File

@@ -57,7 +57,7 @@ public class AriEntity extends Monster {
public AriEntity(EntityType<AriEntity> type, Level world) { public AriEntity(EntityType<AriEntity> type, Level world) {
super(type, world); super(type, world);
setMaxUpStep(0.6f); setMaxUpStep(0.6f);
xpReward = 0; xpReward = 9;
setNoAi(false); setNoAi(false);
setCustomName(Component.literal("Ari")); setCustomName(Component.literal("Ari"));
setCustomNameVisible(true); setCustomNameVisible(true);

View File

@@ -4,7 +4,7 @@ license="MIT License"
[[mods]] [[mods]]
modId="aris_random_additions" modId="aris_random_additions"
version="2.3.1" version="2.3.2"
displayName="Ari's Random Additions" displayName="Ari's Random Additions"
displayURL="https://mcreator.net" displayURL="https://mcreator.net"
logoFile="logo.png" logoFile="logo.png"

View File

@@ -1,20 +1,30 @@
{ {
"type": "minecraft:block", "type": "minecraft:block",
"random_sequence": "aris_random_additions:blocks/orichalcum_deepslate_ore",
"pools": [ "pools": [
{ {
"rolls": 1.0, "rolls": 1,
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
],
"entries": [ "entries": [
{ {
"type": "minecraft:item", "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"
}

View File

@@ -1,20 +1,30 @@
{ {
"type": "minecraft:block", "type": "minecraft:block",
"random_sequence": "aris_random_additions:blocks/orichalcum_ore",
"pools": [ "pools": [
{ {
"rolls": 1.0, "rolls": 1,
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
],
"entries": [ "entries": [
{ {
"type": "minecraft:item", "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"
}