Package net.minecraft.client.renderer
Class RenderType
java.lang.Object
net.minecraft.client.renderer.RenderStateShard
net.minecraft.client.renderer.RenderType
- Direct Known Subclasses:
RenderType.CompositeRenderType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static final class
static final class
static enum
Nested classes/interfaces inherited from class net.minecraft.client.renderer.RenderStateShard
RenderStateShard.BooleanStateShard, RenderStateShard.EmptyTextureStateShard, RenderStateShard.LayeringStateShard, RenderStateShard.LightmapStateShard, RenderStateShard.LineStateShard, RenderStateShard.MultiTextureStateShard, RenderStateShard.OffsetTexturingStateShard, RenderStateShard.OutputStateShard, RenderStateShard.OverlayStateShard, RenderStateShard.TextureStateShard, RenderStateShard.TexturingStateShard
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal boolean
static final Function
<ResourceLocation, RenderType> static final RenderType
static final Function
<ResourceLocation, RenderType> static final BiFunction
<ResourceLocation, Boolean, RenderType> static final int
static final Function
<ResourceLocation, RenderType> final int
static final Function
<ResourceLocation, RenderType> static final com.google.common.collect.ImmutableList
<RenderType> private int
static final Function
<ResourceLocation, RenderType> static final Function
<ResourceLocation, RenderType> static final RenderType
static final RenderType
static final RenderType.CompositeRenderType
static final Function
<Double, RenderType.CompositeRenderType> static final Function
<Double, RenderType.CompositeRenderType> static final RenderType.CompositeRenderType
static final RenderType.CompositeRenderType
static final RenderType.CompositeRenderType
static final RenderType.CompositeRenderType
static final Function
<ResourceLocation, RenderType> static final RenderType
static final RenderType
static final RenderType
static final RenderType
static final Function
<ResourceLocation, RenderType> static final BiFunction
<ResourceLocation, Boolean, RenderType> static final BiFunction
<ResourceLocation, Boolean, RenderType> static final Function
<ResourceLocation, RenderType> static final RenderType
static final Function
<ResourceLocation, RenderType> static final Function
<ResourceLocation, RenderType> static final Function
<ResourceLocation, RenderType> static final Function
<ResourceLocation, RenderType> static final Function
<ResourceLocation, RenderType> static final BiFunction
<ResourceLocation, Boolean, RenderType> static final BiFunction
<ResourceLocation, Boolean, RenderType> static final Function
<ResourceLocation, RenderType> static final Function
<ResourceLocation, RenderType> static final RenderType
static final RenderType
static final RenderType.CompositeRenderType
static final RenderType.CompositeRenderType
static final RenderType.CompositeRenderType
static final Function
<ResourceLocation, RenderType> static final RenderType.CompositeRenderType
static final RenderType.CompositeRenderType
static final Function
<ResourceLocation, RenderType> static final Function
<ResourceLocation, RenderType> static final Function
<ResourceLocation, RenderType> static final RenderType
static final RenderType
static final RenderType.CompositeRenderType
static final RenderType.CompositeRenderType
static final int
static final RenderType.CompositeRenderType
static final Function
<ResourceLocation, RenderType> static final RenderType.CompositeRenderType
static final int
static final RenderType
final boolean
static final RenderType
static final Function
<ResourceLocation, RenderType> static final RenderType
static final RenderType
static final Function
<ResourceLocation, RenderType> static final Function
<ResourceLocation, RenderType> static final Function
<ResourceLocation, RenderType> static final Function
<ResourceLocation, RenderType> static final Function
<ResourceLocation, RenderType> static final int
static final RenderType
static final RenderType
static final Function
<ResourceLocation, RenderType> static final RenderType
static final Function
<ResourceLocation, RenderType> static final RenderType
static final Function
<ResourceLocation, RenderType> static final Function
<ResourceLocation, RenderType> Fields inherited from class net.minecraft.client.renderer.RenderStateShard
ARMOR_ENTITY_GLINT_TEXTURING, BLOCK_SHEET, BLOCK_SHEET_MIPPED, DEFAULT_LINE, DEFAULT_TEXTURING, ENTITY_GLINT_TEXTURING, GLINT_TEXTURING, ITEM_ENTITY_TARGET, LIGHTMAP, MAIN_TARGET, MAX_ENCHANTMENT_GLINT_SPEED_MILLIS, name, NO_LAYERING, NO_LIGHTMAP, NO_OVERLAY, NO_TEXTURE, OUTLINE_TARGET, OVERLAY, PARTICLES_TARGET, TRANSLUCENT_TARGET, VIEW_OFFSET_Z_LAYERING, VIEW_OFFSET_Z_LAYERING_FORWARD, WEATHER_TARGET
-
Constructor Summary
ConstructorsConstructorDescriptionRenderType
(String p_173178_, int p_173181_, boolean p_173182_, boolean p_173183_, Runnable p_173184_, Runnable p_173185_) -
Method Summary
Modifier and TypeMethodDescriptionboolean
static RenderType
armorCutoutNoCull
(ResourceLocation p_110432_) static RenderType
static RenderType
armorTranslucent
(ResourceLocation p_381653_) static RenderType
beaconBeam
(ResourceLocation p_110461_, boolean p_110462_) static RenderType
blockScreenEffect
(ResourceLocation p_383177_) static RenderType
breezeEyes
(ResourceLocation p_312754_) static RenderType
breezeWind
(ResourceLocation p_312312_, float p_312776_, float p_312709_) int
boolean
static RenderType
celestial
(ResourceLocation p_383125_) static List
<RenderType> create
(String p_173210_, int p_173213_, boolean p_405273_, boolean p_405428_, RenderPipeline p_404631_, RenderType.CompositeState p_173214_) create
(String p_173216_, int p_173219_, RenderPipeline p_404691_, RenderType.CompositeState p_173222_) static RenderType
createArmorDecalCutoutNoCull
(ResourceLocation p_298411_) private static Function
<ResourceLocation, RenderType> createWeather
(RenderPipeline p_405035_) static RenderType
crosshair
(ResourceLocation p_364250_) static RenderType
crumbling
(ResourceLocation p_110495_) static RenderType
cutout()
static RenderType
static RenderType
static RenderType
debugLine
(double p_404912_) static RenderType
debugLineStrip
(double p_270166_) static RenderType
static RenderType
static RenderType
static RenderType
static RenderType
dragonExplosionAlpha
(ResourceLocation p_173236_) static RenderType
static RenderType
abstract void
static RenderType
static RenderType
static RenderType
energySwirl
(ResourceLocation p_110437_, float p_110438_, float p_110439_) static RenderType
entityCutout
(ResourceLocation p_110453_) static RenderType
entityCutoutNoCull
(ResourceLocation p_110459_) static RenderType
entityCutoutNoCull
(ResourceLocation p_110444_, boolean p_110445_) static RenderType
entityCutoutNoCullZOffset
(ResourceLocation p_110465_) static RenderType
entityCutoutNoCullZOffset
(ResourceLocation p_110449_, boolean p_110450_) static RenderType
entityDecal
(ResourceLocation p_110480_) static RenderType
static RenderType
entityNoOutline
(ResourceLocation p_110483_) static RenderType
entityShadow
(ResourceLocation p_110486_) static RenderType
entitySmoothCutout
(ResourceLocation p_110477_) static RenderType
entitySolid
(ResourceLocation p_110447_) static RenderType
entitySolidZOffsetForward
(ResourceLocation p_364145_) static RenderType
entityTranslucent
(ResourceLocation p_110474_) static RenderType
entityTranslucent
(ResourceLocation p_110455_, boolean p_110456_) static RenderType
entityTranslucentEmissive
(ResourceLocation p_234339_) static RenderType
entityTranslucentEmissive
(ResourceLocation p_234336_, boolean p_234337_) static RenderType
eyes
(ResourceLocation p_110489_) static RenderType
fireScreenEffect
(ResourceLocation p_383080_) abstract VertexFormat
format()
final int
Returns the unique ID of thisRenderType
for chunk rendering purposes, or -1 if this is not a chunkRenderType
.abstract RenderPipeline
abstract RenderTarget
static RenderType
glint()
static RenderType
static RenderType
gui()
static RenderType
static RenderType
static RenderType
guiOpaqueTexturedBackground
(ResourceLocation p_365074_) static RenderType
static RenderType
static RenderType
guiTextured
(ResourceLocation p_361001_) static RenderType
guiTexturedOverlay
(ResourceLocation p_364843_) boolean
static RenderType
itemEntityTranslucentCull
(ResourceLocation p_110468_) static RenderType
leash()
static RenderType
static RenderType
lines()
static RenderType
abstract VertexFormat.Mode
mode()
static RenderType
static RenderType
opaqueParticle
(ResourceLocation p_382948_) outline()
static RenderType
outline
(ResourceLocation p_110492_) static RenderType
static RenderType
solid()
boolean
static RenderType
static RenderType
text
(ResourceLocation p_110498_) static RenderType
static RenderType
static RenderType
textIntensity
(ResourceLocation p_173238_) static RenderType
textIntensityPolygonOffset
(ResourceLocation p_181447_) static RenderType
textIntensitySeeThrough
(ResourceLocation p_173241_) static RenderType
textPolygonOffset
(ResourceLocation p_181445_) static RenderType
textSeeThrough
(ResourceLocation p_110501_) static RenderType
static RenderType
static RenderType
translucentParticle
(ResourceLocation p_383003_) static RenderType
tripwire()
static RenderType
vignette
(ResourceLocation p_362241_) static RenderType
static RenderType
weather
(ResourceLocation p_383108_, boolean p_383023_) Methods inherited from class net.minecraft.client.renderer.RenderStateShard
clearRenderState, getName, setupGlintTexturing, setupRenderState, toString
-
Field Details
-
MEGABYTE
public static final int MEGABYTE- See Also:
-
BIG_BUFFER_SIZE
public static final int BIG_BUFFER_SIZE- See Also:
-
SMALL_BUFFER_SIZE
public static final int SMALL_BUFFER_SIZE- See Also:
-
TRANSIENT_BUFFER_SIZE
public static final int TRANSIENT_BUFFER_SIZE- See Also:
-
SOLID
-
CUTOUT_MIPPED
-
CUTOUT
-
TRANSLUCENT
-
TRANSLUCENT_MOVING_BLOCK
-
ARMOR_CUTOUT_NO_CULL
-
ARMOR_TRANSLUCENT
-
ENTITY_SOLID
-
ENTITY_SOLID_Z_OFFSET_FORWARD
-
ENTITY_CUTOUT
-
ENTITY_CUTOUT_NO_CULL
-
ENTITY_CUTOUT_NO_CULL_Z_OFFSET
-
ITEM_ENTITY_TRANSLUCENT_CULL
-
ENTITY_TRANSLUCENT
-
ENTITY_TRANSLUCENT_EMISSIVE
-
ENTITY_SMOOTH_CUTOUT
-
BEACON_BEAM
-
ENTITY_DECAL
-
ENTITY_NO_OUTLINE
-
ENTITY_SHADOW
-
DRAGON_EXPLOSION_ALPHA
-
EYES
-
LEASH
-
WATER_MASK
-
ARMOR_ENTITY_GLINT
-
GLINT_TRANSLUCENT
-
GLINT
-
ENTITY_GLINT
-
CRUMBLING
-
TEXT
-
TEXT_BACKGROUND
-
TEXT_INTENSITY
-
TEXT_POLYGON_OFFSET
-
TEXT_INTENSITY_POLYGON_OFFSET
-
TEXT_SEE_THROUGH
-
TEXT_BACKGROUND_SEE_THROUGH
-
TEXT_INTENSITY_SEE_THROUGH
-
LIGHTNING
-
DRAGON_RAYS
-
DRAGON_RAYS_DEPTH
-
TRIPWIRE
-
END_PORTAL
-
END_GATEWAY
-
LINES
-
SECONDARY_BLOCK_OUTLINE
-
LINE_STRIP
-
DEBUG_LINE_STRIP
-
DEBUG_LINE
-
DEBUG_FILLED_BOX
-
DEBUG_QUADS
-
DEBUG_TRIANGLE_FAN
-
DEBUG_STRUCTURE_QUADS
-
DEBUG_SECTION_QUADS
-
OPAQUE_PARTICLE
-
TRANSLUCENT_PARTICLE
-
WEATHER_DEPTH_WRITE
-
WEATHER_NO_DEPTH_WRITE
-
SUNRISE_SUNSET
-
CELESTIAL
-
BLOCK_SCREEN_EFFECT
-
FIRE_SCREEN_EFFECT
-
GUI
-
GUI_OVERLAY
-
GUI_TEXTURED_OVERLAY
-
GUI_OPAQUE_TEXTURED_BACKGROUND
-
GUI_NAUSEA_OVERLAY
-
GUI_TEXT_HIGHLIGHT
-
GUI_GHOST_RECIPE_OVERLAY
-
GUI_TEXTURED
-
VIGNETTE
-
CROSSHAIR
-
MOJANG_LOGO
-
CHUNK_BUFFER_LAYERS
-
bufferSize
public final int bufferSize -
affectsCrumbling
public final boolean affectsCrumbling -
sortOnUpload
public final boolean sortOnUpload -
chunkLayerId
private int chunkLayerId
-
-
Constructor Details
-
RenderType
-
-
Method Details
-
solid
-
cutoutMipped
-
cutout
-
translucent
-
translucentMovingBlock
-
armorCutoutNoCull
-
createArmorDecalCutoutNoCull
-
armorTranslucent
-
entitySolid
-
entitySolidZOffsetForward
-
entityCutout
-
entityCutoutNoCull
-
entityCutoutNoCull
-
entityCutoutNoCullZOffset
-
entityCutoutNoCullZOffset
-
itemEntityTranslucentCull
-
entityTranslucent
-
entityTranslucent
-
entityTranslucentEmissive
-
entityTranslucentEmissive
-
entitySmoothCutout
-
beaconBeam
-
entityDecal
-
entityNoOutline
-
entityShadow
-
dragonExplosionAlpha
-
eyes
-
breezeEyes
-
breezeWind
-
energySwirl
-
leash
-
waterMask
-
outline
-
armorEntityGlint
-
glintTranslucent
-
glint
-
entityGlint
-
crumbling
-
text
-
textBackground
-
textIntensity
-
textPolygonOffset
-
textIntensityPolygonOffset
-
textSeeThrough
-
textBackgroundSeeThrough
-
textIntensitySeeThrough
-
lightning
-
dragonRays
-
dragonRaysDepth
-
tripwire
-
endPortal
-
endGateway
-
lines
-
secondaryBlockOutline
-
lineStrip
-
debugLineStrip
-
debugLine
-
debugFilledBox
-
debugQuads
-
debugTriangleFan
-
debugStructureQuads
-
debugSectionQuads
-
opaqueParticle
-
translucentParticle
-
createWeather
-
weather
-
sunriseSunset
-
celestial
-
blockScreenEffect
-
fireScreenEffect
-
gui
-
guiOverlay
-
guiTexturedOverlay
-
guiOpaqueTexturedBackground
-
guiNauseaOverlay
-
guiTextHighlight
-
guiGhostRecipeOverlay
-
guiTextured
-
vignette
-
crosshair
-
mojangLogo
-
create
public static RenderType.CompositeRenderType create(String p_173216_, int p_173219_, RenderPipeline p_404691_, RenderType.CompositeState p_173222_) -
create
public static RenderType.CompositeRenderType create(String p_173210_, int p_173213_, boolean p_405273_, boolean p_405428_, RenderPipeline p_404631_, RenderType.CompositeState p_173214_) -
draw
-
getRenderTarget
-
getRenderPipeline
-
chunkBufferLayers
-
bufferSize
public int bufferSize() -
format
-
mode
-
outline
-
isOutline
public boolean isOutline() -
affectsCrumbling
public boolean affectsCrumbling() -
canConsolidateConsecutiveGeometry
public boolean canConsolidateConsecutiveGeometry() -
sortOnUpload
public boolean sortOnUpload() -
getChunkLayerId
public final int getChunkLayerId()Returns the unique ID of thisRenderType
for chunk rendering purposes, or -1 if this is not a chunkRenderType
.- Returns:
- the unique ID of this
RenderType
for chunk rendering purposes, or -1 if this is not a chunkRenderType
-