Skip to content

Commit

Permalink
Expand Datagen
Browse files Browse the repository at this point in the history
Shoutouts to Blodgharm and glisco for finding out why Alloy Forgery datagen always runs.
Turns out you have to configure it, see the build.gradle on line 96-101

Signed-off-by: Noaaan <[email protected]>
  • Loading branch information
Noaaan committed Apr 6, 2024
1 parent 4bedf57 commit f22025a
Show file tree
Hide file tree
Showing 143 changed files with 1,335 additions and 441 deletions.
5 changes: 5 additions & 0 deletions PATCHNOTES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# 0.19.7

## Changes

- Added a lot more tags. This is useful with other mods which uses tag filters for storage/transfer of items.
- Renamed "gear" tags to "equipment". These tags contain both tools and armor for the associated material

## Balancing Changes

- Increase the damage of copper tools slightly (+0.5 attack damage)
Expand Down
18 changes: 7 additions & 11 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -93,19 +93,15 @@ sourceSets {
}
}

fabricApi {
configureDataGeneration {
// Set the mod ID so that I won't lose the 50/50 to Alloy Frogery, which throws all the data into the bin
modId = project.archives_base_name
}
}

loom {
accessWidenerPath = file("src/main/resources/mythicmetals.accessWidener")
runs {
datagen {
server()

name "Minecraft Data"
vmArg "-Dfabric-api.datagen"
vmArg "-Dfabric-api.datagen.output-dir=${file("src/main/generated")}"

runDir "build/datagen"
}
}
}

