Package net.minecraft.client.renderer
Class RenderType.Type
java.lang.Object
net.minecraft.client.renderer.RenderState
net.minecraft.client.renderer.RenderType
net.minecraft.client.renderer.RenderType.Type
- Enclosing class:
- RenderType
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.renderer.RenderType
RenderType.OutlineState, RenderType.State, RenderType.Type
Nested classes/interfaces inherited from class net.minecraft.client.renderer.RenderState
RenderState.AlphaState, RenderState.BooleanState, RenderState.CullState, RenderState.DepthTestState, RenderState.DiffuseLightingState, RenderState.FogState, RenderState.LayerState, RenderState.LightmapState, RenderState.LineState, RenderState.OffsetTexturingState, RenderState.OverlayState, RenderState.PortalTexturingState, RenderState.ShadeModelState, RenderState.TargetState, RenderState.TextureState, RenderState.TexturingState, RenderState.TransparencyState, RenderState.WriteMaskState
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private static final it.unimi.dsi.fastutil.objects.ObjectOpenCustomHashSet<RenderType.Type>
private final boolean
private final Optional<RenderType>
private final RenderType.State
Fields inherited from class net.minecraft.client.renderer.RenderType
LINES
Fields inherited from class net.minecraft.client.renderer.RenderState
ADDITIVE_TRANSPARENCY, BLACK_FOG, BLOCK_SHEET, BLOCK_SHEET_MIPPED, CLOUDS_TARGET, COLOR_DEPTH_WRITE, COLOR_WRITE, CRUMBLING_TRANSPARENCY, CULL, DEFAULT_ALPHA, DEFAULT_LINE, DEFAULT_TEXTURING, DEPTH_WRITE, DIFFUSE_LIGHTING, ENTITY_GLINT_TEXTURING, EQUAL_DEPTH_TEST, FLAT_SHADE, FOG, GLINT_TEXTURING, GLINT_TRANSPARENCY, ITEM_ENTITY_TARGET, LEQUAL_DEPTH_TEST, LIGHTMAP, LIGHTNING_TRANSPARENCY, MAIN_TARGET, MIDWAY_ALPHA, name, NO_ALPHA, NO_CULL, NO_DEPTH_TEST, NO_DIFFUSE_LIGHTING, NO_FOG, NO_LAYERING, NO_LIGHTMAP, NO_OVERLAY, NO_TEXTURE, NO_TRANSPARENCY, OUTLINE_TARGET, OUTLINE_TEXTURING, OVERLAY, PARTICLES_TARGET, POLYGON_OFFSET_LAYERING, setupState, SMOOTH_SHADE, TRANSLUCENT_TARGET, TRANSLUCENT_TRANSPARENCY, VIEW_OFFSET_Z_LAYERING, WEATHER_TARGET
-
Constructor Summary
ModifierConstructorDescriptionprivate
Type
(String p_i225993_1_, VertexFormat p_i225993_2_, int p_i225993_3_, int p_i225993_4_, boolean p_i225993_5_, boolean p_i225993_6_, RenderType.State p_i225993_7_) -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
boolean
private static RenderType.Type
memoize
(String p_228676_0_, VertexFormat p_228676_1_, int p_228676_2_, int p_228676_3_, boolean p_228676_4_, boolean p_228676_5_, RenderType.State p_228676_6_) outline()
toString()
Methods inherited from class net.minecraft.client.renderer.RenderType
affectsCrumbling, armorCutoutNoCull, armorEntityGlint, armorGlint, asOptional, beaconBeam, bufferSize, chunkBufferLayers, create, create, crumbling, cutout, cutoutMipped, dragonExplosionAlpha, end, endPortal, energySwirl, entityCutout, entityCutoutNoCull, entityCutoutNoCull, entityCutoutNoCullZOffset, entityCutoutNoCullZOffset, entityDecal, entityGlint, entityGlintDirect, entityNoOutline, entityShadow, entitySmoothCutout, entitySolid, entityTranslucent, entityTranslucent, entityTranslucentCull, eyes, format, glint, glintDirect, glintTranslucent, itemEntityTranslucentCull, leash, lightning, lines, mode, outline, outline, solid, text, textSeeThrough, translucent, translucentMovingBlock, translucentNoCrumbling, tripwire, waterMask
Methods inherited from class net.minecraft.client.renderer.RenderState
clearRenderState, setupRenderState
-
Field Details
-
INSTANCES
private static final it.unimi.dsi.fastutil.objects.ObjectOpenCustomHashSet<RenderType.Type> INSTANCES -
state
-
hashCode
private final int hashCode -
outline
-
isOutline
private final boolean isOutline
-
-
Constructor Details
-
Type
private Type(String p_i225993_1_, VertexFormat p_i225993_2_, int p_i225993_3_, int p_i225993_4_, boolean p_i225993_5_, boolean p_i225993_6_, RenderType.State p_i225993_7_)
-
-
Method Details
-
memoize
private static RenderType.Type memoize(String p_228676_0_, VertexFormat p_228676_1_, int p_228676_2_, int p_228676_3_, boolean p_228676_4_, boolean p_228676_5_, RenderType.State p_228676_6_) -
outline
- Overrides:
outline
in classRenderType
-
isOutline
public boolean isOutline()- Overrides:
isOutline
in classRenderType
-
equals
- Overrides:
equals
in classRenderState
-
hashCode
public int hashCode()- Overrides:
hashCode
in classRenderState
-
toString
- Overrides:
toString
in classRenderType
-