diff --git a/src/main/java/ru/bclib/api/tag/CommonBlockTags.java b/src/main/java/ru/bclib/api/tag/CommonBlockTags.java index 6fb30a7d..b2f6ca50 100644 --- a/src/main/java/ru/bclib/api/tag/CommonBlockTags.java +++ b/src/main/java/ru/bclib/api/tag/CommonBlockTags.java @@ -4,22 +4,23 @@ import net.minecraft.tags.TagKey; import net.minecraft.world.level.block.Block; public class CommonBlockTags { - public static final TagKey BARREL = TagAPI.makeCommonBlockTag("barrel"); - public static final TagKey BOOKSHELVES = TagAPI.makeCommonBlockTag("bookshelves"); - public static final TagKey CHEST = TagAPI.makeCommonBlockTag("chest"); - public static final TagKey END_STONES = TagAPI.makeCommonBlockTag("end_stones"); - public static final TagKey GEN_END_STONES = END_STONES; - public static final TagKey IMMOBILE = TagAPI.makeCommonBlockTag("immobile"); - public static final TagKey LEAVES = TagAPI.makeCommonBlockTag("leaves"); - public static final TagKey NETHERRACK = TagAPI.makeCommonBlockTag("netherrack"); - public static final TagKey NETHER_MYCELIUM = TagAPI.makeCommonBlockTag("nether_mycelium"); - public static final TagKey NETHER_PORTAL_FRAME = TagAPI.makeCommonBlockTag("nether_pframe"); - public static final TagKey NETHER_STONES = TagAPI.makeCommonBlockTag("nether_stones"); - public static final TagKey SAPLINGS = TagAPI.makeCommonBlockTag("saplings"); - public static final TagKey SOUL_GROUND = TagAPI.makeCommonBlockTag("soul_ground"); - public static final TagKey WOODEN_BARREL = TagAPI.makeCommonBlockTag("wooden_barrels"); - public static final TagKey WOODEN_CHEST = TagAPI.makeCommonBlockTag("wooden_chests"); - public static final TagKey WORKBENCHES = TagAPI.makeCommonBlockTag("workbench"); + public static final TagKey BARREL = TagAPI.makeCommonBlockTag("barrel"); + public static final TagKey BOOKSHELVES = TagAPI.makeCommonBlockTag("bookshelves"); + public static final TagKey CHEST = TagAPI.makeCommonBlockTag("chest"); + public static final TagKey END_STONES = TagAPI.makeCommonBlockTag("end_stones"); + public static final TagKey GEN_END_STONES = END_STONES; + public static final TagKey IMMOBILE = TagAPI.makeCommonBlockTag("immobile"); + public static final TagKey LEAVES = TagAPI.makeCommonBlockTag("leaves"); + public static final TagKey NETHERRACK = TagAPI.makeCommonBlockTag("netherrack"); + public static final TagKey NETHER_MYCELIUM = TagAPI.makeCommonBlockTag("nether_mycelium"); + public static final TagKey NETHER_PORTAL_FRAME = TagAPI.makeCommonBlockTag("nether_pframe"); + public static final TagKey NETHER_STONES = TagAPI.makeCommonBlockTag("nether_stones"); + public static final TagKey SAPLINGS = TagAPI.makeCommonBlockTag("saplings"); + public static final TagKey SOUL_GROUND = TagAPI.makeCommonBlockTag("soul_ground"); + public static final TagKey WOODEN_BARREL = TagAPI.makeCommonBlockTag("wooden_barrels"); + public static final TagKey WOODEN_CHEST = TagAPI.makeCommonBlockTag("wooden_chests"); + public static final TagKey WORKBENCHES = TagAPI.makeCommonBlockTag("workbench"); - public static final TagKey MINABLE_WITH_HAMMER = TagAPI.makeCommonBlockTag("mineable/hammer"); + public static final TagKey MINABLE_WITH_HAMMER = TagAPI.makeCommonBlockTag("mineable/hammer"); + public static final TagKey IS_OBSIDIAN = TagAPI.makeCommonBlockTag("is_obsidian"); } diff --git a/src/main/java/ru/bclib/api/tag/NamedBlockTags.java b/src/main/java/ru/bclib/api/tag/NamedBlockTags.java index 5dc301d7..081750e2 100644 --- a/src/main/java/ru/bclib/api/tag/NamedBlockTags.java +++ b/src/main/java/ru/bclib/api/tag/NamedBlockTags.java @@ -1,37 +1,38 @@ package ru.bclib.api.tag; import net.minecraft.world.level.block.Block; + import ru.bclib.api.tag.TagAPI.TagLocation; public class NamedBlockTags { - public static final TagLocation ANVIL = new TagLocation<>("anvil"); - public static final TagLocation BUTTONS = new TagLocation<>("buttons"); - public static final TagLocation CLIMBABLE = new TagLocation<>("climbable"); - public static final TagLocation DOORS = new TagLocation<>("doors"); - public static final TagLocation FENCES = new TagLocation<>("fences"); - public static final TagLocation FENCE_GATES = new TagLocation<>("fence_gates"); - public static final TagLocation LEAVES = new TagLocation<>("leaves"); - public static final TagLocation LOGS = new TagLocation<>("logs"); - public static final TagLocation LOGS_THAT_BURN = new TagLocation<>("logs_that_burn"); - public static final TagLocation NYLIUM = new TagLocation<>("nylium"); - public static final TagLocation PLANKS = new TagLocation<>("planks"); - public static final TagLocation PRESSURE_PLATES = new TagLocation<>("pressure_plates"); - public static final TagLocation SAPLINGS = new TagLocation<>("saplings"); - public static final TagLocation SIGNS = new TagLocation<>("signs"); - public static final TagLocation SLABS = new TagLocation<>("slabs"); - public static final TagLocation STAIRS = new TagLocation<>("stairs"); - public static final TagLocation STONE_PRESSURE_PLATES = new TagLocation<>("stone_pressure_plates"); - public static final TagLocation TRAPDOORS = new TagLocation<>("trapdoors"); - public static final TagLocation WALLS = new TagLocation<>("walls"); - public static final TagLocation WOODEN_BUTTONS = new TagLocation<>("wooden_buttons"); - public static final TagLocation WOODEN_DOORS = new TagLocation<>("wooden_doors"); - public static final TagLocation WOODEN_FENCES = new TagLocation<>("wooden_fences"); - public static final TagLocation WOODEN_PRESSURE_PLATES = new TagLocation<>("wooden_pressure_plates"); - public static final TagLocation WOODEN_SLABS = new TagLocation<>("wooden_slabs"); - public static final TagLocation WOODEN_STAIRS = new TagLocation<>("wooden_stairs"); - public static final TagLocation WOODEN_TRAPDOORS = new TagLocation<>("wooden_trapdoors"); - public static final TagLocation SOUL_FIRE_BASE_BLOCKS = new TagLocation<>("soul_fire_base_blocks"); - public static final TagLocation SOUL_SPEED_BLOCKS = new TagLocation<>("soul_speed_blocks"); - public static final TagLocation BEACON_BASE_BLOCKS = new TagLocation<>("beacon_base_blocks"); - public static final TagLocation STONE_BRICKS = new TagLocation("stone_bricks"); + public static final TagLocation ANVIL = new TagLocation<>("anvil"); + public static final TagLocation BUTTONS = new TagLocation<>("buttons"); + public static final TagLocation CLIMBABLE = new TagLocation<>("climbable"); + public static final TagLocation DOORS = new TagLocation<>("doors"); + public static final TagLocation FENCES = new TagLocation<>("fences"); + public static final TagLocation FENCE_GATES = new TagLocation<>("fence_gates"); + public static final TagLocation LEAVES = new TagLocation<>("leaves"); + public static final TagLocation LOGS = new TagLocation<>("logs"); + public static final TagLocation LOGS_THAT_BURN = new TagLocation<>("logs_that_burn"); + public static final TagLocation NYLIUM = new TagLocation<>("nylium"); + public static final TagLocation PLANKS = new TagLocation<>("planks"); + public static final TagLocation PRESSURE_PLATES = new TagLocation<>("pressure_plates"); + public static final TagLocation SAPLINGS = new TagLocation<>("saplings"); + public static final TagLocation SIGNS = new TagLocation<>("signs"); + public static final TagLocation SLABS = new TagLocation<>("slabs"); + public static final TagLocation STAIRS = new TagLocation<>("stairs"); + public static final TagLocation STONE_PRESSURE_PLATES = new TagLocation<>("stone_pressure_plates"); + public static final TagLocation TRAPDOORS = new TagLocation<>("trapdoors"); + public static final TagLocation WALLS = new TagLocation<>("walls"); + public static final TagLocation WOODEN_BUTTONS = new TagLocation<>("wooden_buttons"); + public static final TagLocation WOODEN_DOORS = new TagLocation<>("wooden_doors"); + public static final TagLocation WOODEN_FENCES = new TagLocation<>("wooden_fences"); + public static final TagLocation WOODEN_PRESSURE_PLATES = new TagLocation<>("wooden_pressure_plates"); + public static final TagLocation WOODEN_SLABS = new TagLocation<>("wooden_slabs"); + public static final TagLocation WOODEN_STAIRS = new TagLocation<>("wooden_stairs"); + public static final TagLocation WOODEN_TRAPDOORS = new TagLocation<>("wooden_trapdoors"); + public static final TagLocation SOUL_FIRE_BASE_BLOCKS = new TagLocation<>("soul_fire_base_blocks"); + public static final TagLocation SOUL_SPEED_BLOCKS = new TagLocation<>("soul_speed_blocks"); + public static final TagLocation BEACON_BASE_BLOCKS = new TagLocation<>("beacon_base_blocks"); + public static final TagLocation STONE_BRICKS = new TagLocation("stone_bricks"); } diff --git a/src/main/java/ru/bclib/api/tag/NamedCommonBlockTags.java b/src/main/java/ru/bclib/api/tag/NamedCommonBlockTags.java index 8640cea1..9780e2ba 100644 --- a/src/main/java/ru/bclib/api/tag/NamedCommonBlockTags.java +++ b/src/main/java/ru/bclib/api/tag/NamedCommonBlockTags.java @@ -1,24 +1,26 @@ package ru.bclib.api.tag; import net.minecraft.world.level.block.Block; + import ru.bclib.api.tag.TagAPI.TagLocation; public class NamedCommonBlockTags { - public static final TagLocation BARREL = new TagLocation<>("c", "barrel"); - public static final TagLocation BOOKSHELVES = new TagLocation<>("c", "bookshelves"); - public static final TagLocation CHEST = new TagLocation<>("c", "chest"); - public static final TagLocation END_STONES = new TagLocation<>("c", "end_stones"); - public static final TagLocation GEN_END_STONES = END_STONES; - public static final TagLocation IMMOBILE = new TagLocation<>("c", "immobile"); - public static final TagLocation LEAVES = new TagLocation<>("c", "leaves"); - public static final TagLocation NETHERRACK = new TagLocation<>("c", "netherrack"); - public static final TagLocation NETHER_MYCELIUM = new TagLocation<>("c", "nether_mycelium"); - public static final TagLocation NETHER_PORTAL_FRAME = new TagLocation<>("c", "nether_pframe"); - public static final TagLocation NETHER_STONES = new TagLocation<>("c", "nether_stones"); - public static final TagLocation SAPLINGS = new TagLocation<>("c", "saplings"); - public static final TagLocation SOUL_GROUND = new TagLocation<>("c", "soul_ground"); - public static final TagLocation WOODEN_BARREL = new TagLocation<>("c", "wooden_barrels"); - public static final TagLocation WOODEN_CHEST = new TagLocation<>("c", "wooden_chests"); - public static final TagLocation WORKBENCHES = new TagLocation<>("c", "workbench"); - public static final TagLocation DRAGON_IMMUNE = new TagLocation<>("c", "dragon_immune"); + public static final TagLocation BARREL = new TagLocation<>("c", "barrel"); + public static final TagLocation BOOKSHELVES = new TagLocation<>("c", "bookshelves"); + public static final TagLocation CHEST = new TagLocation<>("c", "chest"); + public static final TagLocation END_STONES = new TagLocation<>("c", "end_stones"); + public static final TagLocation GEN_END_STONES = END_STONES; + public static final TagLocation IMMOBILE = new TagLocation<>("c", "immobile"); + public static final TagLocation LEAVES = new TagLocation<>("c", "leaves"); + public static final TagLocation NETHERRACK = new TagLocation<>("c", "netherrack"); + public static final TagLocation NETHER_MYCELIUM = new TagLocation<>("c", "nether_mycelium"); + public static final TagLocation NETHER_PORTAL_FRAME = new TagLocation<>("c", "nether_pframe"); + public static final TagLocation NETHER_STONES = new TagLocation<>("c", "nether_stones"); + public static final TagLocation SAPLINGS = new TagLocation<>("c", "saplings"); + public static final TagLocation SOUL_GROUND = new TagLocation<>("c", "soul_ground"); + public static final TagLocation WOODEN_BARREL = new TagLocation<>("c", "wooden_barrels"); + public static final TagLocation WOODEN_CHEST = new TagLocation<>("c", "wooden_chests"); + public static final TagLocation WORKBENCHES = new TagLocation<>("c", "workbench"); + public static final TagLocation DRAGON_IMMUNE = new TagLocation<>("c", "dragon_immune"); + public static final TagLocation IS_OBSIDIAN = new TagLocation<>("c", "is_obsidian"); }