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