added pillars wall and fixed issues related to multimodel self culling when using multiple models for the same state + unseless caching removed + still no dyn ao :(

This commit is contained in:
2024-04-28 23:19:00 +02:00
parent c6f2244826
commit d5369823d9
42 changed files with 490 additions and 327 deletions

View File

@@ -69,12 +69,12 @@ public abstract class ReFramedDoubleBlock extends ReFramedBlock {
@Override
public VoxelShape getCollisionShape(BlockState state, BlockView view, BlockPos pos, ShapeContext ctx) {
return getCullingShape(state, view, pos);
return isGhost(view, pos) ? empty() : fullCube();
}
@Override
public VoxelShape getCullingShape(BlockState state, BlockView view, BlockPos pos) {
return isGhost(view, pos) ? empty() : fullCube();
return getCollisionShape(state, view, pos, ShapeContext.absent());
}
@Override