getBlockData -> getBlockState

This commit is contained in:
dfsek
2021-12-17 08:38:28 -07:00
parent 7da87c27ee
commit 23fcd4a651
9 changed files with 13 additions and 13 deletions
@@ -58,7 +58,7 @@ public class TerraFlora implements Structure {
private void test(EnumSet<Direction> faces, Direction f, Vector3 b, WritableWorld world) {
if(testRotation.contains(
world.getBlockData(b.getBlockX() + f.getModX(), b.getBlockY() + f.getModY(), b.getBlockZ() + f.getModZ()).getBlockType()))
world.getBlockState(b.getBlockX() + f.getModX(), b.getBlockY() + f.getModY(), b.getBlockZ() + f.getModZ()).getBlockType()))
faces.add(f);
}