Package net.minecraft.client.renderer
Class RenderType
- java.lang.Object
-
- net.minecraft.client.renderer.RenderState
-
- net.minecraft.client.renderer.RenderType
-
- Direct Known Subclasses:
ForgeRenderTypes.Internal
,RenderType.Type
public abstract class RenderType extends RenderState
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
RenderType.OutlineState
static class
RenderType.State
(package private) static class
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 boolean
affectsCrumbling
private static RenderType
ARMOR_ENTITY_GLINT
private static RenderType
ARMOR_GLINT
private java.util.Optional<RenderType>
asOptional
private int
bufferSize
private static RenderType
CUTOUT
private static RenderType
CUTOUT_MIPPED
private static RenderType
ENTITY_GLINT
private static RenderType
ENTITY_GLINT_DIRECT
private VertexFormat
format
private static RenderType
GLINT
private static RenderType
GLINT_DIRECT
private static RenderType
GLINT_TRANSLUCENT
private static RenderType
LEASH
private static RenderType
LIGHTNING
static RenderType.Type
LINES
private int
mode
private static RenderType
SOLID
private boolean
sortOnUpload
private static RenderType
TRANSLUCENT
private static RenderType
TRANSLUCENT_MOVING_BLOCK
private static RenderType
TRANSLUCENT_NO_CRUMBLING
private static RenderType
TRIPWIRE
private static RenderType
WATER_MASK
-
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 Constructor Description RenderType(java.lang.String p_i225992_1_, VertexFormat p_i225992_2_, int p_i225992_3_, int p_i225992_4_, boolean p_i225992_5_, boolean p_i225992_6_, java.lang.Runnable p_i225992_7_, java.lang.Runnable p_i225992_8_)
-
Method Summary
-
Methods inherited from class net.minecraft.client.renderer.RenderState
clearRenderState, equals, hashCode, setupRenderState
-
-
-
-
Field Detail
-
SOLID
private static final RenderType SOLID
-
CUTOUT_MIPPED
private static final RenderType CUTOUT_MIPPED
-
CUTOUT
private static final RenderType CUTOUT
-
TRANSLUCENT
private static final RenderType TRANSLUCENT
-
TRANSLUCENT_MOVING_BLOCK
private static final RenderType TRANSLUCENT_MOVING_BLOCK
-
TRANSLUCENT_NO_CRUMBLING
private static final RenderType TRANSLUCENT_NO_CRUMBLING
-
LEASH
private static final RenderType LEASH
-
WATER_MASK
private static final RenderType WATER_MASK
-
ARMOR_GLINT
private static final RenderType ARMOR_GLINT
-
ARMOR_ENTITY_GLINT
private static final RenderType ARMOR_ENTITY_GLINT
-
GLINT_TRANSLUCENT
private static final RenderType GLINT_TRANSLUCENT
-
GLINT
private static final RenderType GLINT
-
GLINT_DIRECT
private static final RenderType GLINT_DIRECT
-
ENTITY_GLINT
private static final RenderType ENTITY_GLINT
-
ENTITY_GLINT_DIRECT
private static final RenderType ENTITY_GLINT_DIRECT
-
LIGHTNING
private static final RenderType LIGHTNING
-
TRIPWIRE
private static final RenderType TRIPWIRE
-
LINES
public static final RenderType.Type LINES
-
format
private final VertexFormat format
-
mode
private final int mode
-
bufferSize
private final int bufferSize
-
affectsCrumbling
private final boolean affectsCrumbling
-
sortOnUpload
private final boolean sortOnUpload
-
asOptional
private final java.util.Optional<RenderType> asOptional
-
-
Constructor Detail
-
RenderType
public RenderType(java.lang.String p_i225992_1_, VertexFormat p_i225992_2_, int p_i225992_3_, int p_i225992_4_, boolean p_i225992_5_, boolean p_i225992_6_, java.lang.Runnable p_i225992_7_, java.lang.Runnable p_i225992_8_)
-
-
Method Detail
-
solid
public static RenderType solid()
-
cutoutMipped
public static RenderType cutoutMipped()
-
cutout
public static RenderType cutout()
-
translucentState
private static RenderType.State translucentState()
-
translucent
public static RenderType translucent()
-
translucentMovingBlockState
private static RenderType.State translucentMovingBlockState()
-
translucentMovingBlock
public static RenderType translucentMovingBlock()
-
translucentNoCrumbling
public static RenderType translucentNoCrumbling()
-
armorCutoutNoCull
public static RenderType armorCutoutNoCull(ResourceLocation p_239263_0_)
-
entitySolid
public static RenderType entitySolid(ResourceLocation p_228634_0_)
-
entityCutout
public static RenderType entityCutout(ResourceLocation p_228638_0_)
-
entityCutoutNoCull
public static RenderType entityCutoutNoCull(ResourceLocation p_230167_0_, boolean p_230167_1_)
-
entityCutoutNoCull
public static RenderType entityCutoutNoCull(ResourceLocation p_228640_0_)
-
entityCutoutNoCullZOffset
public static RenderType entityCutoutNoCullZOffset(ResourceLocation p_239266_0_, boolean p_239266_1_)
-
entityCutoutNoCullZOffset
public static RenderType entityCutoutNoCullZOffset(ResourceLocation p_239267_0_)
-
itemEntityTranslucentCull
public static RenderType itemEntityTranslucentCull(ResourceLocation p_239268_0_)
-
entityTranslucentCull
public static RenderType entityTranslucentCull(ResourceLocation p_228642_0_)
-
entityTranslucent
public static RenderType entityTranslucent(ResourceLocation p_230168_0_, boolean p_230168_1_)
-
entityTranslucent
public static RenderType entityTranslucent(ResourceLocation p_228644_0_)
-
entitySmoothCutout
public static RenderType entitySmoothCutout(ResourceLocation p_228646_0_)
-
beaconBeam
public static RenderType beaconBeam(ResourceLocation p_228637_0_, boolean p_228637_1_)
-
entityDecal
public static RenderType entityDecal(ResourceLocation p_228648_0_)
-
entityNoOutline
public static RenderType entityNoOutline(ResourceLocation p_228650_0_)
-
entityShadow
public static RenderType entityShadow(ResourceLocation p_239272_0_)
-
dragonExplosionAlpha
public static RenderType dragonExplosionAlpha(ResourceLocation p_239264_0_, float p_239264_1_)
-
eyes
public static RenderType eyes(ResourceLocation p_228652_0_)
-
energySwirl
public static RenderType energySwirl(ResourceLocation p_228636_0_, float p_228636_1_, float p_228636_2_)
-
leash
public static RenderType leash()
-
waterMask
public static RenderType waterMask()
-
outline
public static RenderType outline(ResourceLocation p_228654_0_)
-
outline
public static RenderType outline(ResourceLocation p_239265_0_, RenderState.CullState p_239265_1_)
-
armorGlint
public static RenderType armorGlint()
-
armorEntityGlint
public static RenderType armorEntityGlint()
-
glintTranslucent
public static RenderType glintTranslucent()
-
glint
public static RenderType glint()
-
glintDirect
public static RenderType glintDirect()
-
entityGlint
public static RenderType entityGlint()
-
entityGlintDirect
public static RenderType entityGlintDirect()
-
crumbling
public static RenderType crumbling(ResourceLocation p_228656_0_)
-
text
public static RenderType text(ResourceLocation p_228658_0_)
-
textSeeThrough
public static RenderType textSeeThrough(ResourceLocation p_228660_0_)
-
lightning
public static RenderType lightning()
-
tripwireState
private static RenderType.State tripwireState()
-
tripwire
public static RenderType tripwire()
-
endPortal
public static RenderType endPortal(int p_228630_0_)
-
lines
public static RenderType lines()
-
create
public static RenderType.Type create(java.lang.String p_228632_0_, VertexFormat p_228632_1_, int p_228632_2_, int p_228632_3_, RenderType.State p_228632_4_)
-
create
public static RenderType.Type create(java.lang.String p_228633_0_, VertexFormat p_228633_1_, int p_228633_2_, int p_228633_3_, boolean p_228633_4_, boolean p_228633_5_, RenderType.State p_228633_6_)
-
end
public void end(BufferBuilder p_228631_1_, int p_228631_2_, int p_228631_3_, int p_228631_4_)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classRenderState
-
chunkBufferLayers
public static java.util.List<RenderType> chunkBufferLayers()
-
bufferSize
public int bufferSize()
-
format
public VertexFormat format()
-
mode
public int mode()
-
outline
public java.util.Optional<RenderType> outline()
-
isOutline
public boolean isOutline()
-
affectsCrumbling
public boolean affectsCrumbling()
-
asOptional
public java.util.Optional<RenderType> asOptional()
-
-