Adopted new TagAPI
This commit is contained in:
parent
e6ca1220a2
commit
a1c87165ae
74 changed files with 300 additions and 281 deletions
|
@ -1,7 +1,7 @@
|
|||
package ru.betterend.blocks.basis;
|
||||
|
||||
import net.minecraft.world.level.block.state.BlockState;
|
||||
import ru.bclib.api.TagAPI;
|
||||
import ru.bclib.api.tag.CommonBlockTags;
|
||||
import ru.bclib.blocks.WallMushroomBlock;
|
||||
|
||||
public class EndWallMushroom extends WallMushroomBlock {
|
||||
|
@ -12,6 +12,6 @@ public class EndWallMushroom extends WallMushroomBlock {
|
|||
|
||||
@Override
|
||||
protected boolean isTerrain(BlockState state) {
|
||||
return state.is(TagAPI.BLOCK_END_GROUND);
|
||||
return state.is(CommonBlockTags.END_STONES);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue