ChessMod

ChessMod

104k Downloads

Fix Materials in the Chessboard Block Issues

Captaintom14 opened this issue ยท 1 comments

commented
  • Figuring out the import of Materials in 1.20
commented

In the ChessboardBlock class, I have removed the import of Materials since it no longer exists in 1.20.
I've also removed the Material.STONE in the Properties.of(). Therefore, it should be working according to the build.

public ChessboardBlock() {
super(BlockBehaviour.Properties.of());
this.registerDefaultState(this.stateDefinition.any().setValue(FACING, Direction.NORTH));
}