Package net.minecraft.client.renderer
Class RenderType
java.lang.Object
net.minecraft.client.renderer.RenderStateShard
net.minecraft.client.renderer.RenderType
- Direct Known Subclasses:
RenderType.CompositeRenderType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static final classstatic final classstatic enumNested classes/interfaces inherited from class net.minecraft.client.renderer.RenderStateShard
RenderStateShard.BooleanStateShard, RenderStateShard.EmptyTextureStateShard, RenderStateShard.LayeringStateShard, RenderStateShard.LightmapStateShard, RenderStateShard.LineStateShard, RenderStateShard.MultiTextureStateShard, RenderStateShard.OffsetTexturingStateShard, RenderStateShard.OutputStateShard, RenderStateShard.OverlayStateShard, RenderStateShard.TextureStateShard, RenderStateShard.TexturingStateShard -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal booleanstatic final Function<ResourceLocation, RenderType> static final RenderTypestatic final Function<ResourceLocation, RenderType> static final BiFunction<ResourceLocation, Boolean, RenderType> static final intstatic final Function<ResourceLocation, RenderType> final intstatic final Function<ResourceLocation, RenderType> static final ImmutableList<RenderType> private intstatic final Function<ResourceLocation, RenderType> static final Function<ResourceLocation, RenderType> static final RenderTypestatic final RenderTypestatic final RenderType.CompositeRenderTypestatic final Function<Double, RenderType.CompositeRenderType> static final Function<Double, RenderType.CompositeRenderType> static final RenderType.CompositeRenderTypestatic final RenderType.CompositeRenderTypestatic final RenderType.CompositeRenderTypestatic final RenderType.CompositeRenderTypestatic final Function<ResourceLocation, RenderType> static final RenderTypestatic final RenderTypestatic final RenderTypestatic final RenderTypestatic final Function<ResourceLocation, RenderType> static final BiFunction<ResourceLocation, Boolean, RenderType> static final BiFunction<ResourceLocation, Boolean, RenderType> static final Function<ResourceLocation, RenderType> static final RenderTypestatic final Function<ResourceLocation, RenderType> static final Function<ResourceLocation, RenderType> static final Function<ResourceLocation, RenderType> static final Function<ResourceLocation, RenderType> static final Function<ResourceLocation, RenderType> static final BiFunction<ResourceLocation, Boolean, RenderType> static final BiFunction<ResourceLocation, Boolean, RenderType> static final Function<ResourceLocation, RenderType> static final Function<ResourceLocation, RenderType> static final RenderTypestatic final RenderTypestatic final RenderType.CompositeRenderTypestatic final RenderType.CompositeRenderTypestatic final RenderType.CompositeRenderTypestatic final Function<ResourceLocation, RenderType> static final RenderType.CompositeRenderTypestatic final RenderType.CompositeRenderTypestatic final Function<ResourceLocation, RenderType> static final Function<ResourceLocation, RenderType> static final Function<ResourceLocation, RenderType> static final RenderTypestatic final RenderTypestatic final RenderType.CompositeRenderTypestatic final RenderType.CompositeRenderTypestatic final intstatic final RenderType.CompositeRenderTypestatic final Function<ResourceLocation, RenderType> static final RenderType.CompositeRenderTypestatic final intstatic final RenderTypefinal booleanstatic final RenderTypestatic final Function<ResourceLocation, RenderType> static final RenderTypestatic final RenderTypestatic final Function<ResourceLocation, RenderType> static final Function<ResourceLocation, RenderType> static final Function<ResourceLocation, RenderType> static final Function<ResourceLocation, RenderType> static final Function<ResourceLocation, RenderType> static final intstatic final RenderTypestatic final RenderTypestatic final Function<ResourceLocation, RenderType> static final RenderTypestatic final Function<ResourceLocation, RenderType> static final RenderTypestatic final Function<ResourceLocation, RenderType> static final Function<ResourceLocation, RenderType> Fields inherited from class net.minecraft.client.renderer.RenderStateShard
ARMOR_ENTITY_GLINT_TEXTURING, BLOCK_SHEET, BLOCK_SHEET_MIPPED, DEFAULT_LINE, DEFAULT_TEXTURING, ENTITY_GLINT_TEXTURING, GLINT_TEXTURING, ITEM_ENTITY_TARGET, LIGHTMAP, MAIN_TARGET, MAX_ENCHANTMENT_GLINT_SPEED_MILLIS, name, NO_LAYERING, NO_LIGHTMAP, NO_OVERLAY, NO_TEXTURE, OUTLINE_TARGET, OVERLAY, PARTICLES_TARGET, TRANSLUCENT_TARGET, VIEW_OFFSET_Z_LAYERING, VIEW_OFFSET_Z_LAYERING_FORWARD, WEATHER_TARGET -
Constructor Summary
ConstructorsConstructorDescriptionRenderType(String pName, int pBufferSize, boolean pAffectsCrumbling, boolean pSortOnUpload, Runnable pSetupState, Runnable pClearState) -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic RenderTypearmorCutoutNoCull(ResourceLocation pLocation) static RenderTypestatic RenderTypestatic RenderTypebeaconBeam(ResourceLocation pLocation, boolean pColorFlag) static RenderTypeblockScreenEffect(ResourceLocation pTexture) static RenderTypebreezeEyes(ResourceLocation pLocation) static RenderTypebreezeWind(ResourceLocation pLocation, float pU, float pV) intbooleanstatic RenderTypecelestial(ResourceLocation pTexture) static List<RenderType> create(String pName, int pBufferSize, boolean pAffectsCrumbling, boolean pSortOnUpload, RenderPipeline pRenderPipeline, RenderType.CompositeState pState) create(String pName, int pBufferSize, RenderPipeline pRenderPipeline, RenderType.CompositeState pState) static RenderTypeprivate static Function<ResourceLocation, RenderType> createWeather(RenderPipeline pRenderPipeline) static RenderTypecrosshair(ResourceLocation pLocation) static RenderTypecrumbling(ResourceLocation pLocation) static RenderTypecutout()static RenderTypestatic RenderTypestatic RenderTypedebugLine(double pWidth) static RenderTypedebugLineStrip(double pWidth) static RenderTypestatic RenderTypestatic RenderTypestatic RenderTypestatic RenderTypestatic RenderTypestatic RenderTypeabstract voidstatic RenderTypestatic RenderTypestatic RenderTypeenergySwirl(ResourceLocation pLocation, float pU, float pV) static RenderTypeentityCutout(ResourceLocation pLocation) static RenderTypeentityCutoutNoCull(ResourceLocation pLocation) static RenderTypeentityCutoutNoCull(ResourceLocation pLocation, boolean pOutline) static RenderTypeentityCutoutNoCullZOffset(ResourceLocation pLocation) static RenderTypeentityCutoutNoCullZOffset(ResourceLocation pLocation, boolean pOutline) static RenderTypeentityDecal(ResourceLocation pLocation) static RenderTypestatic RenderTypeentityNoOutline(ResourceLocation pLocation) static RenderTypeentityShadow(ResourceLocation pLocation) static RenderTypeentitySmoothCutout(ResourceLocation pLocation) static RenderTypeentitySolid(ResourceLocation pLocation) static RenderTypeentitySolidZOffsetForward(ResourceLocation pLocation) static RenderTypeentityTranslucent(ResourceLocation pLocation) static RenderTypeentityTranslucent(ResourceLocation pLocation, boolean pOutline) static RenderTypeentityTranslucentEmissive(ResourceLocation pLocation) static RenderTypeentityTranslucentEmissive(ResourceLocation pLocation, boolean pOutline) static RenderTypeeyes(ResourceLocation pLocation) static RenderTypefireScreenEffect(ResourceLocation pTexture) abstract VertexFormatformat()final intReturns the unique ID of thisRenderTypefor chunk rendering purposes, or -1 if this is not a chunkRenderType.abstract RenderPipelineabstract RenderTargetstatic RenderTypeglint()static RenderTypestatic RenderTypegui()static RenderTypestatic RenderTypestatic RenderTypeguiOpaqueTexturedBackground(ResourceLocation pLocation) static RenderTypestatic RenderTypestatic RenderTypeguiTextured(ResourceLocation pLocation) static RenderTypeguiTexturedOverlay(ResourceLocation pLocation) booleanstatic RenderTypeitemEntityTranslucentCull(ResourceLocation pLocation) static RenderTypeleash()static RenderTypestatic RenderTypelines()static RenderTypeabstract VertexFormat.Modemode()static RenderTypestatic RenderTypeopaqueParticle(ResourceLocation pTexture) outline()static RenderTypeoutline(ResourceLocation pLocation) static RenderTypestatic RenderTypesolid()booleanstatic RenderTypestatic RenderTypetext(ResourceLocation pLocation) static RenderTypestatic RenderTypestatic RenderTypestatic RenderTypestatic RenderTypestatic RenderTypestatic RenderTypetextSeeThrough(ResourceLocation pLocation) static RenderTypestatic RenderTypestatic RenderTypetranslucentParticle(ResourceLocation pTexture) static RenderTypetripwire()static RenderTypevignette(ResourceLocation pLocation) static RenderTypestatic RenderTypeweather(ResourceLocation pTexture, boolean pDepthWrite) Methods inherited from class net.minecraft.client.renderer.RenderStateShard
clearRenderState, getName, setupGlintTexturing, setupRenderState, toString
-
Field Details
-
MEGABYTE
public static final int MEGABYTE- See Also:
-
BIG_BUFFER_SIZE
public static final int BIG_BUFFER_SIZE- See Also:
-
SMALL_BUFFER_SIZE
public static final int SMALL_BUFFER_SIZE- See Also:
-
TRANSIENT_BUFFER_SIZE
public static final int TRANSIENT_BUFFER_SIZE- See Also:
-
SOLID
-
CUTOUT_MIPPED
-
CUTOUT
-
TRANSLUCENT
-
TRANSLUCENT_MOVING_BLOCK
-
ARMOR_CUTOUT_NO_CULL
-
ARMOR_TRANSLUCENT
-
ENTITY_SOLID
-
ENTITY_SOLID_Z_OFFSET_FORWARD
-
ENTITY_CUTOUT
-
ENTITY_CUTOUT_NO_CULL
-
ENTITY_CUTOUT_NO_CULL_Z_OFFSET
-
ITEM_ENTITY_TRANSLUCENT_CULL
-
ENTITY_TRANSLUCENT
-
ENTITY_TRANSLUCENT_EMISSIVE
-
ENTITY_SMOOTH_CUTOUT
-
BEACON_BEAM
-
ENTITY_DECAL
-
ENTITY_NO_OUTLINE
-
ENTITY_SHADOW
-
DRAGON_EXPLOSION_ALPHA
-
EYES
-
LEASH
-
WATER_MASK
-
ARMOR_ENTITY_GLINT
-
GLINT_TRANSLUCENT
-
GLINT
-
ENTITY_GLINT
-
CRUMBLING
-
TEXT
-
TEXT_BACKGROUND
-
TEXT_INTENSITY
-
TEXT_POLYGON_OFFSET
-
TEXT_INTENSITY_POLYGON_OFFSET
-
TEXT_SEE_THROUGH
-
TEXT_BACKGROUND_SEE_THROUGH
-
TEXT_INTENSITY_SEE_THROUGH
-
LIGHTNING
-
DRAGON_RAYS
-
DRAGON_RAYS_DEPTH
-
TRIPWIRE
-
END_PORTAL
-
END_GATEWAY
-
LINES
-
SECONDARY_BLOCK_OUTLINE
-
LINE_STRIP
-
DEBUG_LINE_STRIP
-
DEBUG_LINE
-
DEBUG_FILLED_BOX
-
DEBUG_QUADS
-
DEBUG_TRIANGLE_FAN
-
DEBUG_STRUCTURE_QUADS
-
DEBUG_SECTION_QUADS
-
OPAQUE_PARTICLE
-
TRANSLUCENT_PARTICLE
-
WEATHER_DEPTH_WRITE
-
WEATHER_NO_DEPTH_WRITE
-
SUNRISE_SUNSET
-
CELESTIAL
-
BLOCK_SCREEN_EFFECT
-
FIRE_SCREEN_EFFECT
-
GUI
-
GUI_OVERLAY
-
GUI_TEXTURED_OVERLAY
-
GUI_OPAQUE_TEXTURED_BACKGROUND
-
GUI_NAUSEA_OVERLAY
-
GUI_TEXT_HIGHLIGHT
-
GUI_GHOST_RECIPE_OVERLAY
-
GUI_TEXTURED
-
VIGNETTE
-
CROSSHAIR
-
MOJANG_LOGO
-
CHUNK_BUFFER_LAYERS
-
bufferSize
public final int bufferSize -
affectsCrumbling
public final boolean affectsCrumbling -
sortOnUpload
public final boolean sortOnUpload -
chunkLayerId
private int chunkLayerId
-
-
Constructor Details
-
RenderType
-
-
Method Details
-
solid
-
cutoutMipped
-
cutout
-
translucent
-
translucentMovingBlock
-
armorCutoutNoCull
-
createArmorDecalCutoutNoCull
-
armorTranslucent
-
entitySolid
-
entitySolidZOffsetForward
-
entityCutout
-
entityCutoutNoCull
-
entityCutoutNoCull
-
entityCutoutNoCullZOffset
-
entityCutoutNoCullZOffset
-
itemEntityTranslucentCull
-
entityTranslucent
-
entityTranslucent
-
entityTranslucentEmissive
-
entityTranslucentEmissive
-
entitySmoothCutout
-
beaconBeam
-
entityDecal
-
entityNoOutline
-
entityShadow
-
dragonExplosionAlpha
-
eyes
-
breezeEyes
-
breezeWind
-
energySwirl
-
leash
-
waterMask
-
outline
-
armorEntityGlint
-
glintTranslucent
-
glint
-
entityGlint
-
crumbling
-
text
-
textBackground
-
textIntensity
-
textPolygonOffset
-
textIntensityPolygonOffset
-
textSeeThrough
-
textBackgroundSeeThrough
-
textIntensitySeeThrough
-
lightning
-
dragonRays
-
dragonRaysDepth
-
tripwire
-
endPortal
-
endGateway
-
lines
-
secondaryBlockOutline
-
lineStrip
-
debugLineStrip
-
debugLine
-
debugFilledBox
-
debugQuads
-
debugTriangleFan
-
debugStructureQuads
-
debugSectionQuads
-
opaqueParticle
-
translucentParticle
-
createWeather
-
weather
-
sunriseSunset
-
celestial
-
blockScreenEffect
-
fireScreenEffect
-
gui
-
guiOverlay
-
guiTexturedOverlay
-
guiOpaqueTexturedBackground
-
guiNauseaOverlay
-
guiTextHighlight
-
guiGhostRecipeOverlay
-
guiTextured
-
vignette
-
crosshair
-
mojangLogo
-
create
public static RenderType.CompositeRenderType create(String pName, int pBufferSize, RenderPipeline pRenderPipeline, RenderType.CompositeState pState) -
create
public static RenderType.CompositeRenderType create(String pName, int pBufferSize, boolean pAffectsCrumbling, boolean pSortOnUpload, RenderPipeline pRenderPipeline, RenderType.CompositeState pState) -
draw
-
getRenderTarget
-
getRenderPipeline
-
chunkBufferLayers
-
bufferSize
public int bufferSize() -
format
-
mode
-
outline
-
isOutline
public boolean isOutline() -
affectsCrumbling
public boolean affectsCrumbling() -
canConsolidateConsecutiveGeometry
public boolean canConsolidateConsecutiveGeometry() -
sortOnUpload
public boolean sortOnUpload() -
getChunkLayerId
public final int getChunkLayerId()Returns the unique ID of thisRenderTypefor chunk rendering purposes, or -1 if this is not a chunkRenderType.- Returns:
- the unique ID of this
RenderTypefor chunk rendering purposes, or -1 if this is not a chunkRenderType
-