[Change] Basalt no longer counts as terrain
This commit is contained in:
parent
44a65e8bae
commit
37a26f25bb
2 changed files with 13 additions and 3 deletions
|
@ -22,6 +22,10 @@ public class BlockPredicates {
|
|||
);
|
||||
public static final BlockPredicate ONLY_SOUL_GROUND = BlockPredicate.matchesTag(CommonBlockTags.SOUL_GROUND);
|
||||
public static final BlockPredicate ONLY_NETHER_GROUND = BlockPredicate.matchesTag(CommonBlockTags.NETHER_TERRAIN);
|
||||
public static final BlockPredicate ONLY_NETHER_GROUND_AND_BASALT = BlockPredicate.anyOf(
|
||||
ONLY_NETHER_GROUND,
|
||||
BlockPredicate.matchesBlocks(Blocks.BASALT)
|
||||
);
|
||||
public static final BlockPredicate ONLY_GROUND = BlockPredicate.matchesTag(CommonBlockTags.TERRAIN);
|
||||
|
||||
public static final BlockPredicate ONLY_LAVA = BlockPredicate.matchesFluids(Fluids.LAVA);
|
||||
|
|
|
@ -86,13 +86,13 @@ public class CommonBlockTags {
|
|||
Blocks.GRAVEL,
|
||||
Blocks.RED_SAND,
|
||||
Blocks.GLOWSTONE,
|
||||
Blocks.BONE_BLOCK
|
||||
Blocks.BONE_BLOCK,
|
||||
Blocks.BLACKSTONE
|
||||
);
|
||||
TagManager.BLOCKS.addOtherTags(
|
||||
NETHER_TERRAIN,
|
||||
NETHERRACK,
|
||||
BlockTags.NYLIUM,
|
||||
NETHER_STONES,
|
||||
NETHER_ORES,
|
||||
SOUL_GROUND,
|
||||
NETHER_MYCELIUM
|
||||
|
@ -101,7 +101,13 @@ public class CommonBlockTags {
|
|||
TagManager.BLOCKS.add(CommonBlockTags.BOOKSHELVES, Blocks.BOOKSHELF);
|
||||
TagManager.BLOCKS.add(CommonBlockTags.CHEST, Blocks.CHEST);
|
||||
|
||||
TagManager.BLOCKS.add(BlockTags.NETHER_CARVER_REPLACEABLES, Blocks.RED_SAND, Blocks.MAGMA_BLOCK, Blocks.SCULK);
|
||||
TagManager.BLOCKS.add(
|
||||
BlockTags.NETHER_CARVER_REPLACEABLES,
|
||||
Blocks.BASALT,
|
||||
Blocks.RED_SAND,
|
||||
Blocks.MAGMA_BLOCK,
|
||||
Blocks.SCULK
|
||||
);
|
||||
TagManager.BLOCKS.addOtherTags(
|
||||
BlockTags.NETHER_CARVER_REPLACEABLES,
|
||||
CommonBlockTags.NETHER_STONES,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue