Skip to content

Commit

Permalink
Add charcoal item tags - resolves #306
Browse files Browse the repository at this point in the history
  • Loading branch information
Direwolf20-MC committed Dec 5, 2024
1 parent 634af7a commit 8d3c5ac
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// 1.21.1 2024-09-25T22:41:05.4413696 JustDireThings Item Tags
// 1.21.1 2024-12-05T15:17:54.6261471 JustDireThings Item Tags
c144a5adcf337b1e974a62a8dc0d8f29311210b4 data/c/tags/item/gems.json
55719b9c6f0430ad38bf081d697aa5406cc27cfb data/c/tags/item/ingots.json
d7ad09b1e8fb0835b7f14f744fa7866dd3521c60 data/c/tags/item/ingots/blazegold.json
Expand All @@ -8,7 +8,8 @@ d7ad09b1e8fb0835b7f14f744fa7866dd3521c60 data/c/tags/item/ingots/blazegold.json
8f409e7c4af9ad4f712c47dca67c5a35990128b4 data/c/tags/item/raw_materials/blazegold.json
5fec8f33bedbc8d4ad810433334d09be1b142495 data/c/tags/item/raw_materials/eclipsealloy.json
77a64d34066efb0fd114a507b86955e4dd278896 data/c/tags/item/raw_materials/ferricore.json
455bada5b950203f61d1da4946e513ee909c6275 data/c/tags/item/storage_blocks.json
a124c9a9e83399d56af0e7461086fb0df1f78677 data/c/tags/item/storage_blocks.json
5f1e660bc9c2edfefb9b5e0ee9b34fd54e814ffc data/c/tags/item/storage_blocks/charcoal.json
2e8fde40fae9c5f27ec8016ce871e7e1dba80da8 data/c/tags/item/tools/bow.json
d43d57f243d07a70864154c42153bce1fa092a9b data/c/tags/item/tools/melee_weapon.json
4bf06f85140d98a6fdbb3f93325bb5f389124423 data/c/tags/item/tools/mining_tool.json
Expand Down
3 changes: 2 additions & 1 deletion src/generated/resources/data/c/tags/item/storage_blocks.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"justdirethings:ferricore_block",
"justdirethings:blazegold_block",
"justdirethings:celestigem_block",
"justdirethings:eclipsealloy_block"
"justdirethings:eclipsealloy_block",
"justdirethings:charcoal"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"justdirethings:charcoal"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ public JustDireItemTags(PackOutput packOutput, CompletableFuture<HolderLookup.Pr
public static final TagKey<Item> MELEE_WEAPON = forgeTag("tools/melee_weapon");
public static final TagKey<Item> MINING_TOOL = forgeTag("tools/mining_tool");
public static final TagKey<Item> PAXEL = forgeTag("tools/paxel");
public static final TagKey<Item> STORAGEBLOCKS = forgeTag("storage_blocks");
public static final TagKey<Item> CHARCOALBLOCKS = forgeTag("storage_blocks/charcoal");


private static TagKey<Item> forgeTag(String name) {
Expand Down Expand Up @@ -211,6 +213,10 @@ protected void addTags(HolderLookup.Provider provider) {
.add(Registration.EclipseAlloyPaxel.get());
tag(PARADOX_DENY)
.add(Items.BEDROCK);
tag(STORAGEBLOCKS)
.add(Registration.CharcoalBlock_ITEM.get());
tag(CHARCOALBLOCKS)
.add(Registration.CharcoalBlock_ITEM.get());
}

@Override
Expand Down

0 comments on commit 8d3c5ac

Please sign in to comment.