Interface FabricBlockModelRenderState
public interface FabricBlockModelRenderState
Note: This interface is automatically implemented on
BlockModelRenderState via Mixin and interface injection.-
Method Summary
Modifier and TypeMethodDescriptiondefault QuadEmittersetupMesh(org.joml.Matrix4fc transformation, boolean hasTranslucency) Alternative toBlockModelRenderState.setupModel(Matrix4fc, boolean)that returns aQuadEmitterthat adds geometry to this state.
-
Method Details
-
setupMesh
Alternative toBlockModelRenderState.setupModel(Matrix4fc, boolean)that returns aQuadEmitterthat adds geometry to this state. Calling this method a second time clears all previously added geometry and any changes made to the emitter.Calling this method or
BlockModelRenderState.setupModel(Matrix4fc, boolean)clears both this state's vanilla model parts and mesh (whose quad emitter is returned by this method). If you must use both vanilla model parts and a quad emitter, use this method in conjunction withFabricBlockStateModelPart.emitQuads(QuadEmitter, Predicate).- Returns:
- a quad emitter that appends geometry to this state.
-