Package net.minecraft.client.renderer
Class RenderType.CompositeRenderType
java.lang.Object
net.minecraft.client.renderer.RenderStateShard
net.minecraft.client.renderer.RenderType
net.minecraft.client.renderer.RenderType.CompositeRenderType
- Enclosing class:
RenderType
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.renderer.RenderType
RenderType.CompositeRenderType, RenderType.CompositeState, RenderType.OutlineProperty
Nested classes/interfaces inherited from class net.minecraft.client.renderer.RenderStateShard
RenderStateShard.BooleanStateShard, RenderStateShard.ColorLogicStateShard, RenderStateShard.CullStateShard, RenderStateShard.DepthTestStateShard, RenderStateShard.EmptyTextureStateShard, RenderStateShard.LayeringStateShard, RenderStateShard.LightmapStateShard, RenderStateShard.LineStateShard, RenderStateShard.MultiTextureStateShard, RenderStateShard.OffsetTexturingStateShard, RenderStateShard.OutputStateShard, RenderStateShard.OverlayStateShard, RenderStateShard.ShaderStateShard, RenderStateShard.TextureStateShard, RenderStateShard.TexturingStateShard, RenderStateShard.TransparencyStateShard, RenderStateShard.WriteMaskStateShard
-
Field Summary
Modifier and TypeFieldDescriptionprivate final boolean
private final Optional
<RenderType> (package private) static final BiFunction
<ResourceLocation, RenderStateShard.CullStateShard, RenderType> private final RenderType.CompositeState
Fields inherited from class net.minecraft.client.renderer.RenderType
BIG_BUFFER_SIZE, LINE_STRIP, LINES, SMALL_BUFFER_SIZE, TRANSIENT_BUFFER_SIZE
Fields inherited from class net.minecraft.client.renderer.RenderStateShard
ADDITIVE_TRANSPARENCY, BLOCK_SHEET, BLOCK_SHEET_MIPPED, CLOUDS_TARGET, COLOR_DEPTH_WRITE, COLOR_WRITE, CRUMBLING_TRANSPARENCY, CULL, DEFAULT_LINE, DEFAULT_TEXTURING, DEPTH_WRITE, ENTITY_GLINT_TEXTURING, EQUAL_DEPTH_TEST, GLINT_TEXTURING, GLINT_TRANSPARENCY, GREATER_DEPTH_TEST, ITEM_ENTITY_TARGET, LEQUAL_DEPTH_TEST, LIGHTMAP, LIGHTNING_TRANSPARENCY, MAIN_TARGET, MAX_ENCHANTMENT_GLINT_SPEED_MILLIS, name, NO_COLOR_LOGIC, NO_CULL, NO_DEPTH_TEST, NO_LAYERING, NO_LIGHTMAP, NO_OVERLAY, NO_SHADER, NO_TEXTURE, NO_TRANSPARENCY, OR_REVERSE_COLOR_LOGIC, OUTLINE_TARGET, OVERLAY, PARTICLES_TARGET, POLYGON_OFFSET_LAYERING, POSITION_COLOR_LIGHTMAP_SHADER, POSITION_COLOR_SHADER, POSITION_COLOR_TEX_LIGHTMAP_SHADER, POSITION_COLOR_TEX_SHADER, POSITION_SHADER, POSITION_TEX_SHADER, RENDERTYPE_ARMOR_CUTOUT_NO_CULL_SHADER, RENDERTYPE_ARMOR_ENTITY_GLINT_SHADER, RENDERTYPE_ARMOR_GLINT_SHADER, RENDERTYPE_BEACON_BEAM_SHADER, RENDERTYPE_BREEZE_WIND_SHADER, RENDERTYPE_CLOUDS_SHADER, RENDERTYPE_CRUMBLING_SHADER, RENDERTYPE_CUTOUT_MIPPED_SHADER, RENDERTYPE_CUTOUT_SHADER, RENDERTYPE_END_GATEWAY_SHADER, RENDERTYPE_END_PORTAL_SHADER, RENDERTYPE_ENERGY_SWIRL_SHADER, RENDERTYPE_ENTITY_ALPHA_SHADER, RENDERTYPE_ENTITY_CUTOUT_NO_CULL_SHADER, RENDERTYPE_ENTITY_CUTOUT_NO_CULL_Z_OFFSET_SHADER, RENDERTYPE_ENTITY_CUTOUT_SHADER, RENDERTYPE_ENTITY_DECAL_SHADER, RENDERTYPE_ENTITY_GLINT_DIRECT_SHADER, RENDERTYPE_ENTITY_GLINT_SHADER, RENDERTYPE_ENTITY_NO_OUTLINE_SHADER, RENDERTYPE_ENTITY_SHADOW_SHADER, RENDERTYPE_ENTITY_SMOOTH_CUTOUT_SHADER, RENDERTYPE_ENTITY_SOLID_SHADER, RENDERTYPE_ENTITY_TRANSLUCENT_CULL_SHADER, RENDERTYPE_ENTITY_TRANSLUCENT_EMISSIVE_SHADER, RENDERTYPE_ENTITY_TRANSLUCENT_SHADER, RENDERTYPE_EYES_SHADER, RENDERTYPE_GLINT_DIRECT_SHADER, RENDERTYPE_GLINT_SHADER, RENDERTYPE_GLINT_TRANSLUCENT_SHADER, RENDERTYPE_GUI_GHOST_RECIPE_OVERLAY_SHADER, RENDERTYPE_GUI_OVERLAY_SHADER, RENDERTYPE_GUI_SHADER, RENDERTYPE_GUI_TEXT_HIGHLIGHT_SHADER, RENDERTYPE_ITEM_ENTITY_TRANSLUCENT_CULL_SHADER, RENDERTYPE_LEASH_SHADER, RENDERTYPE_LIGHTNING_SHADER, RENDERTYPE_LINES_SHADER, RENDERTYPE_OUTLINE_SHADER, RENDERTYPE_SOLID_SHADER, RENDERTYPE_TEXT_BACKGROUND_SEE_THROUGH_SHADER, RENDERTYPE_TEXT_BACKGROUND_SHADER, RENDERTYPE_TEXT_INTENSITY_SEE_THROUGH_SHADER, RENDERTYPE_TEXT_INTENSITY_SHADER, RENDERTYPE_TEXT_SEE_THROUGH_SHADER, RENDERTYPE_TEXT_SHADER, RENDERTYPE_TRANSLUCENT_MOVING_BLOCK_SHADER, RENDERTYPE_TRANSLUCENT_SHADER, RENDERTYPE_TRIPWIRE_SHADER, RENDERTYPE_WATER_MASK_SHADER, setupState, TRANSLUCENT_TARGET, TRANSLUCENT_TRANSPARENCY, VIEW_OFFSET_Z_LAYERING, WEATHER_TARGET
-
Constructor Summary
ConstructorDescriptionCompositeRenderType
(String p_173258_, VertexFormat p_173259_, VertexFormat.Mode p_173260_, int p_173261_, boolean p_173262_, boolean p_173263_, RenderType.CompositeState p_173264_) -
Method Summary
Modifier and TypeMethodDescriptionboolean
outline()
protected final RenderType.CompositeState
state()
toString()
Methods inherited from class net.minecraft.client.renderer.RenderType
affectsCrumbling, armorCutoutNoCull, armorEntityGlint, armorGlint, asOptional, beaconBeam, breezeEyes, breezeWind, bufferSize, canConsolidateConsecutiveGeometry, chunkBufferLayers, clouds, cloudsDepthOnly, create, create, createArmorDecalCutoutNoCull, crumbling, cutout, cutoutMipped, debugFilledBox, debugLineStrip, debugQuads, debugSectionQuads, dragonExplosionAlpha, end, endGateway, endPortal, energySwirl, entityCutout, entityCutoutNoCull, entityCutoutNoCull, entityCutoutNoCullZOffset, entityCutoutNoCullZOffset, entityDecal, entityGlint, entityGlintDirect, entityNoOutline, entityShadow, entitySmoothCutout, entitySolid, entityTranslucent, entityTranslucent, entityTranslucentCull, entityTranslucentEmissive, entityTranslucentEmissive, eyes, format, getChunkLayerId, glint, glintDirect, glintTranslucent, gui, guiGhostRecipeOverlay, guiOverlay, guiTextHighlight, itemEntityTranslucentCull, leash, lightning, lines, lineStrip, mode, outline, solid, text, textBackground, textBackgroundSeeThrough, textIntensity, textIntensityPolygonOffset, textIntensitySeeThrough, textPolygonOffset, textSeeThrough, translucent, translucentMovingBlock, tripwire, waterMask
Methods inherited from class net.minecraft.client.renderer.RenderStateShard
clearRenderState, setupRenderState
-
Field Details
-
OUTLINE
-
state
-
outline
-
isOutline
private final boolean isOutline
-
-
Constructor Details
-
CompositeRenderType
CompositeRenderType(String p_173258_, VertexFormat p_173259_, VertexFormat.Mode p_173260_, int p_173261_, boolean p_173262_, boolean p_173263_, RenderType.CompositeState p_173264_)
-
-
Method Details
-
outline
- Overrides:
outline
in classRenderType
-
isOutline
public boolean isOutline()- Overrides:
isOutline
in classRenderType
-
state
-
toString
- Overrides:
toString
in classRenderType
-