Uses of Class
net.minecraft.client.render.RenderLayer
Package
Description
-
Uses of RenderLayer in net.minecraft.client.font
Modifier and TypeFieldDescriptionprivate final RenderLayer
TextRenderLayerSet.normal
The field for thenormal
record component.private final RenderLayer
TextRenderLayerSet.polygonOffset
The field for thepolygonOffset
record component.private final RenderLayer
TextRenderLayerSet.seeThrough
The field for theseeThrough
record component.Modifier and TypeMethodDescriptionGlyphRenderer.getLayer
(TextRenderer.TextLayerType layerType) TextRenderLayerSet.getRenderLayer
(TextRenderer.TextLayerType layerType) TextRenderLayerSet.normal()
Returns the value of thenormal
record component.TextRenderLayerSet.polygonOffset()
Returns the value of thepolygonOffset
record component.TextRenderLayerSet.seeThrough()
Returns the value of theseeThrough
record component.ModifierConstructorDescriptionTextRenderLayerSet
(RenderLayer renderLayer, RenderLayer renderLayer2, RenderLayer renderLayer3) -
Uses of RenderLayer in net.minecraft.client.gui
Modifier and TypeMethodDescriptionvoid
DrawContext.drawHorizontalLine
(RenderLayer layer, int x1, int x2, int y, int color) void
DrawContext.drawVerticalLine
(RenderLayer layer, int x, int y1, int y2, int color) void
DrawContext.fill
(RenderLayer layer, int x1, int y1, int x2, int y2, int color) void
DrawContext.fill
(RenderLayer layer, int x1, int y1, int x2, int y2, int z, int color) void
DrawContext.fillGradient
(RenderLayer layer, int startX, int startY, int endX, int endY, int colorStart, int colorEnd, int z) -
Uses of RenderLayer in net.minecraft.client.model
Modifier and TypeFieldDescriptionprotected final Function<Identifier,
RenderLayer> Model.layerFactory
Modifier and TypeMethodDescriptionfinal RenderLayer
Model.getLayer
(Identifier texture) Returns the render layer for the corresponding texture. -
Uses of RenderLayer in net.minecraft.client.particle
-
Uses of RenderLayer in net.minecraft.client.render
Modifier and TypeFieldDescriptionprivate static final RenderLayer
RenderLayer.ARMOR_ENTITY_GLINT
private static final RenderLayer
RenderLayer.ARMOR_GLINT
private static final RenderLayer
TexturedRenderLayers.ARMOR_TRIMS_DECAL_RENDER_LAYER
private static final RenderLayer
TexturedRenderLayers.ARMOR_TRIMS_RENDER_LAYER
private static final RenderLayer
TexturedRenderLayers.BANNER_PATTERNS_RENDER_LAYER
private static final RenderLayer
TexturedRenderLayers.BEDS_RENDER_LAYER
private static final RenderLayer
TexturedRenderLayers.CHEST_RENDER_LAYER
private static final RenderLayer
RenderLayer.CUTOUT
private static final RenderLayer
RenderLayer.CUTOUT_MIPPED
private static final RenderLayer
RenderLayer.DIRECT_ENTITY_GLINT
private static final RenderLayer
RenderLayer.DIRECT_GLINT
private static final RenderLayer
RenderLayer.END_GATEWAY
private static final RenderLayer
RenderLayer.END_PORTAL
private static final RenderLayer
TexturedRenderLayers.ENTITY_CUTOUT
private static final RenderLayer
RenderLayer.ENTITY_GLINT
private static final RenderLayer
TexturedRenderLayers.ENTITY_SOLID
private static final RenderLayer
TexturedRenderLayers.ENTITY_TRANSLUCENT_CULL
private static final RenderLayer
RenderLayer.GLINT
private static final RenderLayer
RenderLayer.GLINT_TRANSLUCENT
private static final RenderLayer
TexturedRenderLayers.ITEM_ENTITY_TRANSLUCENT_CULL
private static final RenderLayer
RenderLayer.LEASH
private static final RenderLayer
RenderLayer.LIGHTNING
(package private) static final RenderLayer
MapRenderer.MAP_ICONS_RENDER_LAYER
private final RenderLayer
MapRenderer.MapTexture.renderLayer
private static final RenderLayer
TexturedRenderLayers.SHIELD_PATTERNS_RENDER_LAYER
private static final RenderLayer
TexturedRenderLayers.SHULKER_BOXES_RENDER_LAYER
private static final RenderLayer
TexturedRenderLayers.SIGN_RENDER_LAYER
private static final RenderLayer
RenderLayer.SOLID
private static final RenderLayer
RenderLayer.TEXT_BACKGROUND
private static final RenderLayer
RenderLayer.TEXT_BACKGROUND_SEE_THROUGH
private static final RenderLayer
RenderLayer.TRANSLUCENT
private static final RenderLayer
RenderLayer.TRANSLUCENT_MOVING_BLOCK
private static final RenderLayer
RenderLayer.TRANSLUCENT_NO_CRUMBLING
private static final RenderLayer
RenderLayer.TRIPWIRE
private static final RenderLayer
RenderLayer.WATER_MASK
Modifier and TypeFieldDescriptionprivate final Optional<RenderLayer>
RenderLayer.MultiPhase.affectedOutline
private static final Function<Identifier,
RenderLayer> RenderLayer.ARMOR_CUTOUT_NO_CULL
private static final BiFunction<Identifier,
Boolean, RenderLayer> RenderLayer.BEACON_BEAM
private static final ImmutableList<RenderLayer>
RenderLayer.BLOCK_LAYERS
private static final Map<Block,
RenderLayer> RenderLayers.BLOCKS
private static final Function<Identifier,
RenderLayer> RenderLayer.CRUMBLING
(package private) static final BiFunction<Identifier,
RenderPhase.Cull, RenderLayer> RenderLayer.MultiPhase.CULLING_LAYERS
protected Optional<RenderLayer>
VertexConsumerProvider.Immediate.currentLayer
private static final Function<Identifier,
RenderLayer> RenderLayer.ENTITY_ALPHA
private static final Function<Identifier,
RenderLayer> RenderLayer.ENTITY_CUTOUT
private static final BiFunction<Identifier,
Boolean, RenderLayer> RenderLayer.ENTITY_CUTOUT_NO_CULL
private static final BiFunction<Identifier,
Boolean, RenderLayer> RenderLayer.ENTITY_CUTOUT_NO_CULL_Z_OFFSET
private static final Function<Identifier,
RenderLayer> RenderLayer.ENTITY_DECAL
private static final Function<Identifier,
RenderLayer> RenderLayer.ENTITY_NO_OUTLINE
private static final Function<Identifier,
RenderLayer> RenderLayer.ENTITY_SHADOW
private static final Function<Identifier,
RenderLayer> RenderLayer.ENTITY_SMOOTH_CUTOUT
private static final Function<Identifier,
RenderLayer> RenderLayer.ENTITY_SOLID
private static final BiFunction<Identifier,
Boolean, RenderLayer> RenderLayer.ENTITY_TRANSLUCENT
private static final Function<Identifier,
RenderLayer> RenderLayer.ENTITY_TRANSLUCENT_CULL
private static final BiFunction<Identifier,
Boolean, RenderLayer> RenderLayer.ENTITY_TRANSLUCENT_EMISSIVE
private final SortedMap<RenderLayer,
BufferBuilder> BufferBuilderStorage.entityBuilders
private static final Function<Identifier,
RenderLayer> RenderLayer.EYES
private static final Map<Fluid,
RenderLayer> RenderLayers.FLUIDS
private static final Function<Identifier,
RenderLayer> RenderLayer.ITEM_ENTITY_TRANSLUCENT_CULL
protected final Map<RenderLayer,
BufferBuilder> VertexConsumerProvider.Immediate.layerBuffers
private final Optional<RenderLayer>
RenderLayer.optionalThis
private static final Function<Identifier,
RenderLayer> RenderLayer.TEXT
private static final Function<Identifier,
RenderLayer> RenderLayer.TEXT_INTENSITY
private static final Function<Identifier,
RenderLayer> RenderLayer.TEXT_INTENSITY_POLYGON_OFFSET
private static final Function<Identifier,
RenderLayer> RenderLayer.TEXT_INTENSITY_SEE_THROUGH
private static final Function<Identifier,
RenderLayer> RenderLayer.TEXT_POLYGON_OFFSET
private static final Function<Identifier,
RenderLayer> RenderLayer.TEXT_SEE_THROUGH
Modifier and TypeMethodDescriptionstatic RenderLayer
RenderLayer.createArmorDecalCutoutNoCull
(Identifier texture) static RenderLayer
RenderLayer.getArmorCutoutNoCull
(Identifier texture) static RenderLayer
RenderLayer.getArmorEntityGlint()
static RenderLayer
RenderLayer.getArmorGlint()
static RenderLayer
TexturedRenderLayers.getArmorTrims
(boolean decal) static RenderLayer
TexturedRenderLayers.getBannerPatterns()
static RenderLayer
RenderLayer.getBeaconBeam
(Identifier texture, boolean translucent) static RenderLayer
TexturedRenderLayers.getBeds()
static RenderLayer
RenderLayer.getBlockBreaking
(Identifier texture) static RenderLayer
RenderLayers.getBlockLayer
(BlockState state) static RenderLayer
TexturedRenderLayers.getChest()
static RenderLayer
RenderLayer.getCutout()
static RenderLayer
RenderLayer.getCutoutMipped()
static RenderLayer
RenderLayer.getDebugFilledBox()
static RenderLayer
RenderLayer.getDebugLineStrip
(double lineWidth) static RenderLayer
RenderLayer.getDebugQuads()
static RenderLayer
RenderLayer.getDebugSectionQuads()
static RenderLayer
RenderLayer.getDirectEntityGlint()
static RenderLayer
RenderLayer.getDirectGlint()
static RenderLayer
RenderLayer.getEndGateway()
static RenderLayer
RenderLayer.getEndPortal()
static RenderLayer
RenderLayer.getEnergySwirl
(Identifier texture, float x, float y) static RenderLayer
RenderLayer.getEntityAlpha
(Identifier texture) static RenderLayer
RenderLayers.getEntityBlockLayer
(BlockState state, boolean direct) static RenderLayer
RenderLayer.getEntityCutout
(Identifier texture) static RenderLayer
TexturedRenderLayers.getEntityCutout()
static RenderLayer
RenderLayer.getEntityCutoutNoCull
(Identifier texture) static RenderLayer
RenderLayer.getEntityCutoutNoCull
(Identifier texture, boolean affectsOutline) static RenderLayer
RenderLayer.getEntityCutoutNoCullZOffset
(Identifier texture) static RenderLayer
RenderLayer.getEntityCutoutNoCullZOffset
(Identifier texture, boolean affectsOutline) static RenderLayer
RenderLayer.getEntityDecal
(Identifier texture) static RenderLayer
RenderLayer.getEntityGlint()
static RenderLayer
RenderLayer.getEntityNoOutline
(Identifier texture) static RenderLayer
RenderLayer.getEntityShadow
(Identifier texture) static RenderLayer
RenderLayer.getEntitySmoothCutout
(Identifier texture) static RenderLayer
RenderLayer.getEntitySolid
(Identifier texture) static RenderLayer
TexturedRenderLayers.getEntitySolid()
static RenderLayer
RenderLayer.getEntityTranslucent
(Identifier texture) static RenderLayer
RenderLayer.getEntityTranslucent
(Identifier texture, boolean affectsOutline) static RenderLayer
RenderLayer.getEntityTranslucentCull
(Identifier texture) static RenderLayer
TexturedRenderLayers.getEntityTranslucentCull()
static RenderLayer
RenderLayer.getEntityTranslucentEmissive
(Identifier texture) static RenderLayer
RenderLayer.getEntityTranslucentEmissive
(Identifier texture, boolean affectsOutline) static RenderLayer
RenderLayer.getEyes
(Identifier texture) static RenderLayer
RenderLayers.getFluidLayer
(FluidState state) static RenderLayer
RenderLayer.getGlint()
static RenderLayer
RenderLayer.getGlintTranslucent()
static RenderLayer
RenderLayer.getGui()
static RenderLayer
RenderLayer.getGuiGhostRecipeOverlay()
static RenderLayer
RenderLayer.getGuiOverlay()
static RenderLayer
RenderLayer.getGuiTextHighlight()
static RenderLayer
TexturedRenderLayers.getHangingSign()
static RenderLayer
RenderLayer.getItemEntityTranslucentCull
(Identifier texture) static RenderLayer
TexturedRenderLayers.getItemEntityTranslucentCull()
static RenderLayer
RenderLayers.getItemLayer
(ItemStack stack, boolean direct) static RenderLayer
RenderLayer.getLeash()
static RenderLayer
RenderLayer.getLightning()
static RenderLayer
RenderLayer.getLines()
static RenderLayer
RenderLayer.getLineStrip()
static RenderLayer
RenderLayers.getMovingBlockLayer
(BlockState state) static RenderLayer
RenderLayer.getOutline
(Identifier texture) static RenderLayer
TexturedRenderLayers.getShieldPatterns()
static RenderLayer
TexturedRenderLayers.getShulkerBoxes()
static RenderLayer
TexturedRenderLayers.getSign()
static RenderLayer
RenderLayer.getSolid()
static RenderLayer
RenderLayer.getText
(Identifier texture) static RenderLayer
RenderLayer.getTextBackground()
static RenderLayer
RenderLayer.getTextBackgroundSeeThrough()
static RenderLayer
RenderLayer.getTextIntensity
(Identifier texture) static RenderLayer
RenderLayer.getTextIntensityPolygonOffset
(Identifier texture) static RenderLayer
RenderLayer.getTextIntensitySeeThrough
(Identifier texture) static RenderLayer
RenderLayer.getTextPolygonOffset
(Identifier texture) static RenderLayer
RenderLayer.getTextSeeThrough
(Identifier texture) static RenderLayer
RenderLayer.getTranslucent()
static RenderLayer
RenderLayer.getTranslucentMovingBlock()
static RenderLayer
RenderLayer.getTranslucentNoCrumbling()
static RenderLayer
RenderLayer.getTripwire()
static RenderLayer
RenderLayer.getWaterMask()
Modifier and TypeMethodDescriptionRenderLayer.asOptional()
RenderLayer.getAffectedOutline()
RenderLayer.MultiPhase.getAffectedOutline()
static List<RenderLayer>
RenderLayer.getBlockLayers()
Modifier and TypeMethodDescriptionprivate static void
BufferBuilderStorage.assignBufferBuilder
(Object2ObjectLinkedOpenHashMap<RenderLayer, BufferBuilder> builderStorage, RenderLayer layer) void
VertexConsumerProvider.Immediate.draw
(RenderLayer layer) Draws the contents in thelayer
's buffer.OutlineVertexConsumerProvider.getBuffer
(RenderLayer layer) Starts building a buffer that will be drawn withlayer
.VertexConsumerProvider.getBuffer
(RenderLayer layer) Starts building a buffer that will be drawn withlayer
.VertexConsumerProvider.Immediate.getBuffer
(RenderLayer layer) Starts building a buffer that will be drawn withlayer
.private BufferBuilder
VertexConsumerProvider.Immediate.getBufferInternal
(RenderLayer layer) private void
WorldRenderer.renderLayer
(RenderLayer renderLayer, MatrixStack matrices, double cameraX, double cameraY, double cameraZ, Matrix4f positionMatrix) Modifier and TypeMethodDescriptionprivate static void
BufferBuilderStorage.assignBufferBuilder
(Object2ObjectLinkedOpenHashMap<RenderLayer, BufferBuilder> builderStorage, RenderLayer layer) VertexConsumerProvider.immediate
(Map<RenderLayer, BufferBuilder> layerBuffers, BufferBuilder fallbackBuffer) Returns a vertex consumer provider that immediately draws the current buffer builder when a different render layer is requested exceptlayerBuffers
.ModifierConstructorDescriptionprotected
Immediate
(BufferBuilder fallbackBuffer, Map<RenderLayer, BufferBuilder> layerBuffers) -
Uses of RenderLayer in net.minecraft.client.render.block.entity
Modifier and TypeMethodDescriptionprotected RenderLayer
EndGatewayBlockEntityRenderer.getLayer()
protected RenderLayer
EndPortalBlockEntityRenderer.getLayer()
static RenderLayer
SkullBlockEntityRenderer.getRenderLayer
(SkullBlock.SkullType type, @Nullable com.mojang.authlib.GameProfile profile) Modifier and TypeMethodDescriptionstatic void
SkullBlockEntityRenderer.renderSkull
(@Nullable Direction direction, float yaw, float animationProgress, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, SkullBlockEntityModel model, RenderLayer renderLayer) -
Uses of RenderLayer in net.minecraft.client.render.chunk
Modifier and TypeFieldDescriptionprivate final Map<RenderLayer,
VertexBuffer> ChunkBuilder.BuiltChunk.buffers
ChunkBuilder.BuiltChunk.RebuildTask.RenderData.buffers
private final Map<RenderLayer,
BufferBuilder> BlockBufferBuilderStorage.builders
(package private) final Set<RenderLayer>
ChunkBuilder.ChunkData.nonEmptyLayers
Modifier and TypeMethodDescriptionBlockBufferBuilderStorage.get
(RenderLayer layer) ChunkBuilder.BuiltChunk.getBuffer
(RenderLayer layer) boolean
ChunkBuilder.ChunkData.isEmpty
(RenderLayer layer) boolean
ChunkBuilder.BuiltChunk.scheduleSort
(RenderLayer layer, ChunkBuilder chunkRenderer) -
Uses of RenderLayer in net.minecraft.client.render.entity
Modifier and TypeFieldDescriptionprivate static final RenderLayer
EnderDragonEntityRenderer.CRYSTAL_BEAM_LAYER
private static final RenderLayer
EnderDragonEntityRenderer.DRAGON_CUTOUT
private static final RenderLayer
EnderDragonEntityRenderer.DRAGON_DECAL
private static final RenderLayer
EnderDragonEntityRenderer.DRAGON_EYES
private static final RenderLayer
EndCrystalEntityRenderer.END_CRYSTAL
private static final RenderLayer
DragonFireballEntityRenderer.LAYER
private static final RenderLayer
ExperienceOrbEntityRenderer.LAYER
private static final RenderLayer
FishingBobberEntityRenderer.LAYER
private static final RenderLayer
GuardianEntityRenderer.LAYER
private static final RenderLayer
ShulkerBulletEntityRenderer.LAYER
private static final RenderLayer
EntityRenderDispatcher.SHADOW_LAYER
Modifier and TypeMethodDescriptionprotected @Nullable RenderLayer
ArmorStandEntityRenderer.getRenderLayer
(ArmorStandEntity armorStandEntity, boolean bool, boolean bool2, boolean bool3) protected @Nullable RenderLayer
LivingEntityRenderer.getRenderLayer
(T entity, boolean showBody, boolean translucent, boolean showOutline) Gets the render layer appropriate for rendering the passed entity. -
Uses of RenderLayer in net.minecraft.client.render.entity.feature
Modifier and TypeFieldDescriptionprivate static final RenderLayer
EndermanEyesFeatureRenderer.SKIN
private static final RenderLayer
PhantomEyesFeatureRenderer.SKIN
private static final RenderLayer
SpiderEyesFeatureRenderer.SKIN
Modifier and TypeMethodDescriptionEndermanEyesFeatureRenderer.getEyesTexture()
abstract RenderLayer
EyesFeatureRenderer.getEyesTexture()
PhantomEyesFeatureRenderer.getEyesTexture()
SpiderEyesFeatureRenderer.getEyesTexture()
-
Uses of RenderLayer in net.minecraft.client.render.entity.model
ModifierConstructorDescriptionprotected
AnimalModel
(Function<Identifier, RenderLayer> renderLayerFactory, boolean headScaled, float childHeadYOffset, float childHeadZOffset, float invertedChildHeadScale, float invertedChildBodyScale, float childBodyYOffset) BipedEntityModel
(ModelPart root, Function<Identifier, RenderLayer> renderLayerFactory) CompositeEntityModel
(Function<Identifier, RenderLayer> layerFactory) protected
EntityModel
(Function<Identifier, RenderLayer> layerFactory) SinglePartEntityModel
(Function<Identifier, RenderLayer> layerFactory) SinglePartEntityModelWithChildTransform
(float childScale, float childTranslation, Function<Identifier, RenderLayer> layerFactory) -
Uses of RenderLayer in net.minecraft.client.render.item
Modifier and TypeFieldDescriptionprivate static final RenderLayer
HeldItemRenderer.MAP_BACKGROUND
private static final RenderLayer
HeldItemRenderer.MAP_BACKGROUND_CHECKERBOARD
Modifier and TypeMethodDescriptionstatic VertexConsumer
ItemRenderer.getArmorGlintConsumer
(VertexConsumerProvider provider, RenderLayer layer, boolean solid, boolean glint) static VertexConsumer
ItemRenderer.getDirectDynamicDisplayGlintConsumer
(VertexConsumerProvider provider, RenderLayer layer, MatrixStack.Entry entry) static VertexConsumer
ItemRenderer.getDirectItemGlintConsumer
(VertexConsumerProvider provider, RenderLayer layer, boolean solid, boolean glint) static VertexConsumer
ItemRenderer.getDynamicDisplayGlintConsumer
(VertexConsumerProvider provider, RenderLayer layer, MatrixStack.Entry entry) static VertexConsumer
ItemRenderer.getItemGlintConsumer
(VertexConsumerProvider vertexConsumers, RenderLayer layer, boolean solid, boolean glint) -
Uses of RenderLayer in net.minecraft.client.render.model
Modifier and TypeFieldDescriptionstatic final List<RenderLayer>
ModelLoader.BLOCK_DESTRUCTION_RENDER_LAYERS
-
Uses of RenderLayer in net.minecraft.client.util
Modifier and TypeMethodDescriptionSpriteIdentifier.getRenderLayer
(Function<Identifier, RenderLayer> layerFactory) Modifier and TypeMethodDescriptionSpriteIdentifier.getRenderLayer
(Function<Identifier, RenderLayer> layerFactory) SpriteIdentifier.getVertexConsumer
(VertexConsumerProvider vertexConsumers, Function<Identifier, RenderLayer> layerFactory) SpriteIdentifier.getVertexConsumer
(VertexConsumerProvider vertexConsumers, Function<Identifier, RenderLayer> layerFactory, boolean bool)