- All Superinterfaces:
net.fabricmc.fabric.api.renderer.v1.render.RenderContext
public interface PartRenderContext
extends net.fabricmc.fabric.api.renderer.v1.render.RenderContext
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.fabricmc.fabric.api.renderer.v1.render.RenderContext
net.fabricmc.fabric.api.renderer.v1.render.RenderContext.QuadTransform
-
Method Summary
-
Method Details
-
net.fabricmc.fabric.api.renderer.v1.render.RenderContext getRealRenderContext()
- Returns:
- The backing
RenderContext
that is used for this.
-
-
boolean shouldQuadsBeLit()
- Returns:
- True if the quads emitted to this render context should be pre-lit according to their direction (for
block models) or not (for item models).
-
default java.util.function.Consumer<net.fabricmc.fabric.api.renderer.v1.mesh.Mesh> meshConsumer()
- Specified by:
meshConsumer
in interface net.fabricmc.fabric.api.renderer.v1.render.RenderContext
-
default java.util.function.Consumer<net.minecraft.client.render.model.BakedModel> fallbackConsumer()
- Specified by:
fallbackConsumer
in interface net.fabricmc.fabric.api.renderer.v1.render.RenderContext
-
default net.fabricmc.fabric.api.renderer.v1.mesh.QuadEmitter getEmitter()
- Specified by:
getEmitter
in interface net.fabricmc.fabric.api.renderer.v1.render.RenderContext
-
default void pushTransform(net.fabricmc.fabric.api.renderer.v1.render.RenderContext.QuadTransform transform)
- Specified by:
pushTransform
in interface net.fabricmc.fabric.api.renderer.v1.render.RenderContext
-
default void popTransform()
- Specified by:
popTransform
in interface net.fabricmc.fabric.api.renderer.v1.render.RenderContext