Package net.fabricmc.fabric.api.client.rendering.v1
package net.fabricmc.fabric.api.client.rendering.v1
-
ClassDescriptionArmor renderers render worn armor items with custom code.A registry for custom
AtlasSourceType
s.Deprecated.Replaced with transitive access wideners in Fabric Transitive Access Wideners (v1).Deprecated.Please useBuiltinItemRendererRegistry.DynamicItemRenderer
instead.This registry holds builtin item renderers for items.Dynamic item renderers render items with custom code.ColorProviderRegistry<T,Provider> The registry for customColorResolver
s.Called when core shaders (shader programs loaded fromassets/<namespace>/shaders/core
) are loaded to register custom modded shaders.A context object used to create and register core shader programs.Dimensional renderers render world specific visuals of a world.A helpers for registering entity model layers and providers for the layer's textured model data.Helper class for registering EntityRenderers.Called when the world renderer reloads, usually as result of changing resource pack or video configuration, or when the player types F3+A in the debug screen.Called whenfeature renderers
for aliving entity renderer
are registered.A delegate object used to help register feature renderers for an entity renderer.Events related to living entityFeatureRenderer
s.Allows registering a mapping fromTooltipData
toTooltipComponent
.Except as noted below, the properties exposed here match the parameters passed toWorldRenderer.render(float, long, boolean, net.minecraft.client.render.Camera, net.minecraft.client.render.GameRenderer, net.minecraft.client.render.LightmapTextureManager, org.joml.Matrix4f, org.joml.Matrix4f)
.Used inBLOCK_OUTLINE
to convey the parameters normally sent toWorldRenderer.drawBlockOutline
.Mods should use these events to introduce custom rendering duringWorldRenderer.render(float, long, boolean, net.minecraft.client.render.Camera, net.minecraft.client.render.GameRenderer, net.minecraft.client.render.LightmapTextureManager, org.joml.Matrix4f, org.joml.Matrix4f)
without adding complicated and conflict-prone injections there.