Skip to content

Commit 11e429d

Browse files
committed
fix: add missing slabs tag to otherstone slabs
Closes #1176
1 parent 718d084 commit 11e429d

File tree

4 files changed

+13
-0
lines changed

4 files changed

+13
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"values": [
3+
"occultism:otherstone_slab"
4+
]
5+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"values": [
3+
"occultism:otherstone_slab"
4+
]
5+
}

src/main/java/com/klikli_dev/occultism/datagen/tags/OccultismBlockTagProvider.java

+1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ public void addMinecraftTags(HolderLookup.Provider provider) {
5050
.add(OccultismBlocks.RAW_IESNIUM_BLOCK.get())
5151
.add(OccultismBlocks.SPIRIT_LANTERN.get());
5252
this.tag(BlockTags.CAMPFIRES).add(OccultismBlocks.SPIRIT_CAMPFIRE.get()).replace(false);
53+
this.tag(BlockTags.SLABS).add(OccultismBlocks.OTHERSTONE_SLAB.get()).replace(false);
5354
this.tag(BlockTags.CANDLES).addTags(OccultismTags.Blocks.OCCULTISM_CANDLES).replace(false);
5455
this.tag(BlockTags.CROPS).add(OccultismBlocks.DATURA.get()).replace(false);
5556
this.tag(BlockTags.LEAVES).add(OccultismBlocks.OTHERWORLD_LEAVES.get(), OccultismBlocks.OTHERWORLD_LEAVES_NATURAL.get()).replace(false);

src/main/java/com/klikli_dev/occultism/datagen/tags/OccultismItemTagProvider.java

+2
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,8 @@ private void addMinecraftTags(HolderLookup.Provider provider) {
155155
}
156156

157157
private void addCommonTags(HolderLookup.Provider provider) {
158+
this.copy(BlockTags.SLABS, ItemTags.SLABS);
159+
158160
// Ore Blocks
159161
this.copy(OccultismTags.Blocks.IESNIUM_ORE, OccultismTags.Items.IESNIUM_ORE);
160162
this.copy(OccultismTags.Blocks.SILVER_ORE, OccultismTags.Items.SILVER_ORE);

0 commit comments

Comments
 (0)