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 class
static final class
static enum
Nested 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 boolean
static final Function
<ResourceLocation, RenderType> static final RenderType
static final Function
<ResourceLocation, RenderType> static final BiFunction
<ResourceLocation, Boolean, RenderType> static final int
static final Function
<ResourceLocation, RenderType> final int
static final Function
<ResourceLocation, RenderType> static final Function
<ResourceLocation, RenderType> static final RenderType
static final RenderType
static final RenderType.CompositeRenderType
static final Function
<Double, RenderType.CompositeRenderType> static final RenderType.CompositeRenderType
static final RenderType.CompositeRenderType
static final RenderType.CompositeRenderType
static final RenderType.CompositeRenderType
static final Function
<ResourceLocation, RenderType> static final RenderType
static final RenderType
static final RenderType
static final 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 RenderType
static 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 RenderType
static final RenderType
static final Function
<ResourceLocation, RenderType> static final RenderType
static final RenderType
static final RenderType.CompositeRenderType
static final RenderType.CompositeRenderType
static final int
static final Function
<ResourceLocation, RenderType> static final RenderType.CompositeRenderType
static final int
static final RenderType
final boolean
static final RenderType
static final Function
<ResourceLocation, RenderType> static final RenderType
static final RenderType
static 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 int
static final RenderType
static final Function
<ResourceLocation, RenderType> static final RenderType
static final RenderType
static 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 TypeMethodDescriptionboolean
static RenderType
armorCutoutNoCull
(ResourceLocation pLocation) static RenderType
static RenderType
static RenderType
beaconBeam
(ResourceLocation pLocation, boolean pColorFlag) static RenderType
blockScreenEffect
(ResourceLocation pTexture) static RenderType
breezeEyes
(ResourceLocation pLocation) static RenderType
breezeWind
(ResourceLocation pLocation, float pU, float pV) int
boolean
static RenderType
celestial
(ResourceLocation pTexture) 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 RenderType
private static Function
<ResourceLocation, RenderType> createWeather
(RenderPipeline pRenderPipeline) static RenderType
crumbling
(ResourceLocation pLocation) static RenderType
cutout()
static RenderType
static RenderType
static RenderType
debugLineStrip
(double pWidth) static RenderType
static RenderType
static RenderType
static RenderType
static RenderType
static RenderType
static RenderType
abstract void
static RenderType
static RenderType
static RenderType
energySwirl
(ResourceLocation pLocation, float pU, float pV) static RenderType
entityCutout
(ResourceLocation pLocation) static RenderType
entityCutoutNoCull
(ResourceLocation pLocation) static RenderType
entityCutoutNoCull
(ResourceLocation pLocation, boolean pOutline) static RenderType
entityCutoutNoCullZOffset
(ResourceLocation pLocation) static RenderType
entityCutoutNoCullZOffset
(ResourceLocation pLocation, boolean pOutline) static RenderType
entityDecal
(ResourceLocation pLocation) static RenderType
static RenderType
entityNoOutline
(ResourceLocation pLocation) static RenderType
entityShadow
(ResourceLocation pLocation) static RenderType
entitySmoothCutout
(ResourceLocation pLocation) static RenderType
entitySolid
(ResourceLocation pLocation) static RenderType
entitySolidZOffsetForward
(ResourceLocation pLocation) static RenderType
entityTranslucent
(ResourceLocation pLocation) static RenderType
entityTranslucent
(ResourceLocation pLocation, boolean pOutline) static RenderType
entityTranslucentEmissive
(ResourceLocation pLocation) static RenderType
entityTranslucentEmissive
(ResourceLocation pLocation, boolean pOutline) static RenderType
eyes
(ResourceLocation pLocation) static RenderType
fireScreenEffect
(ResourceLocation pTexture) abstract VertexFormat
format()
static RenderType
glint()
static RenderType
boolean
static RenderType
itemEntityTranslucentCull
(ResourceLocation pLocation) static RenderType
leash()
static RenderType
static RenderType
lines()
static RenderType
abstract VertexFormat.Mode
mode()
static RenderType
opaqueParticle
(ResourceLocation pTexture) outline()
static RenderType
outline
(ResourceLocation pLocation) static RenderType
static RenderType
solid()
boolean
static RenderType
static RenderType
text
(ResourceLocation pLocation) static RenderType
static RenderType
static RenderType
static RenderType
static RenderType
static RenderType
static RenderType
textSeeThrough
(ResourceLocation pLocation) static RenderType
static RenderType
translucentParticle
(ResourceLocation pTexture) static RenderType
tripwire()
static RenderType
static RenderType
weather
(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_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_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
-
bufferSize
public final int bufferSize -
affectsCrumbling
public final boolean affectsCrumbling -
sortOnUpload
public final boolean sortOnUpload
-
-
Constructor Details
-
RenderType
-
-
Method Details
-
solid
-
cutoutMipped
-
cutout
-
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
-
debugFilledBox
-
debugQuads
-
debugTriangleFan
-
debugStructureQuads
-
debugSectionQuads
-
opaqueParticle
-
translucentParticle
-
createWeather
-
weather
-
sunriseSunset
-
celestial
-
blockScreenEffect
-
fireScreenEffect
-
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
-
bufferSize
public int bufferSize() -
format
-
mode
-
outline
-
isOutline
public boolean isOutline() -
affectsCrumbling
public boolean affectsCrumbling() -
canConsolidateConsecutiveGeometry
public boolean canConsolidateConsecutiveGeometry() -
sortOnUpload
public boolean sortOnUpload()
-