Added Bookshelves block tag (#8991)

This commit is contained in:
agnor99 authored and GitHub committed 2022-09-08 16:11:39 +01:00
1 parent e956a9c9f3
commit 0978a94358
3 files changed
+7

No files matched your search

@@ -37,6 +37,7 @@ public class Tags
public static final TagKey<Block> BARRELS = tag("barrels");
public static final TagKey<Block> BARRELS_WOODEN = tag("barrels/wooden");
public static final TagKey<Block> BOOKSHELVES = tag("bookshelves");
public static final TagKey<Block> CHESTS = tag("chests");
public static final TagKey<Block> CHESTS_ENDER = tag("chests/ender");
public static final TagKey<Block> CHESTS_TRAPPED = tag("chests/trapped");
@@ -34,6 +34,7 @@ public final class ForgeBlockTagsProvider extends BlockTagsProvider
{
tag(BARRELS).addTag(BARRELS_WOODEN);
tag(BARRELS_WOODEN).add(Blocks.BARREL);
tag(BOOKSHELVES).add(Blocks.BOOKSHELF);
tag(CHESTS).addTags(CHESTS_ENDER, CHESTS_TRAPPED, CHESTS_WOODEN);
tag(CHESTS_ENDER).add(Blocks.ENDER_CHEST);
tag(CHESTS_TRAPPED).add(Blocks.TRAPPED_CHEST);