diff --git a/src/generated/resources/.cache/74807d958079a027731c973b9550985af6711175 b/src/generated/resources/.cache/74807d958079a027731c973b9550985af6711175 index aa0b87f4b..0303097dc 100644 --- a/src/generated/resources/.cache/74807d958079a027731c973b9550985af6711175 +++ b/src/generated/resources/.cache/74807d958079a027731c973b9550985af6711175 @@ -1,4 +1,4 @@ -// 1.21.1 2024-10-19T11:22:45.676221 Tags for minecraft:item mod id actuallyadditions +// 1.21.1 2024-10-31T20:14:02.6354984 Tags for minecraft:item mod id actuallyadditions 87327118c2f16da245b76de4fdcaab149456d9b8 data/actuallyadditions/tags/item/coffee_beans.json f3ee78cd8c9563bd1828de2b4b336735f289f9f2 data/actuallyadditions/tags/item/crystals.json 441008b49b4bab00125100fc969cb6582eff7271 data/actuallyadditions/tags/item/crystal_blocks.json @@ -38,3 +38,6 @@ fb95ac8041521e1d2879f6fcb652266dcd9e0fb1 data/c/tags/item/storage_blocks/empower 148cd937543fd58b196403c18839b2698bf87fdf data/c/tags/item/storage_blocks/palis_crystal.json b9aa28a54d47054ba5653bec2f20e0a675ab5120 data/c/tags/item/storage_blocks/restonia_crystal.json fb4f349bc6fd89f26ef2ba72a9236f05eefd8ea2 data/c/tags/item/storage_blocks/void_crystal.json +51d50547b5f031f4fa6e62189af06059a407c009 data/minecraft/tags/item/slabs.json +a60870f29ca48ea0d55ac32620ff5b4bb2f2f62e data/minecraft/tags/item/stairs.json +f74407e86c92d0d9435d62ff0f95999f3a84c674 data/minecraft/tags/item/walls.json diff --git a/src/generated/resources/data/minecraft/tags/item/slabs.json b/src/generated/resources/data/minecraft/tags/item/slabs.json new file mode 100644 index 000000000..1fa9893fc --- /dev/null +++ b/src/generated/resources/data/minecraft/tags/item/slabs.json @@ -0,0 +1,11 @@ +{ + "values": [ + "actuallyadditions:ethetic_white_slab", + "actuallyadditions:ethetic_green_slab", + "actuallyadditions:black_quartz_slab", + "actuallyadditions:smooth_black_quartz_slab", + "actuallyadditions:black_quartz_pillar_slab", + "actuallyadditions:chiseled_black_quartz_slab", + "actuallyadditions:black_quartz_brick_slab" + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/tags/item/stairs.json b/src/generated/resources/data/minecraft/tags/item/stairs.json new file mode 100644 index 000000000..406bb2a67 --- /dev/null +++ b/src/generated/resources/data/minecraft/tags/item/stairs.json @@ -0,0 +1,11 @@ +{ + "values": [ + "actuallyadditions:ethetic_white_stairs", + "actuallyadditions:ethetic_green_stairs", + "actuallyadditions:black_quartz_stair", + "actuallyadditions:smooth_black_quartz_stair", + "actuallyadditions:black_quartz_pillar_stair", + "actuallyadditions:chiseled_black_quartz_stair", + "actuallyadditions:black_quartz_brick_stair" + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/tags/item/walls.json b/src/generated/resources/data/minecraft/tags/item/walls.json new file mode 100644 index 000000000..4146f9dc7 --- /dev/null +++ b/src/generated/resources/data/minecraft/tags/item/walls.json @@ -0,0 +1,11 @@ +{ + "values": [ + "actuallyadditions:ethetic_white_wall", + "actuallyadditions:ethetic_green_wall", + "actuallyadditions:black_quartz_wall", + "actuallyadditions:smooth_black_quartz_wall", + "actuallyadditions:black_quartz_pillar_wall", + "actuallyadditions:chiseled_black_quartz_wall", + "actuallyadditions:black_quartz_brick_wall" + ] +} \ No newline at end of file diff --git a/src/main/java/de/ellpeck/actuallyadditions/data/ItemTagsGenerator.java b/src/main/java/de/ellpeck/actuallyadditions/data/ItemTagsGenerator.java index 8f4e988f4..29d6d5218 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/data/ItemTagsGenerator.java +++ b/src/main/java/de/ellpeck/actuallyadditions/data/ItemTagsGenerator.java @@ -9,6 +9,7 @@ import net.minecraft.core.HolderLookup; import net.minecraft.data.PackOutput; import net.minecraft.data.tags.ItemTagsProvider; import net.minecraft.data.tags.TagsProvider; +import net.minecraft.tags.ItemTags; import net.minecraft.world.level.block.Block; import net.neoforged.neoforge.common.Tags; import net.neoforged.neoforge.common.data.ExistingFileHelper; @@ -24,6 +25,36 @@ public class ItemTagsGenerator extends ItemTagsProvider { @Override protected void addTags(@Nonnull HolderLookup.Provider provider) { + tag(ItemTags.WALLS).add( + ActuallyBlocks.ETHETIC_WHITE_WALL.getItem(), + ActuallyBlocks.ETHETIC_GREEN_WALL.getItem(), + ActuallyBlocks.BLACK_QUARTZ_WALL.getItem(), + ActuallyBlocks.SMOOTH_BLACK_QUARTZ_WALL.getItem(), + ActuallyBlocks.BLACK_QUARTZ_PILLAR_WALL.getItem(), + ActuallyBlocks.CHISELED_BLACK_QUARTZ_WALL.getItem(), + ActuallyBlocks.BLACK_QUARTZ_BRICK_WALL.getItem() + ); + + tag(ItemTags.STAIRS).add( + ActuallyBlocks.ETHETIC_WHITE_STAIRS.getItem(), + ActuallyBlocks.ETHETIC_GREEN_STAIRS.getItem(), + ActuallyBlocks.BLACK_QUARTZ_STAIR.getItem(), + ActuallyBlocks.SMOOTH_BLACK_QUARTZ_STAIR.getItem(), + ActuallyBlocks.BLACK_QUARTZ_PILLAR_STAIR.getItem(), + ActuallyBlocks.CHISELED_BLACK_QUARTZ_STAIR.getItem(), + ActuallyBlocks.BLACK_QUARTZ_BRICK_STAIR.getItem() + ); + + tag(ItemTags.SLABS).add( + ActuallyBlocks.ETHETIC_WHITE_SLAB.getItem(), + ActuallyBlocks.ETHETIC_GREEN_SLAB.getItem(), + ActuallyBlocks.BLACK_QUARTZ_SLAB.getItem(), + ActuallyBlocks.SMOOTH_BLACK_QUARTZ_SLAB.getItem(), + ActuallyBlocks.BLACK_QUARTZ_PILLAR_SLAB.getItem(), + ActuallyBlocks.CHISELED_BLACK_QUARTZ_SLAB.getItem(), + ActuallyBlocks.BLACK_QUARTZ_BRICK_SLAB.getItem() + ); + tag(ActuallyTags.Items.COFFEE_BEANS) .add(ActuallyItems.COFFEE_BEANS.get()); tag(ActuallyTags.Items.TINY_COALS)