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
static final class RenderType.Type extends RenderType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
RenderType.Type.EqualityStrategy
-
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
Fields Modifier and Type Field Description private int
hashCode
private static it.unimi.dsi.fastutil.objects.ObjectOpenCustomHashSet<RenderType.Type>
INSTANCES
private boolean
isOutline
private java.util.Optional<RenderType>
outline
private RenderType.State
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
Constructors Modifier Constructor Description private
Type(java.lang.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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object p_equals_1_)
int
hashCode()
boolean
isOutline()
private static RenderType.Type
memoize(java.lang.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_)
java.util.Optional<RenderType>
outline()
java.lang.String
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 Detail
-
INSTANCES
private static final it.unimi.dsi.fastutil.objects.ObjectOpenCustomHashSet<RenderType.Type> INSTANCES
-
state
private final RenderType.State state
-
hashCode
private final int hashCode
-
outline
private final java.util.Optional<RenderType> outline
-
isOutline
private final boolean isOutline
-
-
Constructor Detail
-
Type
private Type(java.lang.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 Detail
-
memoize
private static RenderType.Type memoize(java.lang.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
public java.util.Optional<RenderType> outline()
- Overrides:
outline
in classRenderType
-
isOutline
public boolean isOutline()
- Overrides:
isOutline
in classRenderType
-
equals
public boolean equals(@Nullable java.lang.Object p_equals_1_)
- Overrides:
equals
in classRenderState
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classRenderState
-
toString
public java.lang.String toString()
- Overrides:
toString
in classRenderType
-
-