java {
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ yarn_mappings=1.20.1+build.9
loader_version=0.14.21

# Mod Properties
mod_version = 0.19.6+1.20.1
mod_version = 0.19.7+1.20.1
maven_group = nourl.mythicmetals
archives_base_name = mythicmetals

Expand Down
26 changes: 26 additions & 0 deletions src/main/generated/data/c/tags/blocks/ores.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"replace": false,
"values": [
"#mythicmetals:adamantite_ores",
"#mythicmetals:aquarium_ores",
"#mythicmetals:banglum_ores",
"#mythicmetals:carmot_ores",
"#mythicmetals:kyber_ores",
"#mythicmetals:manganese_ores",
"#mythicmetals:morkite_ores",
"#mythicmetals:midas_gold_ores",
"#mythicmetals:mythril_ores",
"#mythicmetals:orichalcum_ores",
"#mythicmetals:osmium_ores",
"#mythicmetals:palladium_ores",
"#mythicmetals:platinum_ores",
"#mythicmetals:prometheum_ores",
"#mythicmetals:quadrillum_ores",
"#mythicmetals:runite_ores",
"#mythicmetals:silver_ores",
"#mythicmetals:starrite_ores",
"#mythicmetals:stormyx_ores",
"#mythicmetals:tin_ores",
"#mythicmetals:unobtainium_ores"
]
}
30 changes: 30 additions & 0 deletions src/main/generated/data/c/tags/items/armor.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"replace": false,
"values": [
"#mythicmetals:adamantite_armor",
"#mythicmetals:aquarium_armor",
"#mythicmetals:banglum_armor",
"#mythicmetals:bronze_armor",
"#mythicmetals:carmot_armor",
"#mythicmetals:celestium_armor",
"#mythicmetals:copper_armor",
"#mythicmetals:durasteel_armor",
"#mythicmetals:hallowed_armor",
"#mythicmetals:kyber_armor",
"#mythicmetals:legendary_banglum_armor",
"#mythicmetals:metallurgium_armor",
"#mythicmetals:midas_gold_armor",
"#mythicmetals:mythril_armor",
"#mythicmetals:orichalcum_armor",
"#mythicmetals:osmium_armor",
"#mythicmetals:osmium_chainmail_armor",
"#mythicmetals:palladium_armor",
"#mythicmetals:prometheum_armor",
"#mythicmetals:runite_armor",
"#mythicmetals:silver_armor",
"#mythicmetals:star_platinum_armor",
"#mythicmetals:steel_armor",
"#mythicmetals:stormyx_armor",
"#mythicmetals:tidesinger_armor"
]
}
8 changes: 8 additions & 0 deletions src/main/generated/data/c/tags/items/arrows.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"replace": false,
"values": [
"mythicmetals:star_platinum_arrow",
"mythicmetals:runite_arrow",
"mythicmetals:tipped_runite_arrow"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
"mythicmetals:quadrillum_axe",
"mythicmetals:runite_axe",
"mythicmetals:star_platinum_axe",
"mythicmetals:stormyx_axe"
"mythicmetals:steel_axe",
"mythicmetals:stormyx_axe",
"mythicmetals:tidesinger_axe"
]
}
6 changes: 6 additions & 0 deletions src/main/generated/data/c/tags/items/elytra.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"mythicmetals:celestium_elytra"
]
}
53 changes: 53 additions & 0 deletions src/main/generated/data/c/tags/items/equipment.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"replace": false,
"values": [
"#mythicmetals:adamantite_equipment",
"#mythicmetals:aquarium_equipment",
"#mythicmetals:banglum_equipment",
"#mythicmetals:bronze_equipment",
"#mythicmetals:carmot_equipment",
"#mythicmetals:celestium_equipment",
"#mythicmetals:copper_equipment",
"#mythicmetals:durasteel_equipment",
"#mythicmetals:hallowed_equipment",
"#mythicmetals:kyber_equipment",
"#mythicmetals:legendary_banglum_equipment",
"#mythicmetals:metallurgium_equipment",
"#mythicmetals:mythril_equipment",
"#mythicmetals:orichalcum_equipment",
"#mythicmetals:osmium_equipment",
"#mythicmetals:palladium_equipment",
"#mythicmetals:prometheum_equipment",
"#mythicmetals:quadrillum_equipment",
"#mythicmetals:runite_equipment",
"#mythicmetals:star_platinum_equipment",
"#mythicmetals:steel_equipment",
"#mythicmetals:stormyx_equipment",
"#mythicmetals:tidesinger_equipment",
"#mythicmetals:adamantite_equipment",
"#mythicmetals:aquarium_equipment",
"#mythicmetals:banglum_equipment",
"#mythicmetals:bronze_equipment",
"#mythicmetals:carmot_equipment",
"#mythicmetals:celestium_equipment",
"#mythicmetals:copper_equipment",
"#mythicmetals:durasteel_equipment",
"#mythicmetals:hallowed_equipment",
"#mythicmetals:kyber_equipment",
"#mythicmetals:legendary_banglum_equipment",
"#mythicmetals:metallurgium_equipment",
"#mythicmetals:midas_gold_equipment",
"#mythicmetals:mythril_equipment",
"#mythicmetals:orichalcum_equipment",
"#mythicmetals:osmium_equipment",
"#mythicmetals:osmium_chainmail_equipment",
"#mythicmetals:palladium_equipment",
"#mythicmetals:prometheum_equipment",
"#mythicmetals:runite_equipment",
"#mythicmetals:silver_equipment",
"#mythicmetals:star_platinum_equipment",
"#mythicmetals:steel_equipment",
"#mythicmetals:stormyx_equipment",
"#mythicmetals:tidesinger_equipment"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
"mythicmetals:quadrillum_hoe",
"mythicmetals:runite_hoe",
"mythicmetals:star_platinum_hoe",
"mythicmetals:stormyx_hoe"
"mythicmetals:steel_hoe",
"mythicmetals:stormyx_hoe",
"mythicmetals:tidesinger_hoe"
]
}
30 changes: 30 additions & 0 deletions src/main/generated/data/c/tags/items/ingots.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"replace": false,
"values": [
"#mythicmetals:ingots",
"#mythicmetals:ingots",
"#mythicmetals:ingots",
"#mythicmetals:ingots",
"#mythicmetals:ingots",
"#mythicmetals:ingots",
"#mythicmetals:ingots",
"#mythicmetals:ingots",
"#mythicmetals:ingots",
"#mythicmetals:ingots",
"#mythicmetals:ingots",
"#mythicmetals:ingots",
"#mythicmetals:ingots",
"#mythicmetals:ingots",
"#mythicmetals:ingots",
"#mythicmetals:ingots",
"#mythicmetals:ingots",
"#mythicmetals:ingots",
"#mythicmetals:ingots",
"#mythicmetals:ingots",
"#mythicmetals:ingots",
"#mythicmetals:ingots",
"#mythicmetals:ingots",
"#mythicmetals:ingots",
"#mythicmetals:ingots"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@
"mythicmetals:quadrillum_pickaxe",
"mythicmetals:runite_pickaxe",
"mythicmetals:star_platinum_pickaxe",
"mythicmetals:steel_pickaxe",
"mythicmetals:stormyx_pickaxe",
"mythicmetals:mythril_drill",
"mythicmetals:orichalcum_hammer"
"mythicmetals:tidesinger_pickaxe",
"mythicmetals:orichalcum_hammer",
"mythicmetals:mythril_drill"
]
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"replace": false,
"values": [
"#mythicmetals:ores"
"mythicmetals:stormyx_shield"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
"mythicmetals:quadrillum_shovel",
"mythicmetals:runite_shovel",
"mythicmetals:star_platinum_shovel",
"mythicmetals:stormyx_shovel"
"mythicmetals:steel_shovel",
"mythicmetals:stormyx_shovel",
"mythicmetals:tidesinger_shovel"
]
}
15 changes: 15 additions & 0 deletions src/main/generated/data/c/tags/items/smithing_templates.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"replace": false,
"values": [
"mythicmetals:unobtainium_smithing_template",
"mythicmetals:mythril_drill_smithing_template",
"mythicmetals:midas_folding_template",
"mythicmetals:royal_midas_smithing_template",
"mythicmetals:carmot_staff_smithing_template",
"mythicmetals:aegis_smithing_template",
"mythicmetals:carmot_smithing_template",
"mythicmetals:osmium_chainmail_smithing_template",
"mythicmetals:tidesinger_smithing_template",
"mythicmetals:legendary_banglum_smithing_template"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@
"mythicmetals:quadrillum_sword",
"mythicmetals:runite_sword",
"mythicmetals:star_platinum_sword",
"mythicmetals:stormyx_sword"
"mythicmetals:steel_sword",
"mythicmetals:stormyx_sword",
"mythicmetals:tidesinger_sword",
"mythicmetals:red_aegis_sword",
"mythicmetals:white_aegis_sword",
"mythicmetals:midas_gold_sword",
"mythicmetals:gilded_midas_gold_sword",
"mythicmetals:royal_midas_gold_sword"
]
}
31 changes: 31 additions & 0 deletions src/main/generated/data/c/tags/items/tools.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"replace": false,
"values": [
"#mythicmetals:adamantite_tools",
"#mythicmetals:aquarium_tools",
"#mythicmetals:banglum_tools",
"#mythicmetals:bronze_tools",
"#mythicmetals:carmot_tools",
"#mythicmetals:celestium_tools",
"#mythicmetals:copper_tools",
"#mythicmetals:durasteel_tools",
"#mythicmetals:hallowed_tools",
"#mythicmetals:kyber_tools",
"#mythicmetals:legendary_banglum_tools",
"#mythicmetals:metallurgium_tools",
"#mythicmetals:mythril_tools",
"#mythicmetals:orichalcum_tools",
"#mythicmetals:osmium_tools",
"#mythicmetals:palladium_tools",
"#mythicmetals:prometheum_tools",
"#mythicmetals:quadrillum_tools",
"#mythicmetals:runite_tools",
"#mythicmetals:star_platinum_tools",
"#mythicmetals:steel_tools",
"#mythicmetals:stormyx_tools",
"#mythicmetals:tidesinger_tools",
"mythicmetals:red_aegis_sword",
"mythicmetals:white_aegis_sword",
"mythicmetals:carmot_staff"
]
}
26 changes: 26 additions & 0 deletions src/main/generated/data/mythicmetals/tags/blocks/ores.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"replace": false,
"values": [
"#mythicmetals:adamantite_ores",
"#mythicmetals:aquarium_ores",
"#mythicmetals:banglum_ores",
"#mythicmetals:carmot_ores",
"#mythicmetals:kyber_ores",
"#mythicmetals:manganese_ores",
"#mythicmetals:morkite_ores",
"#mythicmetals:midas_gold_ores",
"#mythicmetals:mythril_ores",
"#mythicmetals:orichalcum_ores",
"#mythicmetals:osmium_ores",
"#mythicmetals:palladium_ores",
"#mythicmetals:platinum_ores",
"#mythicmetals:prometheum_ores",
"#mythicmetals:quadrillum_ores",
"#mythicmetals:runite_ores",
"#mythicmetals:silver_ores",
"#mythicmetals:starrite_ores",
"#mythicmetals:stormyx_ores",
"#mythicmetals:tin_ores",
"#mythicmetals:unobtainium_ores"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"replace": false,
"values": [
"mythicmetals:adamantite_helmet",
"mythicmetals:adamantite_chestplate",
"mythicmetals:adamantite_leggings",
"mythicmetals:adamantite_boots"
]
}
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"replace": false,
"values": [
"mythicmetals:adamantite_helmet",
"mythicmetals:adamantite_chestplate",
"mythicmetals:adamantite_leggings",
"mythicmetals:adamantite_boots",
"mythicmetals:adamantite_sword",
"mythicmetals:adamantite_pickaxe",
"mythicmetals:adamantite_axe",
"mythicmetals:adamantite_shovel",
"mythicmetals:adamantite_hoe"
"mythicmetals:adamantite_hoe",
"mythicmetals:adamantite_helmet",
"mythicmetals:adamantite_chestplate",
"mythicmetals:adamantite_leggings",
"mythicmetals:adamantite_boots"
]
}
Loading

0 comments on commit f22025a

Please sign in to comment.