else if (block instanceof FacingBlock) { return block.getDefaultState() .with(FacingBlock.FACING, Direction.byId(code)); } return null; } }
currently it only checks for limited types, but adding this line it should be able to adjust other facingblocks too?