Item Render Context
public class ItemRenderContext extends AbstractRenderContext implements RenderContext
Content copied to clipboard
The render context used for item rendering. Does not implement emissive lighting for sake of simplicity in the default renderer.
Constructors
ItemRenderContext
Link copied to clipboard
Types
VanillaQuadHandler
Link copied to clipboard
public interface VanillaQuadHandler
Content copied to clipboard
Functions
fallbackConsumer
Link copied to clipboard
getEmitter
Link copied to clipboard
meshConsumer
Link copied to clipboard
popTransform
Link copied to clipboard
abstract void popTransform()
Content copied to clipboard
void popTransform()
Content copied to clipboard
pushTransform
Link copied to clipboard
renderModel
Link copied to clipboard
void renderModel(ItemStack itemStack, ModelTransformation.Mode transformMode, boolean invert, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int lightmap, int overlay, FabricBakedModel model, ItemRenderContext.VanillaQuadHandler vanillaHandler)
Content copied to clipboard
Sources
jvm source
Link copied to clipboard