Uses of Class
net.minecraft.client.renderer.RenderType
Packages that use RenderType
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
Extension interfaces for
client
-only classes.-
Uses of RenderType in net.minecraft.client.gui
Methods in net.minecraft.client.gui with parameters of type RenderTypeModifier and TypeMethodDescriptionvoid
GuiGraphics.fill
(RenderType pRenderType, int pMinX, int pMinY, int pMaxX, int pMaxY, int pColor) Fills a rectangle with the specified color using the given render type and coordinates as the boundaries.void
GuiGraphics.fill
(RenderType pRenderType, int pMinX, int pMinY, int pMaxX, int pMaxY, int pZ, int pColor) Fills a rectangle with the specified color and z-level using the given render type and coordinates as the boundaries.void
GuiGraphics.fillGradient
(RenderType pRenderType, int pX1, int pY1, int pX2, int pY2, int pColorFrom, int pColorTo, int pZ) Fills a rectangle with a gradient color from colorFrom to colorTo at the specified z-level using the given render type and coordinates as the boundaries.void
GuiGraphics.fillRenderType
(RenderType pRenderType, int pX1, int pY1, int pX2, int pY2, int pZ) void
GuiGraphics.hLine
(RenderType pRenderType, int pMinX, int pMaxX, int pY, int pColor) Draws a horizontal line from minX to maxX at the specified y-coordinate with the given color using the specified render type.void
GuiGraphics.vLine
(RenderType pRenderType, int pX, int pMinY, int pMaxY, int pColor) Draws a vertical line from minY to maxY at the specified x-coordinate with the given color using the specified render type.Method parameters in net.minecraft.client.gui with type arguments of type RenderTypeModifier and TypeMethodDescriptionvoid
GuiGraphics.blit
(Function<ResourceLocation, RenderType> pRenderTypeGetter, ResourceLocation pAtlasLocation, int pX, int pY, float pUOffset, float pVOffset, int pUWidth, int pVHeight, int pTextureWidth, int pTextureHeight) void
GuiGraphics.blit
(Function<ResourceLocation, RenderType> pRenderTypeGetter, ResourceLocation pAtlasLocation, int pX, int pY, float pUOffset, float pVOffset, int pUWidth, int pVHeight, int pTextureWidth, int pTextureHeight, int pColor) void
GuiGraphics.blit
(Function<ResourceLocation, RenderType> pRenderTypeGetter, ResourceLocation pAtlasLocation, int pX, int pY, float pUOffset, float pVOffset, int pUWidth, int pVHeight, int pWidth, int pHeight, int pTextureWidth, int pTextureHeight) void
GuiGraphics.blit
(Function<ResourceLocation, RenderType> pRenderTypeGetter, ResourceLocation pAtlasLocation, int pX, int pY, float pUOffset, float pVOffset, int pUWidth, int pVHeight, int pWidth, int pHeight, int pTextureWidth, int pTextureHeight, int pColor) private void
GuiGraphics.blitNineSlicedSprite
(Function<ResourceLocation, RenderType> pRenderTypeGetter, TextureAtlasSprite pSprite, GuiSpriteScaling.NineSlice pNineSlice, int pX, int pY, int pBlitOffset, int pWidth, int pHeight) private void
GuiGraphics.blitNineSliceInnerSegment
(Function<ResourceLocation, RenderType> pRenderTypeGetter, GuiSpriteScaling.NineSlice pNineSlice, TextureAtlasSprite pSprite, int pX, int pY, int pWidth, int pHeight, int pUPosition, int pVPosition, int pSpriteWidth, int pSpriteHeight, int pNineSliceWidth, int pNineSliceHeight, int pBlitOffset) void
GuiGraphics.blitSprite
(Function<ResourceLocation, RenderType> pRenderTypeGetter, TextureAtlasSprite pSprite, int pX, int pY, int pWidth, int pHeight) void
GuiGraphics.blitSprite
(Function<ResourceLocation, RenderType> pRenderTypeGetter, TextureAtlasSprite pSprite, int pX, int pY, int pWidth, int pHeight, int pBlitOffset) private void
GuiGraphics.blitSprite
(Function<ResourceLocation, RenderType> pRenderTypeGetter, TextureAtlasSprite pSprite, int pTextureWidth, int pTextureHeight, int pUPosition, int pVPosition, int pX, int pY, int pUWidth, int pVHeight, int pBlitOffset) void
GuiGraphics.blitSprite
(Function<ResourceLocation, RenderType> pRenderTypeGetter, ResourceLocation pSprite, int pX, int pY, int pWidth, int pHeight) void
GuiGraphics.blitSprite
(Function<ResourceLocation, RenderType> pRenderTypeGetter, ResourceLocation pSprite, int pX, int pY, int pWidth, int pHeight, int pBlitOffset) void
GuiGraphics.blitSprite
(Function<ResourceLocation, RenderType> pRenderTypeGetter, ResourceLocation pSprite, int pTextureWidth, int pTextureHeight, int pUPosition, int pVPosition, int pX, int pY, int pUWidth, int pVHeight) private void
GuiGraphics.blitTiledSprite
(Function<ResourceLocation, RenderType> pRenderTypeGetter, TextureAtlasSprite pSprite, int pX, int pY, int pWidth, int pHeight, int pUPosition, int pVPosition, int pSpriteWidth, int pSpriteHeight, int pNineSliceWidth, int pNineSliceHeight, int pBlitOffset) private void
GuiGraphics.innerBlit
(Function<ResourceLocation, RenderType> pRenderTypeGetter, ResourceLocation pAtlasLocation, int pX1, int pX2, int pY1, int pY2, float pMinU, float pMaxU, float pMinV, float pMaxV, int pColor) -
Uses of RenderType in net.minecraft.client.gui.font
Fields in net.minecraft.client.gui.font declared as RenderTypeModifier and TypeFieldDescriptionprivate final RenderType
GlyphRenderTypes.normal
The field for thenormal
record component.private final RenderType
GlyphRenderTypes.normalBlur
The field for thenormalBlur
record component.private final RenderType
GlyphRenderTypes.polygonOffset
The field for thepolygonOffset
record component.private final RenderType
GlyphRenderTypes.polygonOffsetBlur
The field for thepolygonOffsetBlur
record component.private final RenderType
GlyphRenderTypes.seeThrough
The field for theseeThrough
record component.private final RenderType
GlyphRenderTypes.seeThroughBlur
The field for theseeThroughBlur
record component.Methods in net.minecraft.client.gui.font that return RenderTypeModifier and TypeMethodDescriptionGlyphRenderTypes.normal()
Returns the value of thenormal
record component.GlyphRenderTypes.normalBlur()
Returns the value of thenormalBlur
record component.GlyphRenderTypes.polygonOffset()
Returns the value of thepolygonOffset
record component.GlyphRenderTypes.polygonOffsetBlur()
Returns the value of thepolygonOffsetBlur
record component.GlyphRenderTypes.seeThrough()
Returns the value of theseeThrough
record component.GlyphRenderTypes.seeThroughBlur()
Returns the value of theseeThroughBlur
record component.GlyphRenderTypes.select
(Font.DisplayMode pDisplayMode) GlyphRenderTypes.select
(Font.DisplayMode pDisplayMode, boolean blur) Neo: returns theRenderType
to use for the givenFont.DisplayMode
and blur settingConstructors in net.minecraft.client.gui.font with parameters of type RenderTypeModifierConstructorDescriptionGlyphRenderTypes
(RenderType normal, RenderType seeThrough, RenderType polygonOffset) Deprecated.GlyphRenderTypes
(RenderType normal, RenderType seeThrough, RenderType polygonOffset, RenderType normalBlur, RenderType seeThroughBlur, RenderType polygonOffsetBlur) Creates an instance of aGlyphRenderTypes
record class. -
Uses of RenderType in net.minecraft.client.gui.font.glyphs
Methods in net.minecraft.client.gui.font.glyphs that return RenderTypeModifier and TypeMethodDescriptionBakedGlyph.renderType
(Font.DisplayMode pDisplayMode) Deprecated.Neo: UseBakedGlyph.renderType(Font.DisplayMode, boolean)
insteadBakedGlyph.renderType
(Font.DisplayMode pDisplayMode, boolean blur) Neo: returns theRenderType
to use for the givenFont.DisplayMode
and blur setting -
Uses of RenderType in net.minecraft.client.model
Fields in net.minecraft.client.model with type parameters of type RenderTypeModifier and TypeFieldDescriptionprotected final Function
<ResourceLocation, RenderType> Model.renderType
Methods in net.minecraft.client.model that return RenderTypeConstructor parameters in net.minecraft.client.model with type arguments of type RenderTypeModifierConstructorDescriptionprotected
EntityModel
(ModelPart pRoot, Function<ResourceLocation, RenderType> p_102613_) HumanoidModel
(ModelPart pRoot, Function<ResourceLocation, RenderType> pRenderType) Model
(ModelPart pRoot, Function<ResourceLocation, RenderType> pRenderType) Simple
(ModelPart pRoot, Function<ResourceLocation, RenderType> pRenderType) -
Uses of RenderType in net.minecraft.client.particle
Fields in net.minecraft.client.particle declared as RenderTypeModifier and TypeFieldDescriptionprivate final RenderType
MobAppearanceParticle.renderType
private final RenderType
ParticleRenderType.renderType
The field for therenderType
record component.Methods in net.minecraft.client.particle that return RenderTypeModifier and TypeMethodDescriptionParticleRenderType.renderType()
Returns the value of therenderType
record component.Constructors in net.minecraft.client.particle with parameters of type RenderTypeModifierConstructorDescriptionParticleRenderType
(String name, RenderType renderType) ParticleRenderType
(String name, RenderType renderType, boolean translucent) Creates an instance of aParticleRenderType
record class. -
Uses of RenderType in net.minecraft.client.renderer
Subclasses of RenderType in net.minecraft.client.rendererModifier and TypeClassDescription(package private) static final class
Fields in net.minecraft.client.renderer declared as RenderTypeModifier and TypeFieldDescriptionstatic final RenderType
RenderType.ARMOR_ENTITY_GLINT
private static final RenderType
Sheets.ARMOR_TRIMS_DECAL_SHEET_TYPE
private static final RenderType
Sheets.ARMOR_TRIMS_SHEET_TYPE
private static final RenderType
Sheets.BANNER_SHEET_TYPE
private static final RenderType
Sheets.BED_SHEET_TYPE
private static final RenderType
Sheets.CHEST_SHEET_TYPE
static final RenderType
RenderType.CUTOUT
private static final RenderType
Sheets.CUTOUT_BLOCK_SHEET
static final RenderType
RenderType.CUTOUT_MIPPED
static final RenderType
RenderType.DRAGON_RAYS
static final RenderType
RenderType.DRAGON_RAYS_DEPTH
static final RenderType
RenderType.END_GATEWAY
static final RenderType
RenderType.END_PORTAL
static final RenderType
RenderType.ENTITY_GLINT
static final RenderType
RenderType.GLINT
static final RenderType
RenderType.GLINT_TRANSLUCENT
protected RenderType
MultiBufferSource.BufferSource.lastSharedType
static final RenderType
RenderType.LEASH
static final RenderType
RenderType.LIGHTNING
private static final RenderType
ItemInHandRenderer.MAP_BACKGROUND
private static final RenderType
ItemInHandRenderer.MAP_BACKGROUND_CHECKERBOARD
private static final RenderType
Sheets.SHIELD_SHEET_TYPE
private static final RenderType
Sheets.SHULKER_BOX_SHEET_TYPE
private static final RenderType
Sheets.SIGN_SHEET_TYPE
static final RenderType
RenderType.SOLID
private static final RenderType
Sheets.SOLID_BLOCK_SHEET
static final RenderType
RenderType.SUNRISE_SUNSET
static final RenderType
RenderType.TEXT_BACKGROUND
static final RenderType
RenderType.TEXT_BACKGROUND_SEE_THROUGH
static final RenderType
RenderType.TRANSLUCENT
private static final RenderType
static final RenderType
RenderType.TRANSLUCENT_MOVING_BLOCK
static final RenderType
RenderType.TRIPWIRE
static final RenderType
RenderType.WATER_MASK
Fields in net.minecraft.client.renderer with type parameters of type RenderTypeModifier and TypeFieldDescriptionstatic final Function
<ResourceLocation, RenderType> RenderType.ARMOR_CUTOUT_NO_CULL
static final Function
<ResourceLocation, RenderType> RenderType.ARMOR_TRANSLUCENT
static final BiFunction
<ResourceLocation, Boolean, RenderType> RenderType.BEACON_BEAM
static final Function
<ResourceLocation, RenderType> RenderType.BLOCK_SCREEN_EFFECT
private final Map
<RenderType, ByteBufferBuilder> SectionBufferBuilderPack.buffers
static final Function
<ResourceLocation, RenderType> RenderType.CELESTIAL
static final ImmutableList
<RenderType> RenderType.CHUNK_BUFFER_LAYERS
static final Function
<ResourceLocation, RenderType> RenderType.CROSSHAIR
static final Function
<ResourceLocation, RenderType> RenderType.CRUMBLING
static final Function
<ResourceLocation, RenderType> RenderType.DRAGON_EXPLOSION_ALPHA
static final Function
<ResourceLocation, RenderType> RenderType.ENTITY_CUTOUT
static final BiFunction
<ResourceLocation, Boolean, RenderType> RenderType.ENTITY_CUTOUT_NO_CULL
static final BiFunction
<ResourceLocation, Boolean, RenderType> RenderType.ENTITY_CUTOUT_NO_CULL_Z_OFFSET
static final Function
<ResourceLocation, RenderType> RenderType.ENTITY_DECAL
static final Function
<ResourceLocation, RenderType> RenderType.ENTITY_NO_OUTLINE
static final Function
<ResourceLocation, RenderType> RenderType.ENTITY_SHADOW
static final Function
<ResourceLocation, RenderType> RenderType.ENTITY_SMOOTH_CUTOUT
static final Function
<ResourceLocation, RenderType> RenderType.ENTITY_SOLID
static final Function
<ResourceLocation, RenderType> RenderType.ENTITY_SOLID_Z_OFFSET_FORWARD
static final BiFunction
<ResourceLocation, Boolean, RenderType> RenderType.ENTITY_TRANSLUCENT
static final BiFunction
<ResourceLocation, Boolean, RenderType> RenderType.ENTITY_TRANSLUCENT_EMISSIVE
static final Function
<ResourceLocation, RenderType> RenderType.EYES
static final Function
<ResourceLocation, RenderType> RenderType.FIRE_SCREEN_EFFECT
protected final SequencedMap
<RenderType, ByteBufferBuilder> MultiBufferSource.BufferSource.fixedBuffers
static final Function
<ResourceLocation, RenderType> RenderType.GUI_OPAQUE_TEXTURED_BACKGROUND
static final Function
<ResourceLocation, RenderType> RenderType.GUI_TEXTURED
static final Function
<ResourceLocation, RenderType> RenderType.GUI_TEXTURED_OVERLAY
static final Function
<ResourceLocation, RenderType> RenderType.ITEM_ENTITY_TRANSLUCENT_CULL
static final Function
<ResourceLocation, RenderType> RenderType.OPAQUE_PARTICLE
private final Optional
<RenderType> RenderType.CompositeRenderType.outline
(package private) static final BiFunction
<ResourceLocation, Boolean, RenderType> RenderType.CompositeRenderType.OUTLINE
private static final List
<RenderType> SectionBufferBuilderPack.RENDER_TYPES
protected final Map
<RenderType, BufferBuilder> MultiBufferSource.BufferSource.startedBuilders
static final Function
<ResourceLocation, RenderType> RenderType.TEXT
static final Function
<ResourceLocation, RenderType> RenderType.TEXT_INTENSITY
static final Function
<ResourceLocation, RenderType> RenderType.TEXT_INTENSITY_POLYGON_OFFSET
static final Function
<ResourceLocation, RenderType> RenderType.TEXT_INTENSITY_SEE_THROUGH
static final Function
<ResourceLocation, RenderType> RenderType.TEXT_POLYGON_OFFSET
static final Function
<ResourceLocation, RenderType> RenderType.TEXT_SEE_THROUGH
static final Function
<ResourceLocation, RenderType> RenderType.TRANSLUCENT_PARTICLE
private static final Map
<Block, RenderType> ItemBlockRenderTypes.TYPE_BY_BLOCK
Deprecated.private static final Map
<Fluid, RenderType> ItemBlockRenderTypes.TYPE_BY_FLUID
Deprecated.static final Function
<ResourceLocation, RenderType> RenderType.VIGNETTE
static final Function
<ResourceLocation, RenderType> RenderType.WEATHER_DEPTH_WRITE
static final Function
<ResourceLocation, RenderType> RenderType.WEATHER_NO_DEPTH_WRITE
Methods in net.minecraft.client.renderer that return RenderTypeModifier and TypeMethodDescriptionstatic RenderType
RenderType.armorCutoutNoCull
(ResourceLocation pLocation) static RenderType
RenderType.armorEntityGlint()
static RenderType
RenderType.armorTranslucent
(ResourceLocation pId) static RenderType
Sheets.armorTrimsSheet
(boolean pDecal) static RenderType
Sheets.bannerSheet()
static RenderType
RenderType.beaconBeam
(ResourceLocation pLocation, boolean pColorFlag) static RenderType
Sheets.bedSheet()
static RenderType
RenderType.blockScreenEffect
(ResourceLocation pTexture) static RenderType
RenderType.breezeEyes
(ResourceLocation pLocation) static RenderType
RenderType.breezeWind
(ResourceLocation pLocation, float pU, float pV) static RenderType
RenderType.celestial
(ResourceLocation pTexture) static RenderType
Sheets.chestSheet()
static RenderType
RenderType.createArmorDecalCutoutNoCull
(ResourceLocation pId) static RenderType
RenderType.crosshair
(ResourceLocation pLocation) static RenderType
RenderType.crumbling
(ResourceLocation pLocation) static RenderType
RenderType.cutout()
static RenderType
Sheets.cutoutBlockSheet()
static RenderType
RenderType.cutoutMipped()
static RenderType
RenderType.debugFilledBox()
static RenderType
RenderType.debugLine
(double pWidth) static RenderType
RenderType.debugLineStrip
(double pWidth) static RenderType
RenderType.debugQuads()
static RenderType
RenderType.debugSectionQuads()
static RenderType
RenderType.debugStructureQuads()
static RenderType
RenderType.debugTriangleFan()
static RenderType
RenderType.dragonExplosionAlpha
(ResourceLocation pId) static RenderType
RenderType.dragonRays()
static RenderType
RenderType.dragonRaysDepth()
static RenderType
RenderType.endGateway()
static RenderType
RenderType.endPortal()
static RenderType
RenderType.energySwirl
(ResourceLocation pLocation, float pU, float pV) static RenderType
RenderType.entityCutout
(ResourceLocation pLocation) static RenderType
RenderType.entityCutoutNoCull
(ResourceLocation pLocation) static RenderType
RenderType.entityCutoutNoCull
(ResourceLocation pLocation, boolean pOutline) static RenderType
RenderType.entityCutoutNoCullZOffset
(ResourceLocation pLocation) static RenderType
RenderType.entityCutoutNoCullZOffset
(ResourceLocation pLocation, boolean pOutline) static RenderType
RenderType.entityDecal
(ResourceLocation pLocation) static RenderType
RenderType.entityGlint()
static RenderType
RenderType.entityNoOutline
(ResourceLocation pLocation) static RenderType
RenderType.entityShadow
(ResourceLocation pLocation) static RenderType
RenderType.entitySmoothCutout
(ResourceLocation pLocation) static RenderType
RenderType.entitySolid
(ResourceLocation pLocation) static RenderType
RenderType.entitySolidZOffsetForward
(ResourceLocation pLocation) static RenderType
RenderType.entityTranslucent
(ResourceLocation pLocation) static RenderType
RenderType.entityTranslucent
(ResourceLocation pLocation, boolean pOutline) static RenderType
RenderType.entityTranslucentEmissive
(ResourceLocation pLocation) static RenderType
RenderType.entityTranslucentEmissive
(ResourceLocation pLocation, boolean pOutline) static RenderType
RenderType.eyes
(ResourceLocation pLocation) static RenderType
RenderType.fireScreenEffect
(ResourceLocation pTexture) static RenderType
ItemBlockRenderTypes.getChunkRenderType
(BlockState pState) Deprecated.Neo: Use invalid input: '{@link net.minecraft.client.renderer.block.model.BlockModelPart#' getRenderType(BlockState)}.static RenderType
ItemBlockRenderTypes.getMovingBlockRenderType
(BlockState pState) Deprecated.Neo: Useinvalid @link
{@link net.neoforged.neoforge.client.RenderTypeHelper#
static RenderType
ItemBlockRenderTypes.getRenderLayer
(FluidState pFluidState) static RenderType
ItemBlockRenderTypes.getRenderType
(ItemStack pStack) Deprecated.Neo: SeeBlockModelWrapper.renderType
.static RenderType
ItemBlockRenderTypes.getRenderType
(BlockState pState) Deprecated.Neo: Useinvalid @link
{@link net.neoforged.neoforge.client.RenderTypeHelper#
static RenderType
RenderType.glint()
static RenderType
RenderType.glintTranslucent()
static RenderType
RenderType.gui()
static RenderType
RenderType.guiGhostRecipeOverlay()
static RenderType
RenderType.guiNauseaOverlay()
static RenderType
RenderType.guiOpaqueTexturedBackground
(ResourceLocation pLocation) static RenderType
RenderType.guiOverlay()
static RenderType
RenderType.guiTextHighlight()
static RenderType
RenderType.guiTextured
(ResourceLocation pLocation) static RenderType
RenderType.guiTexturedOverlay
(ResourceLocation pLocation) static RenderType
Sheets.hangingSignSheet()
static RenderType
RenderType.itemEntityTranslucentCull
(ResourceLocation pLocation) static RenderType
RenderType.leash()
static RenderType
RenderType.lightning()
static RenderType
RenderType.lines()
static RenderType
RenderType.lineStrip()
static RenderType
RenderType.mojangLogo()
static RenderType
RenderType.opaqueParticle
(ResourceLocation pTexture) static RenderType
RenderType.outline
(ResourceLocation pLocation) static RenderType
RenderType.secondaryBlockOutline()
static RenderType
Sheets.shieldSheet()
static RenderType
Sheets.shulkerBoxSheet()
static RenderType
Sheets.signSheet()
static RenderType
RenderType.solid()
static RenderType
Sheets.solidBlockSheet()
static RenderType
RenderType.sunriseSunset()
static RenderType
RenderType.text
(ResourceLocation pLocation) static RenderType
RenderType.textBackground()
static RenderType
RenderType.textBackgroundSeeThrough()
static RenderType
RenderType.textIntensity
(ResourceLocation pId) static RenderType
RenderType.textIntensityPolygonOffset
(ResourceLocation pId) static RenderType
RenderType.textIntensitySeeThrough
(ResourceLocation pId) static RenderType
RenderType.textPolygonOffset
(ResourceLocation pId) static RenderType
RenderType.textSeeThrough
(ResourceLocation pLocation) static RenderType
RenderType.translucent()
static RenderType
Sheets.translucentItemSheet()
static RenderType
RenderType.translucentMovingBlock()
static RenderType
RenderType.translucentParticle
(ResourceLocation pTexture) static RenderType
RenderType.tripwire()
static RenderType
RenderType.vignette
(ResourceLocation pLocation) static RenderType
RenderType.waterMask()
static RenderType
RenderType.weather
(ResourceLocation pTexture, boolean pDepthWrite) Methods in net.minecraft.client.renderer that return types with arguments of type RenderTypeModifier and TypeMethodDescriptionstatic List
<RenderType> RenderType.chunkBufferLayers()
private static Function
<ResourceLocation, RenderType> RenderType.createWeather
(RenderPipeline pRenderPipeline) RenderType.CompositeRenderType.outline()
RenderType.outline()
Methods in net.minecraft.client.renderer with parameters of type RenderTypeModifier and TypeMethodDescriptionSectionBufferBuilderPack.buffer
(RenderType pRenderType) void
MultiBufferSource.BufferSource.endBatch
(RenderType pRenderType) private void
MultiBufferSource.BufferSource.endBatch
(RenderType pRenderType, BufferBuilder pBuilder) MultiBufferSource.BufferSource.getBuffer
(RenderType p_109919_) MultiBufferSource.getBuffer
(RenderType pRenderType) OutlineBufferSource.getBuffer
(RenderType p_109935_) private static void
RenderBuffers.put
(it.unimi.dsi.fastutil.objects.Object2ObjectLinkedOpenHashMap<RenderType, ByteBufferBuilder> pMapBuilders, RenderType pRenderType) private void
LevelRenderer.renderSectionLayer
(RenderType pRenderType, double pX, double pY, double pZ, org.joml.Matrix4f pFrustrumMatrix, org.joml.Matrix4f pProjectionMatrix) static void
ItemBlockRenderTypes.setRenderLayer
(Block block, RenderType type) Deprecated.Set your render type in your block model's JSON (e.g.static void
ItemBlockRenderTypes.setRenderLayer
(Fluid fluid, RenderType type) Helper to set the RenderType for FluidsMethod parameters in net.minecraft.client.renderer with type arguments of type RenderTypeModifier and TypeMethodDescriptionMultiBufferSource.immediateWithBuffers
(SequencedMap<RenderType, ByteBufferBuilder> pFixedBuffers, ByteBufferBuilder pSharedBuffer) private static void
RenderBuffers.put
(it.unimi.dsi.fastutil.objects.Object2ObjectLinkedOpenHashMap<RenderType, ByteBufferBuilder> pMapBuilders, RenderType pRenderType) Constructor parameters in net.minecraft.client.renderer with type arguments of type RenderTypeModifierConstructorDescriptionprotected
BufferSource
(ByteBufferBuilder pSharedBuffer, SequencedMap<RenderType, ByteBufferBuilder> pFixedBuffers) -
Uses of RenderType in net.minecraft.client.renderer.block
Method parameters in net.minecraft.client.renderer.block with type arguments of type RenderTypeModifier and TypeMethodDescriptionvoid
BlockRenderDispatcher.renderBatched
(BlockState p_234356_, BlockPos p_234357_, BlockAndTintGetter p_234358_, PoseStack p_234359_, Function<RenderType, VertexConsumer> bufferLookup, boolean p_234361_, List<BlockModelPart> p_410643_) void
ModelBlockRenderer.tesselateBlock
(BlockAndTintGetter p_234380_, List<BlockModelPart> p_410025_, BlockState p_234382_, BlockPos p_234383_, PoseStack p_234384_, Function<RenderType, VertexConsumer> bufferLookup, boolean p_234386_, int p_234389_) void
ModelBlockRenderer.tesselateWithAO
(BlockAndTintGetter p_234391_, List<BlockModelPart> p_410478_, BlockState p_234393_, BlockPos p_234394_, PoseStack p_234395_, Function<RenderType, VertexConsumer> bufferLookup, boolean p_234397_, int p_234400_) void
ModelBlockRenderer.tesselateWithoutAO
(BlockAndTintGetter p_234402_, List<BlockModelPart> p_410604_, BlockState p_234404_, BlockPos p_234405_, PoseStack p_234406_, Function<RenderType, VertexConsumer> bufferLookup, boolean p_234408_, int p_234411_) -
Uses of RenderType in net.minecraft.client.renderer.block.model
Fields in net.minecraft.client.renderer.block.model declared as RenderTypeModifier and TypeFieldDescriptionprivate final RenderType
SimpleModelWrapper.renderType
The field for therenderType
record component.Methods in net.minecraft.client.renderer.block.model that return RenderTypeModifier and TypeMethodDescriptionSimpleModelWrapper.getRenderType
(BlockState state) SimpleModelWrapper.renderType()
Returns the value of therenderType
record component.Constructors in net.minecraft.client.renderer.block.model with parameters of type RenderTypeModifierConstructorDescriptionSimpleModelWrapper
(QuadCollection quads, boolean useAmbientOcclusion, TextureAtlasSprite particleIcon, RenderType renderType) Creates an instance of aSimpleModelWrapper
record class. -
Uses of RenderType in net.minecraft.client.renderer.blockentity
Methods in net.minecraft.client.renderer.blockentity that return RenderTypeModifier and TypeMethodDescriptionstatic RenderType
SkullBlockRenderer.getRenderType
(SkullBlock.Type pType, ResolvableProfile pProfile) static RenderType
SkullBlockRenderer.getRenderType
(SkullBlock.Type pType, ResolvableProfile pProfile, ResourceLocation pTextureOverride) protected RenderType
TheEndGatewayRenderer.renderType()
protected RenderType
TheEndPortalRenderer.renderType()
Methods in net.minecraft.client.renderer.blockentity with parameters of type RenderTypeModifier and TypeMethodDescriptionstatic void
SkullBlockRenderer.renderSkull
(Direction pDirection, float pYRot, float pMouthAnimation, PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight, SkullModelBase pModel, RenderType pRenderType) -
Uses of RenderType in net.minecraft.client.renderer.chunk
Fields in net.minecraft.client.renderer.chunk with type parameters of type RenderTypeModifier and TypeFieldDescriptionprivate final Map
<RenderType, SectionRenderDispatcher.SectionBuffers> SectionRenderDispatcher.RenderSection.buffers
(package private) final Set
<RenderType> SectionRenderDispatcher.CompiledSection.hasBlocks
final Map
<RenderType, MeshData> SectionCompiler.Results.renderedLayers
Methods in net.minecraft.client.renderer.chunk with parameters of type RenderTypeModifier and TypeMethodDescriptionSectionRenderDispatcher.RenderSection.getBuffers
(RenderType pRenderType) private BufferBuilder
SectionCompiler.getOrBeginLayer
(Map<RenderType, BufferBuilder> pBufferLayers, SectionBufferBuilderPack pSectionBufferBuilderPack, RenderType pRenderType) boolean
SectionRenderDispatcher.CompiledSection.isEmpty
(RenderType pRenderType) SectionRenderDispatcher.RenderSection.uploadSectionIndexBuffer
(ByteBufferBuilder.Result pResult, RenderType pRenderType) SectionRenderDispatcher.RenderSection.uploadSectionLayer
(RenderType pRenderType, MeshData pMeshData) Method parameters in net.minecraft.client.renderer.chunk with type arguments of type RenderTypeModifier and TypeMethodDescriptionprivate BufferBuilder
SectionCompiler.getOrBeginLayer
(Map<RenderType, BufferBuilder> pBufferLayers, SectionBufferBuilderPack pSectionBufferBuilderPack, RenderType pRenderType) -
Uses of RenderType in net.minecraft.client.renderer.entity
Fields in net.minecraft.client.renderer.entity declared as RenderTypeModifier and TypeFieldDescriptionprivate static final RenderType
EnderDragonRenderer.BEAM
private static final RenderType
GuardianRenderer.BEAM_RENDER_TYPE
private static final RenderType
EnderDragonRenderer.DECAL
private static final RenderType
EnderDragonRenderer.EYES
private static final RenderType
DragonFireballRenderer.RENDER_TYPE
private static final RenderType
EndCrystalRenderer.RENDER_TYPE
private static final RenderType
EnderDragonRenderer.RENDER_TYPE
private static final RenderType
ExperienceOrbRenderer.RENDER_TYPE
private static final RenderType
FishingHookRenderer.RENDER_TYPE
private static final RenderType
ShulkerBulletRenderer.RENDER_TYPE
private static final RenderType
EntityRenderDispatcher.SHADOW_RENDER_TYPE
Methods in net.minecraft.client.renderer.entity that return RenderTypeModifier and TypeMethodDescriptionprotected RenderType
ArmorStandRenderer.getRenderType
(ArmorStandRenderState p_364565_, boolean p_113794_, boolean p_113795_, boolean p_113796_) protected RenderType
LivingEntityRenderer.getRenderType
(S pRenderState, boolean pIsVisible, boolean pRenderTranslucent, boolean pAppearsGlowing) protected abstract RenderType
AbstractBoatRenderer.renderType()
protected RenderType
BoatRenderer.renderType()
protected RenderType
RaftRenderer.renderType()
Methods in net.minecraft.client.renderer.entity with parameters of type RenderTypeModifier and TypeMethodDescriptionstatic VertexConsumer
ItemRenderer.getArmorFoilBuffer
(MultiBufferSource pBufferSource, RenderType pRenderType, boolean pHasFoil) private static VertexConsumer
ItemRenderer.getCompassFoilBuffer
(MultiBufferSource pBufferSource, RenderType pRenderType, PoseStack.Pose pPose) static VertexConsumer
ItemRenderer.getFoilBuffer
(MultiBufferSource pBufferSource, RenderType pRenderType, boolean pIsItem, boolean pGlint) static void
ItemRenderer.renderItem
(ItemDisplayContext pDisplayContext, PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight, int pPackedOverlay, int[] pTintLayers, List<BakedQuad> pQuads, RenderType pRenderType, ItemStackRenderState.FoilType pFoilType) -
Uses of RenderType in net.minecraft.client.renderer.entity.layers
Fields in net.minecraft.client.renderer.entity.layers declared as RenderTypeModifier and TypeFieldDescriptionprivate static final RenderType
BreezeEyesLayer.BREEZE_EYES
private static final RenderType
EnderEyesLayer.ENDERMAN_EYES
private static final RenderType
PhantomEyesLayer.PHANTOM_EYES
private static final RenderType
SpiderEyesLayer.SPIDER_EYES
Fields in net.minecraft.client.renderer.entity.layers with type parameters of type RenderTypeModifier and TypeFieldDescriptionprivate final Function
<ResourceLocation, RenderType> LivingEntityEmissiveLayer.bufferProvider
Methods in net.minecraft.client.renderer.entity.layers that return RenderTypeModifier and TypeMethodDescriptionEnderEyesLayer.renderType()
abstract RenderType
EyesLayer.renderType()
PhantomEyesLayer.renderType()
SpiderEyesLayer.renderType()
Constructor parameters in net.minecraft.client.renderer.entity.layers with type arguments of type RenderTypeModifierConstructorDescriptionLivingEntityEmissiveLayer
(RenderLayerParent<S, M> pRenderer, ResourceLocation pTexture, LivingEntityEmissiveLayer.AlphaFunction<S> pAlphaFunction, LivingEntityEmissiveLayer.DrawSelector<S, M> pDrawSelector, Function<ResourceLocation, RenderType> pBufferProvider, boolean pAlwaysVisible) -
Uses of RenderType in net.minecraft.client.renderer.item
Fields in net.minecraft.client.renderer.item declared as RenderTypeModifier and TypeFieldDescriptionprivate final RenderType
BlockModelWrapper.renderType
private RenderType
ItemStackRenderState.LayerRenderState.renderType
Methods in net.minecraft.client.renderer.item with parameters of type RenderTypeModifier and TypeMethodDescriptionvoid
ItemStackRenderState.LayerRenderState.setRenderType
(RenderType pRenderType) Constructors in net.minecraft.client.renderer.item with parameters of type RenderTypeModifierConstructorDescriptionBlockModelWrapper
(List<ItemTintSource> pTints, List<BakedQuad> pQuads, ModelRenderProperties pProperties, RenderType renderType) -
Uses of RenderType in net.minecraft.client.resources.model
Fields in net.minecraft.client.resources.model declared as RenderTypeFields in net.minecraft.client.resources.model with type parameters of type RenderTypeMethods in net.minecraft.client.resources.model that return RenderTypeModifier and TypeMethodDescriptionMaterial.renderType
(Function<ResourceLocation, RenderType> pRenderTypeGetter) Method parameters in net.minecraft.client.resources.model with type arguments of type RenderTypeModifier and TypeMethodDescriptionMaterial.buffer
(MultiBufferSource pBufferSource, Function<ResourceLocation, RenderType> pRenderTypeGetter) Material.buffer
(MultiBufferSource pBufferSource, Function<ResourceLocation, RenderType> pRenderTypeGetter, boolean pNoEntity, boolean pWithGlint) Material.renderType
(Function<ResourceLocation, RenderType> pRenderTypeGetter) -
Uses of RenderType in net.neoforged.neoforge.client
Fields in net.neoforged.neoforge.client declared as RenderTypeModifier and TypeFieldDescriptionprivate final RenderType
RenderTypeGroup.block
The field for theblock
record component.private final RenderType
RenderTypeGroup.entity
The field for theentity
record component.Fields in net.neoforged.neoforge.client with type parameters of type RenderTypeModifier and TypeFieldDescriptionstatic Function
<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.LAYERED_ITEM_CUTOUT
static Function
<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.LAYERED_ITEM_CUTOUT_MIPPED
static Function
<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.LAYERED_ITEM_SOLID
static Function
<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.LAYERED_ITEM_TRANSLUCENT
private final Supplier
<RenderType> NeoForgeRenderTypes.renderTypeSupplier
static Function
<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.TEXT_FILTERED
static Function
<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.TEXT_INTENSITY_FILTERED
static Function
<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.TEXT_INTENSITY_POLYGON_OFFSET_FILTERED
static Function
<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.TEXT_INTENSITY_SEETHROUGH_FILTERED
static Function
<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.TEXT_POLYGON_OFFSET_FILTERED
static Function
<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.TEXT_SEETHROUGH_FILTERED
static Function
<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.TRANSLUCENT_PARTICLES_TARGET
static Function
<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.UNLIT_TRANSLUCENT_SORTED
static Function
<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.UNLIT_TRANSLUCENT_UNSORTED
static Function
<ResourceLocation, RenderType> NeoForgeRenderTypes.Internal.UNSORTED_TRANSLUCENT
Methods in net.neoforged.neoforge.client that return RenderTypeModifier and TypeMethodDescriptionRenderTypeGroup.block()
Returns the value of theblock
record component.RenderTypeGroup.entity()
Returns the value of theentity
record component.NeoForgeRenderTypes.get()
static RenderType
NeoForgeRenderTypes.getEntityCutoutMipped
(ResourceLocation textureLocation) static RenderType
RenderTypeHelper.getEntityRenderType
(RenderType chunkRenderType) Provides aRenderType
usingDefaultVertexFormat.NEW_ENTITY
for the givenDefaultVertexFormat.BLOCK
format.static RenderType
NeoForgeRenderTypes.getItemLayeredCutout
(ResourceLocation textureLocation) static RenderType
NeoForgeRenderTypes.getItemLayeredCutoutMipped
(ResourceLocation textureLocation) static RenderType
NeoForgeRenderTypes.getItemLayeredSolid
(ResourceLocation textureLocation) static RenderType
NeoForgeRenderTypes.getItemLayeredTranslucent
(ResourceLocation textureLocation) static RenderType
RenderTypeHelper.getMovingBlockRenderType
(RenderType renderType) Provides aRenderType
fit for rendering moving blocks given the specified chunk render type.static RenderType
NeoForgeRenderTypes.getTextFiltered
(ResourceLocation locationIn) private static RenderType
NeoForgeRenderTypes.Internal.getTextFiltered
(ResourceLocation locationIn) static RenderType
NeoForgeRenderTypes.getTextIntensityFiltered
(ResourceLocation locationIn) private static RenderType
NeoForgeRenderTypes.Internal.getTextIntensityFiltered
(ResourceLocation locationIn) static RenderType
NeoForgeRenderTypes.getTextIntensityPolygonOffsetFiltered
(ResourceLocation locationIn) private static RenderType
NeoForgeRenderTypes.Internal.getTextIntensityPolygonOffsetFiltered
(ResourceLocation locationIn) static RenderType
NeoForgeRenderTypes.getTextIntensitySeeThroughFiltered
(ResourceLocation locationIn) private static RenderType
NeoForgeRenderTypes.Internal.getTextIntensitySeeThroughFiltered
(ResourceLocation locationIn) static RenderType
NeoForgeRenderTypes.getTextPolygonOffsetFiltered
(ResourceLocation locationIn) private static RenderType
NeoForgeRenderTypes.Internal.getTextPolygonOffsetFiltered
(ResourceLocation locationIn) static RenderType
NeoForgeRenderTypes.getTextSeeThroughFiltered
(ResourceLocation locationIn) private static RenderType
NeoForgeRenderTypes.Internal.getTextSeeThroughFiltered
(ResourceLocation locationIn) static RenderType
NeoForgeRenderTypes.getTranslucentParticlesTarget
(ResourceLocation locationIn) private static RenderType
NeoForgeRenderTypes.Internal.getTranslucentParticlesTarget
(ResourceLocation locationIn) static RenderType
NeoForgeRenderTypes.getUnlitTranslucent
(ResourceLocation textureLocation) static RenderType
NeoForgeRenderTypes.getUnlitTranslucent
(ResourceLocation textureLocation, boolean sortingEnabled) static RenderType
NeoForgeRenderTypes.getUnsortedTranslucent
(ResourceLocation textureLocation) private static RenderType
NeoForgeRenderTypes.Internal.layeredItemCutout
(ResourceLocation locationIn) private static RenderType
NeoForgeRenderTypes.Internal.layeredItemCutoutMipped
(ResourceLocation locationIn) private static RenderType
NeoForgeRenderTypes.Internal.layeredItemSolid
(ResourceLocation locationIn) private static RenderType
NeoForgeRenderTypes.Internal.layeredItemTranslucent
(ResourceLocation locationIn) private static RenderType
NeoForgeRenderTypes.Internal.unlitTranslucent
(ResourceLocation textureLocation, boolean sortingEnabled) private static RenderType
NeoForgeRenderTypes.Internal.unsortedTranslucent
(ResourceLocation textureLocation) Methods in net.neoforged.neoforge.client with parameters of type RenderTypeModifier and TypeMethodDescriptionstatic void
ClientHooks.dispatchRenderStage
(RenderType renderType, Level level, LevelRenderer levelRenderer, org.joml.Matrix4f modelViewMatrix, org.joml.Matrix4f projectionMatrix, int renderTick, Camera camera, Frustum frustum) static RenderType
RenderTypeHelper.getEntityRenderType
(RenderType chunkRenderType) Provides aRenderType
usingDefaultVertexFormat.NEW_ENTITY
for the givenDefaultVertexFormat.BLOCK
format.static RenderType
RenderTypeHelper.getMovingBlockRenderType
(RenderType renderType) Provides aRenderType
fit for rendering moving blocks given the specified chunk render type.Method parameters in net.neoforged.neoforge.client with type arguments of type RenderTypeModifier and TypeMethodDescriptionstatic void
ClientHooks.addAdditionalGeometry
(List<AddSectionGeometryEvent.AdditionalSectionRenderer> additionalRenderers, Function<RenderType, VertexConsumer> getOrCreateBuilder, RenderChunkRegion region, PoseStack transformation) Constructors in net.neoforged.neoforge.client with parameters of type RenderTypeModifierConstructorDescriptionRenderTypeGroup
(RenderType block, RenderType entity) Creates an instance of aRenderTypeGroup
record class.Constructor parameters in net.neoforged.neoforge.client with type arguments of type RenderTypeModifierConstructorDescriptionprivate
NeoForgeRenderTypes
(Supplier<RenderType> renderTypeSupplier) -
Uses of RenderType in net.neoforged.neoforge.client.event
Fields in net.neoforged.neoforge.client.event with type parameters of type RenderTypeModifier and TypeFieldDescriptionprivate final Function
<RenderType, VertexConsumer> AddSectionGeometryEvent.SectionRenderingContext.getOrCreateLayer
private static final Map
<RenderType, RenderLevelStageEvent.Stage> RenderLevelStageEvent.Stage.RENDER_TYPE_STAGES
private final SequencedMap
<RenderType, ByteBufferBuilder> RegisterRenderBuffersEvent.renderBuffers
Methods in net.neoforged.neoforge.client.event with parameters of type RenderTypeModifier and TypeMethodDescriptionstatic @Nullable RenderLevelStageEvent.Stage
RenderLevelStageEvent.Stage.fromRenderType
(RenderType renderType) Returns the stage bound to the render type, or null if no value is present.AddSectionGeometryEvent.SectionRenderingContext.getOrCreateChunkBuffer
(RenderType type) Returns the builder for the given render type/layer in the chunk section.void
RegisterNamedRenderTypesEvent.register
(ResourceLocation key, RenderType blockRenderType, RenderType entityRenderType) Registers a namedRenderTypeGroup
.RenderLevelStageEvent.RegisterStageEvent.register
(ResourceLocation name, @Nullable RenderType renderType) private static RenderLevelStageEvent.Stage
RenderLevelStageEvent.Stage.register
(String name, @Nullable RenderType renderType) private static RenderLevelStageEvent.Stage
RenderLevelStageEvent.Stage.register
(ResourceLocation name, @Nullable RenderType renderType) void
RegisterRenderBuffersEvent.registerRenderBuffer
(RenderType renderType) Registers a default render buffer with buffer size specified in the render type.void
RegisterRenderBuffersEvent.registerRenderBuffer
(RenderType renderType, ByteBufferBuilder renderBuffer) Registers a render buffer for specified render type.Constructor parameters in net.neoforged.neoforge.client.event with type arguments of type RenderTypeModifierConstructorDescriptionRegisterRenderBuffersEvent
(SequencedMap<RenderType, ByteBufferBuilder> renderBuffers) SectionRenderingContext
(Function<RenderType, VertexConsumer> getOrCreateLayer, BlockAndTintGetter region, PoseStack poseStack) -
Uses of RenderType in net.neoforged.neoforge.client.extensions
Methods in net.neoforged.neoforge.client.extensions that return RenderTypeModifier and TypeMethodDescriptiondefault RenderType
BlockModelPartExtension.getRenderType
(BlockState state) Gets the set ofrender types
to use when drawing this block in the level.
GlyphRenderTypes(net.minecraft.client.renderer.RenderType,net.minecraft.client.renderer.RenderType,net.minecraft.client.renderer.RenderType,net.minecraft.client.renderer.RenderType,net.minecraft.client.renderer.RenderType,net.minecraft.client.renderer.RenderType)
instead