[Change] Added BehaviourBuilders
to replace the deprecated Block-Material
System
This commit is contained in:
parent
e656bce991
commit
4a74a44422
20 changed files with 144 additions and 95 deletions
|
@ -61,7 +61,7 @@ public abstract class BaseWallPlantBlock extends BasePlantBlock {
|
|||
}
|
||||
|
||||
public boolean isSupport(LevelReader world, BlockPos pos, BlockState blockState, Direction direction) {
|
||||
return blockState.getMaterial().isSolid() && blockState.isFaceSturdy(world, pos, direction);
|
||||
return blockState.isSolid() && blockState.isFaceSturdy(world, pos, direction);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue