feat: more axiom support (connected textures and culling in selections) + newer version

This commit is contained in:
2024-06-13 22:51:05 +02:00
parent ce650abc76
commit b88a4abfe5
12 changed files with 364 additions and 110 deletions

View File

@@ -125,6 +125,7 @@ public abstract class RetexturingBakedModel extends ForwardingBakedModel {
@Override
public void emitBlockQuads(BlockRenderView world, BlockState state, BlockPos pos, Supplier<Random> randomSupplier, RenderContext context) {
BlockState theme = (world.getBlockEntity(pos) instanceof ThemeableBlockEntity s) ? s.getTheme(theme_index) : null;
QuadEmitter quad_emitter = context.getEmitter();
if(theme == null || theme.isAir()) {
getRetexturedMesh(