Fixed scripted block rendering

This commit is contained in:
Goodbird committed 2024-01-21 18:48:22 +03:00
1 parent e2634cd4ec
commit 9fb58981c4
2 files changed
+48 -17

No files matched your search

@@ -100,12 +100,20 @@ public class BlockScripted extends BlockContainer {
}
@Override
public boolean isOpaqueCube() {
public boolean canRenderInPass(int pass) {
return false;
}
@Override
public boolean isNormalCube() {
public int getRenderType() {
return 0;
}
@Override
public boolean isOpaqueCube() {
return false;
}
public boolean renderAsNormalBlock() {
return false;
}