Skip to content

Commit

Permalink
fix tags
Browse files Browse the repository at this point in the history
  • Loading branch information
AViewFromTheTop committed Jul 30, 2024
1 parent 5088a6c commit 25dad54
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -734,12 +734,15 @@ private void generateMinecraft() {
.add(RegisterBlocks.PALM_WALL_HANGING_SIGN);

this.getOrCreateTagBuilder(BlockTags.STAIRS)
.add(RegisterBlocks.SCULK_STAIRS)
.add(RegisterBlocks.MOSSY_MUD_BRICK_STAIRS);

this.getOrCreateTagBuilder(BlockTags.SLABS)
.add(RegisterBlocks.SCULK_SLAB)
.add(RegisterBlocks.MOSSY_MUD_BRICK_SLAB);

this.getOrCreateTagBuilder(BlockTags.WALLS)
.add(RegisterBlocks.SCULK_WALL)
.add(RegisterBlocks.MOSSY_MUD_BRICK_WALL);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
import net.frozenblock.wilderwild.tag.WilderItemTags;
import net.minecraft.core.HolderLookup;
import net.minecraft.resources.ResourceLocation;
import net.minecraft.tags.BlockTags;
import net.minecraft.tags.ItemTags;
import net.minecraft.tags.TagKey;
import net.minecraft.world.item.Item;
Expand All @@ -48,12 +49,15 @@ private TagKey<Item> getTag(String id) {
@Override
protected void addTags(@NotNull HolderLookup.Provider arg) {
this.getOrCreateTagBuilder(ItemTags.STAIRS)
.add(RegisterBlocks.SCULK_STAIRS.asItem())
.add(RegisterBlocks.MOSSY_MUD_BRICK_STAIRS.asItem());

this.getOrCreateTagBuilder(ItemTags.SLABS)
.add(RegisterBlocks.SCULK_SLAB.asItem())
.add(RegisterBlocks.MOSSY_MUD_BRICK_SLAB.asItem());

this.getOrCreateTagBuilder(ItemTags.WALLS)
.add(RegisterBlocks.SCULK_WALL.asItem())
.add(RegisterBlocks.MOSSY_MUD_BRICK_WALL.asItem());

this.getOrCreateTagBuilder(ItemTags.ARMADILLO_FOOD)
Expand Down
1 change: 1 addition & 0 deletions src/main/generated/data/minecraft/tags/block/slabs.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"values": [
"wilderwild:sculk_slab",
"wilderwild:mossy_mud_brick_slab"
]
}
1 change: 1 addition & 0 deletions src/main/generated/data/minecraft/tags/block/stairs.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"values": [
"wilderwild:sculk_stairs",
"wilderwild:mossy_mud_brick_stairs"
]
}
1 change: 1 addition & 0 deletions src/main/generated/data/minecraft/tags/block/walls.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"values": [
"wilderwild:sculk_wall",
"wilderwild:mossy_mud_brick_wall"
]
}
1 change: 1 addition & 0 deletions src/main/generated/data/minecraft/tags/item/slabs.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"values": [
"wilderwild:sculk_slab",
"wilderwild:mossy_mud_brick_slab"
]
}
1 change: 1 addition & 0 deletions src/main/generated/data/minecraft/tags/item/stairs.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"values": [
"wilderwild:sculk_stairs",
"wilderwild:mossy_mud_brick_stairs"
]
}
1 change: 1 addition & 0 deletions src/main/generated/data/minecraft/tags/item/walls.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"values": [
"wilderwild:sculk_wall",
"wilderwild:mossy_mud_brick_wall"
]
}
6 changes: 0 additions & 6 deletions src/main/resources/data/minecraft/tags/block/slabs.json

This file was deleted.

6 changes: 0 additions & 6 deletions src/main/resources/data/minecraft/tags/block/stairs.json

This file was deleted.

6 changes: 0 additions & 6 deletions src/main/resources/data/minecraft/tags/block/walls.json

This file was deleted.

0 comments on commit 25dad54

Please sign in to comment.