Skip to content

Commit

Permalink
fix: add missing slabs tag to otherstone slabs
Browse files Browse the repository at this point in the history
Closes #1176
  • Loading branch information
klikli-dev committed Aug 1, 2024
1 parent 718d084 commit 11e429d
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/generated/resources/data/minecraft/tags/block/slabs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"occultism:otherstone_slab"
]
}
5 changes: 5 additions & 0 deletions src/generated/resources/data/minecraft/tags/item/slabs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"occultism:otherstone_slab"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ public void addMinecraftTags(HolderLookup.Provider provider) {
.add(OccultismBlocks.RAW_IESNIUM_BLOCK.get())
.add(OccultismBlocks.SPIRIT_LANTERN.get());
this.tag(BlockTags.CAMPFIRES).add(OccultismBlocks.SPIRIT_CAMPFIRE.get()).replace(false);
this.tag(BlockTags.SLABS).add(OccultismBlocks.OTHERSTONE_SLAB.get()).replace(false);
this.tag(BlockTags.CANDLES).addTags(OccultismTags.Blocks.OCCULTISM_CANDLES).replace(false);
this.tag(BlockTags.CROPS).add(OccultismBlocks.DATURA.get()).replace(false);
this.tag(BlockTags.LEAVES).add(OccultismBlocks.OTHERWORLD_LEAVES.get(), OccultismBlocks.OTHERWORLD_LEAVES_NATURAL.get()).replace(false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,8 @@ private void addMinecraftTags(HolderLookup.Provider provider) {
}

private void addCommonTags(HolderLookup.Provider provider) {
this.copy(BlockTags.SLABS, ItemTags.SLABS);

// Ore Blocks
this.copy(OccultismTags.Blocks.IESNIUM_ORE, OccultismTags.Items.IESNIUM_ORE);
this.copy(OccultismTags.Blocks.SILVER_ORE, OccultismTags.Items.SILVER_ORE);
Expand Down

0 comments on commit 11e429d

Please sign in to comment.