Skip to content

Commit

Permalink
Fix broken tags and recipes, runs datagen
Browse files Browse the repository at this point in the history
Signed-off-by: Noaaan <[email protected]>
  • Loading branch information
Noaaan committed Jul 2, 2024
1 parent e78a0e2 commit ccb000c
Show file tree
Hide file tree
Showing 137 changed files with 291 additions and 147 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"mythicmetals:adamantite_block"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"mythicmetals:aquarium_block"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"mythicmetals:banglum_block"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"mythicmetals:bronze_block"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"mythicmetals:carmot_block"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"mythicmetals:celestium_block"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"mythicmetals:durasteel_block"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"mythicmetals:hallowed_block"
]
}
5 changes: 5 additions & 0 deletions src/main/generated/data/c/tags/item/storage_blocks/kyber.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"mythicmetals:kyber_block"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"mythicmetals:manganese_block"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"mythicmetals:metallurgium_block"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"mythicmetals:midas_gold_block"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"mythicmetals:morkite_block"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"mythicmetals:mythril_block"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"mythicmetals:orichalcum_block"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"mythicmetals:osmium_block"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"mythicmetals:palladium_block"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"mythicmetals:platinum_block"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"mythicmetals:prometheum_block"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"mythicmetals:quadrillum_block"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"mythicmetals:runite_block"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"mythicmetals:silver_block"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"mythicmetals:star_platinum_block"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"mythicmetals:starrite_block"
]
}
5 changes: 5 additions & 0 deletions src/main/generated/data/c/tags/item/storage_blocks/steel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"mythicmetals:steel_block"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"mythicmetals:stormyx_block"
]
}
5 changes: 5 additions & 0 deletions src/main/generated/data/c/tags/item/storage_blocks/tin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"mythicmetals:tin_block"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"mythicmetals:unobtainium_block"
]
}
12 changes: 8 additions & 4 deletions src/main/java/nourl/mythicmetals/data/MythicItemTagProvider.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,18 @@ protected void configure(RegistryWrapper.WrapperLookup arg) {
if (blockSet.getStorageBlock() != null) {
var string = "storage_blocks/" + name;
var modTag = MythicMetalsData.createModItemTag(string);
var commonTag = ConventionalItemTags.STORAGE_BLOCKS;
var commonTag = MythicMetalsData.createCommonItemTag(string);
var commonBlocksTag = ConventionalItemTags.STORAGE_BLOCKS;
getOrCreateTagBuilder(modTag).add(blockSet.getStorageBlock().asItem());
getOrCreateTagBuilder(commonTag).addTag(modTag);
getOrCreateTagBuilder(commonTag).add(blockSet.getStorageBlock().asItem());
getOrCreateTagBuilder(commonBlocksTag).addTag(modTag);
if (blockSet.getOreStorageBlock() != null) {
string = "storage_blocks/raw_" + name;
modTag = MythicMetalsData.createModItemTag(string);
getOrCreateTagBuilder(modTag).add(blockSet.getOreStorageBlock().asItem());
getOrCreateTagBuilder(commonTag).addTag(modTag);
getOrCreateTagBuilder(modTag)
.add(blockSet.getOreStorageBlock().asItem());
getOrCreateTagBuilder(commonBlocksTag)
.addTag(modTag);
}
}
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"type": "alloy_forgery:forging",
"inputs": [
{
"tag": "c:copper_ingots",
"tag": "c:ingots/copper",
"count": 2
},
{
"tag": "c:tin_ingots"
"tag": "c:ingots/tin"
}
],
"output": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"type": "alloy_forgery:forging",
"inputs": [
{
"tag": "minecraft:copper_ores",
"tag": "minecraft:ores/copper",
"count": 2
},
{
"tag": "c:tin_ores"
"tag": "c:ores/tin"
}
],
"output": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"item": "mythicmetals:starrite"
},
{
"tag": "c:platinum_ingots"
"tag": "c:ingots/platinum"
},
{
"item": "mythicmetals:carmot_ingot"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@
"type": "alloy_forgery:forging",
"inputs": [
{
"tag": "mythicmetals:starrite_ores"
"tag": "mythicmetals:ores/starrite"
},
{
"tag": "c:platinum_ores"
"tag": "c:ores/platinum"
},
{
"tag": "mythicmetals:carmot_ores"
"tag": "mythicmetals:ores/carmot"
},
{
"tag": "mythicmetals:kyber_ores"
"tag": "mythicmetals:ores/kyber"
},
{
"tag": "mythicmetals:unobtainium_ores"
"tag": "mythicmetals:ores/unobtainium"
}
],
"output": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"item": "mythicmetals:starrite"
},
{
"tag": "c:raw_platinum_ores"
"tag": "c:ores/raw_platinum"
},
{
"item": "mythicmetals:raw_carmot"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"item": "mythicmetals:quadrillum_ingot"
},
{
"tag": "c:manganese_ingots"
"tag": "c:ingots/manganese"
}
],
"output": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"type": "alloy_forgery:forging",
"inputs": [
{
"tag": "mythicmetals:quadrillum_ores"
"tag": "mythicmetals:ores/quadrillum"
},
{
"tag": "c:manganese_ores"
"tag": "c:ores/manganese"
}
],
"output": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"item": "mythicmetals:raw_quadrillum"
},
{
"tag": "c:raw_manganese_ores"
"tag": "c:ores/raw_manganese"
}
],
"output": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
"type": "alloy_forgery:forging",
"inputs": [
{
"tag": "c:adamantite_ingots"
"tag": "c:ingots/adamantite"
},
{
"tag": "c:mythril_ingots"
"tag": "c:ingots/mythril"
},
{
"tag": "c:orichalcum_ingots"
"tag": "c:ingots/orichalcum"
}
],
"output": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
"type": "alloy_forgery:forging",
"inputs": [
{
"tag": "c:adamantite_ores"
"tag": "c:ores/adamantite"
},
{
"tag": "c:mythril_ores"
"tag": "c:ores/mythril"
},
{
"tag": "c:orichalcum_ores"
"tag": "c:ores/orichalcum"
}
],
"output": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"item": "mythicmetals:raw_adamantite"
},
{
"tag": "c:raw_mythril_ores"
"tag": "c:ores/raw_mythril"
},
{
"item": "mythicmetals:raw_orichalcum"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
"type": "alloy_forgery:forging",
"inputs": [
{
"tag": "c:adamantite_ingots"
"tag": "c:ingots/adamantite"
},
{
"tag": "c:mythril_ingots"
"tag": "c:ingots/mythril"
},
{
"tag": "c:orichalcum_ingots"
"tag": "c:ingots/orichalcum"
},
{
"tag": "c:palladium_ingots"
"tag": "c:ingots/palladium"
},
{
"item": "mythicmetals:unobtainium"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"type": "alloy_forgery:forging",
"inputs": [
{
"tag": "mythicmetals:hallowed_ingots"
"tag": "mythicmetals:ingots/hallowed"
},
{
"tag": "c:palladium_ingots"
"tag": "c:ingots/palladium"
},
{
"item": "mythicmetals:unobtainium"
Expand Down
Loading

0 comments on commit ccb000c

Please sign in to comment.