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
AtlasSource
s.Deprecated.Replaced with transitive access wideners in Fabric Transitive Access Wideners (v1).Use to associate blocks or fluids with block render layer other than default (solid).ColorProviderRegistry<T,Provider> The registry for customColorResolver
s.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.Provides events that give control over the string lists rendered on both sides of theDebugHud
.Deprecated.UseHudElementRegistry
instead.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 special renderers for certain blocks, such that they are used whenLoadedBlockEntityModels.render(net.minecraft.block.Block, net.minecraft.item.ItemDisplayContext, net.minecraft.client.util.math.MatrixStack, net.minecraft.client.render.VertexConsumerProvider, int, int)
is invoked.Allows registering special gui element renderers, used to render custom gui elements beyond the methods available inDrawContext
.A factory to create a newSpecialGuiElementRenderer
instance.Allows registering a mapping fromTooltipData
toTooltipComponent
.Except as noted below, the properties exposed here match the parameters passed toWorldRenderer.render(net.minecraft.client.util.ObjectAllocator, net.minecraft.client.render.RenderTickCounter, boolean, net.minecraft.client.render.Camera, org.joml.Matrix4f, org.joml.Matrix4f, com.mojang.blaze3d.buffers.GpuBufferSlice, org.joml.Vector4f, boolean)
.Used inWorldRenderEvents.BLOCK_OUTLINE
to convey the parameters normally sent toWorldRenderer.drawBlockOutline
.Mods should use these events to introduce custom rendering duringWorldRenderer.render(net.minecraft.client.util.ObjectAllocator, net.minecraft.client.render.RenderTickCounter, boolean, net.minecraft.client.render.Camera, org.joml.Matrix4f, org.joml.Matrix4f, com.mojang.blaze3d.buffers.GpuBufferSlice, org.joml.Vector4f, boolean)
without adding complicated and conflict-prone injections there.