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 name, int bufferSize, boolean affectsCrumbling, boolean sortOnUpload, Runnable setupState, Runnable clearState) -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic RenderTypearmorCutoutNoCull(ResourceLocation location) static RenderTypestatic RenderTypestatic RenderTypebeaconBeam(ResourceLocation location, boolean colorFlag) static RenderTypeblockScreenEffect(ResourceLocation texture) static RenderTypebreezeEyes(ResourceLocation location) static RenderTypebreezeWind(ResourceLocation location, float u, float v) intbooleanstatic RenderTypecelestial(ResourceLocation texture) static List<RenderType> create(String name, int bufferSize, boolean affectsCrumbling, boolean sortOnUpload, RenderPipeline renderPipeline, RenderType.CompositeState state) create(String name, int bufferSize, RenderPipeline renderPipeline, RenderType.CompositeState state) static RenderTypeprivate static Function<ResourceLocation, RenderType> createWeather(RenderPipeline renderPipeline) static RenderTypecrosshair(ResourceLocation location) static RenderTypecrumbling(ResourceLocation location) static RenderTypecutout()static RenderTypestatic RenderTypestatic RenderTypedebugLine(double width) static RenderTypedebugLineStrip(double width) static RenderTypestatic RenderTypestatic RenderTypestatic RenderTypestatic RenderTypestatic RenderTypestatic RenderTypeabstract voidstatic RenderTypestatic RenderTypestatic RenderTypeenergySwirl(ResourceLocation location, float u, float v) static RenderTypeentityCutout(ResourceLocation location) static RenderTypeentityCutoutNoCull(ResourceLocation location) static RenderTypeentityCutoutNoCull(ResourceLocation location, boolean outline) static RenderTypeentityCutoutNoCullZOffset(ResourceLocation location) static RenderTypeentityCutoutNoCullZOffset(ResourceLocation location, boolean outline) static RenderTypeentityDecal(ResourceLocation location) static RenderTypestatic RenderTypeentityNoOutline(ResourceLocation location) static RenderTypeentityShadow(ResourceLocation location) static RenderTypeentitySmoothCutout(ResourceLocation location) static RenderTypeentitySolid(ResourceLocation location) static RenderTypeentitySolidZOffsetForward(ResourceLocation location) static RenderTypeentityTranslucent(ResourceLocation location) static RenderTypeentityTranslucent(ResourceLocation location, boolean outline) static RenderTypeentityTranslucentEmissive(ResourceLocation location) static RenderTypeentityTranslucentEmissive(ResourceLocation location, boolean outline) static RenderTypeeyes(ResourceLocation location) static RenderTypefireScreenEffect(ResourceLocation texture) 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 location) static RenderTypestatic RenderTypestatic RenderTypeguiTextured(ResourceLocation location) static RenderTypeguiTexturedOverlay(ResourceLocation location) booleanstatic RenderTypeitemEntityTranslucentCull(ResourceLocation location) static RenderTypeleash()static RenderTypestatic RenderTypelines()static RenderTypeabstract VertexFormat.Modemode()static RenderTypestatic RenderTypeopaqueParticle(ResourceLocation texture) outline()static RenderTypeoutline(ResourceLocation location) static RenderTypestatic RenderTypesolid()booleanstatic RenderTypestatic RenderTypetext(ResourceLocation location) static RenderTypestatic RenderTypestatic RenderTypestatic RenderTypestatic RenderTypestatic RenderTypestatic RenderTypetextSeeThrough(ResourceLocation location) static RenderTypestatic RenderTypestatic RenderTypetranslucentParticle(ResourceLocation texture) static RenderTypetripwire()static RenderTypevignette(ResourceLocation location) static RenderTypestatic RenderTypeweather(ResourceLocation texture, boolean depthWrite) 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 name, int bufferSize, RenderPipeline renderPipeline, RenderType.CompositeState state) -
create
public static RenderType.CompositeRenderType create(String name, int bufferSize, boolean affectsCrumbling, boolean sortOnUpload, RenderPipeline renderPipeline, RenderType.CompositeState state) -
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
-