Add c:stripped_logs and c:stripped_woods tags (#10146)

This commit is contained in:
Jonathing authored and GitHub committed 2024-10-27 02:36:36 +00:00
1 parent 60e8157b9a
commit 0c7a0e927c
7 files changed
+64

No files matched your search

@@ -243,6 +243,8 @@ public class Tags {
public static final TagKey<Block> STORAGE_BLOCKS_REDSTONE = cTag("storage_blocks/redstone");
public static final TagKey<Block> STORAGE_BLOCKS_SLIME = cTag("storage_blocks/slime");
public static final TagKey<Block> STORAGE_BLOCKS_WHEAT = cTag("storage_blocks/wheat");
public static final TagKey<Block> STRIPPED_LOGS = cTag("stripped_logs");
public static final TagKey<Block> STRIPPED_WOODS = cTag("stripped_woods");
public static final TagKey<Block> VILLAGER_JOB_SITES = cTag("villager_job_sites");
//endregion
@@ -775,6 +777,8 @@ public class Tags {
public static final TagKey<Item> STORAGE_BLOCKS_SLIME = cTag("storage_blocks/slime");
public static final TagKey<Item> STORAGE_BLOCKS_WHEAT = cTag("storage_blocks/wheat");
public static final TagKey<Item> STRINGS = cTag("strings");
public static final TagKey<Item> STRIPPED_LOGS = cTag("stripped_logs");
public static final TagKey<Item> STRIPPED_WOODS = cTag("stripped_woods");
public static final TagKey<Item> VILLAGER_JOB_SITES = cTag("villager_job_sites");
// Tools and Armors
@@ -216,6 +216,14 @@ public final class ForgeBlockTagsProvider extends BlockTagsProvider {
.addOptionalTag(forgeTagKey("storage_blocks/redstone"));
tag(STORAGE_BLOCKS_SLIME).add(Blocks.SLIME_BLOCK);
tag(STORAGE_BLOCKS_WHEAT).add(Blocks.HAY_BLOCK);
tag(Tags.Blocks.STRIPPED_LOGS).add(
Blocks.STRIPPED_ACACIA_LOG, Blocks.STRIPPED_BAMBOO_BLOCK, Blocks.STRIPPED_BIRCH_LOG,
Blocks.STRIPPED_CHERRY_LOG, Blocks.STRIPPED_DARK_OAK_LOG, Blocks.STRIPPED_JUNGLE_LOG,
Blocks.STRIPPED_MANGROVE_LOG, Blocks.STRIPPED_OAK_LOG, Blocks.STRIPPED_SPRUCE_LOG);
tag(Tags.Blocks.STRIPPED_WOODS).add(
Blocks.STRIPPED_ACACIA_WOOD, Blocks.STRIPPED_BIRCH_WOOD, Blocks.STRIPPED_CHERRY_WOOD,
Blocks.STRIPPED_DARK_OAK_WOOD, Blocks.STRIPPED_JUNGLE_WOOD, Blocks.STRIPPED_MANGROVE_WOOD,
Blocks.STRIPPED_OAK_WOOD, Blocks.STRIPPED_SPRUCE_WOOD);
tag(VILLAGER_JOB_SITES).add(
Blocks.BARREL, Blocks.BLAST_FURNACE, Blocks.BREWING_STAND, Blocks.CARTOGRAPHY_TABLE,
Blocks.CAULDRON, Blocks.WATER_CAULDRON, Blocks.LAVA_CAULDRON, Blocks.POWDER_SNOW_CAULDRON,
@@ -325,6 +325,8 @@ public final class ForgeItemTagsProvider extends ItemTagsProvider {
tag(Tags.Items.STRINGS)
.add(Items.STRING)
.addOptionalTag(forgeItemTagKey("strings"));
copy(Tags.Blocks.STRIPPED_LOGS, Tags.Items.STRIPPED_LOGS);
copy(Tags.Blocks.STRIPPED_WOODS, Tags.Items.STRIPPED_WOODS);
tag(Tags.Items.VILLAGER_JOB_SITES).add(
Items.BARREL, Items.BLAST_FURNACE, Items.BREWING_STAND, Items.CARTOGRAPHY_TABLE,
Items.CAULDRON, Items.COMPOSTER, Items.FLETCHING_TABLE, Items.GRINDSTONE,