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
Nested ClassesModifier and TypeClassDescription(package private) static enumstatic final class(package private) static final classNested 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
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate static final RenderTypeprivate static final RenderTypeprivate final Optional<RenderType>private final intprivate static final RenderTypeprivate static final RenderTypeprivate static final RenderTypeprivate static final RenderTypeprivate final VertexFormatprivate static final RenderTypeprivate static final RenderTypeprivate static final RenderTypeprivate static final RenderTypeprivate static final RenderTypestatic final RenderType.Typeprivate final intprivate static final RenderTypeprivate final booleanprivate static final RenderTypeprivate static final RenderTypeprivate static final RenderTypeprivate static final RenderTypeprivate static final RenderTypeFields 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
ConstructorsConstructorDescriptionRenderType(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 TypeMethodDescriptionbooleanstatic RenderTypearmorCutoutNoCull(ResourceLocation p_239263_0_) static RenderTypestatic RenderTypestatic RenderTypebeaconBeam(ResourceLocation p_228637_0_, boolean p_228637_1_) intstatic List<RenderType>static RenderType.Typecreate(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.Typecreate(String p_228632_0_, VertexFormat p_228632_1_, int p_228632_2_, int p_228632_3_, RenderType.State p_228632_4_) static RenderTypecrumbling(ResourceLocation p_228656_0_) static RenderTypecutout()static RenderTypestatic RenderTypedragonExplosionAlpha(ResourceLocation p_239264_0_, float p_239264_1_) voidend(BufferBuilder p_228631_1_, int p_228631_2_, int p_228631_3_, int p_228631_4_) static RenderTypeendPortal(int p_228630_0_) static RenderTypeenergySwirl(ResourceLocation p_228636_0_, float p_228636_1_, float p_228636_2_) static RenderTypeentityCutout(ResourceLocation p_228638_0_) static RenderTypeentityCutoutNoCull(ResourceLocation p_228640_0_) static RenderTypeentityCutoutNoCull(ResourceLocation p_230167_0_, boolean p_230167_1_) static RenderTypeentityCutoutNoCullZOffset(ResourceLocation p_239267_0_) static RenderTypeentityCutoutNoCullZOffset(ResourceLocation p_239266_0_, boolean p_239266_1_) static RenderTypeentityDecal(ResourceLocation p_228648_0_) static RenderTypestatic RenderTypestatic RenderTypeentityNoOutline(ResourceLocation p_228650_0_) static RenderTypeentityShadow(ResourceLocation p_239272_0_) static RenderTypeentitySmoothCutout(ResourceLocation p_228646_0_) static RenderTypeentitySolid(ResourceLocation p_228634_0_) static RenderTypeentityTranslucent(ResourceLocation p_228644_0_) static RenderTypeentityTranslucent(ResourceLocation p_230168_0_, boolean p_230168_1_) static RenderTypeentityTranslucentCull(ResourceLocation p_228642_0_) static RenderTypeeyes(ResourceLocation p_228652_0_) format()static RenderTypeglint()static RenderTypestatic RenderTypebooleanstatic RenderTypeitemEntityTranslucentCull(ResourceLocation p_239268_0_) static RenderTypeleash()static RenderTypestatic RenderTypelines()intmode()outline()static RenderTypeoutline(ResourceLocation p_228654_0_) static RenderTypeoutline(ResourceLocation p_239265_0_, RenderState.CullState p_239265_1_) static RenderTypesolid()static RenderTypetext(ResourceLocation p_228658_0_) static RenderTypetextSeeThrough(ResourceLocation p_228660_0_) toString()static RenderTypestatic RenderTypeprivate static RenderType.Statestatic RenderTypeprivate static RenderType.Statestatic RenderTypetripwire()private static RenderType.Statestatic RenderTypeMethods 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:
toStringin classRenderState
-
chunkBufferLayers
-
bufferSize
public int bufferSize() -
format
-
mode
public int mode() -
outline
-
isOutline
public boolean isOutline() -
affectsCrumbling
public boolean affectsCrumbling() -
asOptional
-