类 RenderType
java.lang.Object
net.minecraft.client.renderer.RenderStateShard
net.minecraft.client.renderer.RenderType
-
嵌套类概要
嵌套类修饰符和类型类说明(专用程序包) static final class
static final class
(专用程序包) static enum
从类继承的嵌套类/接口 net.minecraft.client.renderer.RenderStateShard
RenderStateShard.BooleanStateShard, RenderStateShard.ColorLogicStateShard, RenderStateShard.CullStateShard, RenderStateShard.DepthTestStateShard, RenderStateShard.EmptyTextureStateShard, RenderStateShard.LayeringStateShard, RenderStateShard.LightmapStateShard, RenderStateShard.LineStateShard, RenderStateShard.MultiTextureStateShard, RenderStateShard.OffsetTexturingStateShard, RenderStateShard.OutputStateShard, RenderStateShard.OverlayStateShard, RenderStateShard.ShaderStateShard, RenderStateShard.TextureStateShard, RenderStateShard.TexturingStateShard, RenderStateShard.TransparencyStateShard, RenderStateShard.WriteMaskStateShard
-
字段概要
字段修饰符和类型字段说明private final boolean
private static final Function
<ResourceLocation, RenderType> private static final RenderType
private static final Function
<ResourceLocation, RenderType> private static final BiFunction
<ResourceLocation, Boolean, RenderType> static final int
private static final Function
<ResourceLocation, RenderType> private final int
private static final Function
<ResourceLocation, RenderType> private static final com.google.common.collect.ImmutableList
<RenderType> private int
private static final RenderType
private static final RenderType
private static final Function
<ResourceLocation, RenderType> private static final Function
<ResourceLocation, RenderType> private static final RenderType
private static final RenderType
private static final RenderType.CompositeRenderType
private static final Function
<Double, RenderType.CompositeRenderType> private static final RenderType.CompositeRenderType
private static final RenderType.CompositeRenderType
private static final RenderType.CompositeRenderType
private static final RenderType.CompositeRenderType
private static final Function
<ResourceLocation, RenderType> private static final RenderType
private static final RenderType
private static final RenderType
private static final RenderType
private static final RenderType
private static final Function
<ResourceLocation, RenderType> private static final BiFunction
<ResourceLocation, Boolean, RenderType> private static final BiFunction
<ResourceLocation, Boolean, RenderType> private static final Function
<ResourceLocation, RenderType> private static final RenderType
private static final Function
<ResourceLocation, RenderType> private static final Function
<ResourceLocation, RenderType> private static final Function
<ResourceLocation, RenderType> private static final Function
<ResourceLocation, RenderType> private static final Function
<ResourceLocation, RenderType> private static final BiFunction
<ResourceLocation, Boolean, RenderType> private static final BiFunction
<ResourceLocation, Boolean, RenderType> private static final BiFunction
<ResourceLocation, RenderStateShard.TransparencyStateShard, RenderType> private static final Function
<ResourceLocation, RenderType> private static final RenderType
private final VertexFormat
private static final RenderType
private static final RenderType
private static final RenderType.CompositeRenderType
private static final RenderType.CompositeRenderType
private static final RenderType.CompositeRenderType
private static final Function
<ResourceLocation, RenderType> private static final RenderType.CompositeRenderType
private static final RenderType.CompositeRenderType
private static final Function
<ResourceLocation, RenderType> private static final Function
<ResourceLocation, RenderType> private static final Function
<ResourceLocation, RenderType> private static final RenderType
private static final RenderType
static final RenderType.CompositeRenderType
static final RenderType.CompositeRenderType
private static final int
private final VertexFormat.Mode
private static final RenderType.CompositeRenderType
private static final Function
<ResourceLocation, RenderType> static final RenderType.CompositeRenderType
private static final RenderType
static final int
private static final RenderType
private final boolean
private static final RenderType
private static final RenderType
private static final Function
<ResourceLocation, RenderType> private static final RenderType
private static final RenderType
private static final Function
<ResourceLocation, RenderType> private static final Function
<ResourceLocation, RenderType> private static final Function
<ResourceLocation, RenderType> private static final Function
<ResourceLocation, RenderType> private static final Function
<ResourceLocation, RenderType> static final int
private static final RenderType
private static final RenderType
private static final Function
<ResourceLocation, RenderType> private static final RenderType
private static final Function
<ResourceLocation, RenderType> private static final RenderType
private static final Function
<ResourceLocation, RenderType> private static final Function
<ResourceLocation, RenderType> private static final RenderType
private static final RenderType
从类继承的字段 net.minecraft.client.renderer.RenderStateShard
ADDITIVE_TRANSPARENCY, BLOCK_SHEET, BLOCK_SHEET_MIPPED, CLOUDS_TARGET, COLOR_DEPTH_WRITE, COLOR_WRITE, CROSSHAIR_TRANSPARENCY, CRUMBLING_TRANSPARENCY, CULL, DEFAULT_LINE, DEFAULT_TEXTURING, DEPTH_WRITE, ENTITY_GLINT_TEXTURING, EQUAL_DEPTH_TEST, GLINT_TEXTURING, GLINT_TRANSPARENCY, GREATER_DEPTH_TEST, ITEM_ENTITY_TARGET, LEQUAL_DEPTH_TEST, LIGHTMAP, LIGHTNING_TRANSPARENCY, MAIN_TARGET, MAX_ENCHANTMENT_GLINT_SPEED_MILLIS, MOJANG_LOGO_TRANSPARENCY, name, NAUSEA_OVERLAY_TRANSPARENCY, NO_COLOR_LOGIC, NO_CULL, NO_DEPTH_TEST, NO_LAYERING, NO_LIGHTMAP, NO_OVERLAY, NO_SHADER, NO_TEXTURE, NO_TRANSPARENCY, OR_REVERSE_COLOR_LOGIC, OUTLINE_TARGET, OVERLAY, OVERLAY_TRANSPARENCY, PARTICLE_SHADER, PARTICLES_TARGET, POLYGON_OFFSET_LAYERING, POSITION_COLOR_LIGHTMAP_SHADER, POSITION_COLOR_SHADER, POSITION_COLOR_TEX_LIGHTMAP_SHADER, POSITION_SHADER, POSITION_TEX_SHADER, POSITION_TEXTURE_COLOR_SHADER, RENDERTYPE_ARMOR_CUTOUT_NO_CULL_SHADER, RENDERTYPE_ARMOR_ENTITY_GLINT_SHADER, RENDERTYPE_ARMOR_TRANSLUCENT_SHADER, RENDERTYPE_BEACON_BEAM_SHADER, RENDERTYPE_BREEZE_WIND_SHADER, RENDERTYPE_CLOUDS_SHADER, RENDERTYPE_CRUMBLING_SHADER, RENDERTYPE_CUTOUT_MIPPED_SHADER, RENDERTYPE_CUTOUT_SHADER, RENDERTYPE_END_GATEWAY_SHADER, RENDERTYPE_END_PORTAL_SHADER, RENDERTYPE_ENERGY_SWIRL_SHADER, RENDERTYPE_ENTITY_ALPHA_SHADER, RENDERTYPE_ENTITY_CUTOUT_NO_CULL_SHADER, RENDERTYPE_ENTITY_CUTOUT_NO_CULL_Z_OFFSET_SHADER, RENDERTYPE_ENTITY_CUTOUT_SHADER, RENDERTYPE_ENTITY_DECAL_SHADER, RENDERTYPE_ENTITY_GLINT_SHADER, RENDERTYPE_ENTITY_NO_OUTLINE_SHADER, RENDERTYPE_ENTITY_SHADOW_SHADER, RENDERTYPE_ENTITY_SMOOTH_CUTOUT_SHADER, RENDERTYPE_ENTITY_SOLID_SHADER, RENDERTYPE_ENTITY_TRANSLUCENT_EMISSIVE_SHADER, RENDERTYPE_ENTITY_TRANSLUCENT_SHADER, RENDERTYPE_EYES_SHADER, RENDERTYPE_GLINT_SHADER, RENDERTYPE_GLINT_TRANSLUCENT_SHADER, RENDERTYPE_GUI_GHOST_RECIPE_OVERLAY_SHADER, RENDERTYPE_GUI_OVERLAY_SHADER, RENDERTYPE_GUI_SHADER, RENDERTYPE_GUI_TEXT_HIGHLIGHT_SHADER, RENDERTYPE_ITEM_ENTITY_TRANSLUCENT_CULL_SHADER, RENDERTYPE_LEASH_SHADER, RENDERTYPE_LIGHTNING_SHADER, RENDERTYPE_LINES_SHADER, RENDERTYPE_OUTLINE_SHADER, RENDERTYPE_SOLID_SHADER, RENDERTYPE_TEXT_BACKGROUND_SEE_THROUGH_SHADER, RENDERTYPE_TEXT_BACKGROUND_SHADER, RENDERTYPE_TEXT_INTENSITY_SEE_THROUGH_SHADER, RENDERTYPE_TEXT_INTENSITY_SHADER, RENDERTYPE_TEXT_SEE_THROUGH_SHADER, RENDERTYPE_TEXT_SHADER, RENDERTYPE_TRANSLUCENT_MOVING_BLOCK_SHADER, RENDERTYPE_TRANSLUCENT_SHADER, RENDERTYPE_TRIPWIRE_SHADER, RENDERTYPE_WATER_MASK_SHADER, setupState, TRANSLUCENT_TARGET, TRANSLUCENT_TRANSPARENCY, VIEW_OFFSET_Z_LAYERING, VIEW_OFFSET_Z_LAYERING_FORWARD, VIGNETTE_TRANSPARENCY, WEATHER_TARGET, WORLD_BORDER_LAYERING
-
构造器概要
构造器构造器说明RenderType
(String p_173178_, VertexFormat p_173179_, VertexFormat.Mode p_173180_, int p_173181_, boolean p_173182_, boolean p_173183_, Runnable p_173184_, Runnable p_173185_) -
方法概要
修饰符和类型方法说明boolean
static RenderType
armorCutoutNoCull
(ResourceLocation p_110432_) static RenderType
static RenderType
armorTranslucent
(ResourceLocation p_368218_) static RenderType
beaconBeam
(ResourceLocation p_110461_, boolean p_110462_) static RenderType
blockScreenEffect
(ResourceLocation p_378425_) static RenderType
breezeEyes
(ResourceLocation p_311465_) static RenderType
breezeWind
(ResourceLocation p_311543_, float p_312161_, float p_310801_) int
boolean
static RenderType
celestial
(ResourceLocation p_376189_) static List
<RenderType> static RenderType
clouds()
static RenderType
create
(String p_173216_, VertexFormat p_173217_, VertexFormat.Mode p_173218_, int p_173219_, boolean p_173220_, boolean p_173221_, RenderType.CompositeState p_173222_) (专用程序包) static RenderType.CompositeRenderType
create
(String p_173210_, VertexFormat p_173211_, VertexFormat.Mode p_173212_, int p_173213_, RenderType.CompositeState p_173214_) private static RenderType.CompositeRenderType
createArmorCutoutNoCull
(String p_297971_, ResourceLocation p_300992_, boolean p_297695_) static RenderType
createArmorDecalCutoutNoCull
(ResourceLocation p_298982_) private static RenderType.CompositeRenderType
createClouds
(boolean p_332692_, boolean p_364801_) private static Function
<ResourceLocation, RenderType> createWeather
(boolean p_376659_) private static RenderType
createWorldBorder
(boolean p_377169_) static RenderType
crosshair
(ResourceLocation p_361108_) static RenderType
crumbling
(ResourceLocation p_110495_) static RenderType
cutout()
static RenderType
static RenderType
static RenderType
debugLineStrip
(double p_270166_) static RenderType
static RenderType
static RenderType
static RenderType
static RenderType
dragonExplosionAlpha
(ResourceLocation p_173236_) static RenderType
static RenderType
void
static RenderType
static RenderType
static RenderType
endSky()
static RenderType
energySwirl
(ResourceLocation p_110437_, float p_110438_, float p_110439_) static RenderType
entityCutout
(ResourceLocation p_110453_) static RenderType
entityCutoutNoCull
(ResourceLocation p_110459_) static RenderType
entityCutoutNoCull
(ResourceLocation p_110444_, boolean p_110445_) static RenderType
entityCutoutNoCullZOffset
(ResourceLocation p_110465_) static RenderType
entityCutoutNoCullZOffset
(ResourceLocation p_110449_, boolean p_110450_) static RenderType
entityDecal
(ResourceLocation p_110480_) static RenderType
static RenderType
entityNoOutline
(ResourceLocation p_110483_) static RenderType
entityShadow
(ResourceLocation p_110486_) static RenderType
entitySmoothCutout
(ResourceLocation p_110477_) static RenderType
entitySolid
(ResourceLocation p_110447_) static RenderType
entitySolidZOffsetForward
(ResourceLocation p_364403_) static RenderType
entityTranslucent
(ResourceLocation p_110474_) static RenderType
entityTranslucent
(ResourceLocation p_110455_, boolean p_110456_) static RenderType
entityTranslucentEmissive
(ResourceLocation p_234339_) static RenderType
entityTranslucentEmissive
(ResourceLocation p_234336_, boolean p_234337_) static RenderType
eyes
(ResourceLocation p_110489_) static RenderType
fireScreenEffect
(ResourceLocation p_376662_) static RenderType
format()
final int
返回 the unique ID of thisRenderType
for chunk rendering purposes, or -1 if this is not a chunkRenderType
。static RenderType
glint()
static RenderType
static RenderType
gui()
static RenderType
static RenderType
static RenderType
guiOpaqueTexturedBackground
(ResourceLocation p_366506_) static RenderType
static RenderType
static RenderType
guiTextured
(ResourceLocation p_364490_) static RenderType
guiTexturedOverlay
(ResourceLocation p_363958_) boolean
static RenderType
itemEntityTranslucentCull
(ResourceLocation p_110468_) static RenderType
leash()
static RenderType
static RenderType
lines()
static RenderType
mode()
static RenderType
static RenderType
opaqueParticle
(ResourceLocation p_377146_) outline()
static RenderType
outline
(ResourceLocation p_110492_) static RenderType
static RenderType
sky()
static RenderType
solid()
boolean
static RenderType
stars()
static RenderType
static RenderType
text
(ResourceLocation p_110498_) static RenderType
static RenderType
static RenderType
textIntensity
(ResourceLocation p_173238_) static RenderType
textIntensityPolygonOffset
(ResourceLocation p_181447_) static RenderType
textIntensitySeeThrough
(ResourceLocation p_173241_) static RenderType
textPolygonOffset
(ResourceLocation p_181445_) static RenderType
textSeeThrough
(ResourceLocation p_110501_) toString()
static RenderType
static RenderType
private static RenderType.CompositeState
static RenderType
translucentParticle
(ResourceLocation p_375670_) private static RenderType.CompositeState
static RenderType
tripwire()
private static RenderType.CompositeState
static RenderType
vignette
(ResourceLocation p_369905_) static RenderType
static RenderType
weather
(ResourceLocation p_376873_, boolean p_375456_) static RenderType
worldBorder
(boolean p_375426_) 从类继承的方法 net.minecraft.client.renderer.RenderStateShard
clearRenderState, setupRenderState
-
字段详细资料
-
MEGABYTE
private static final int MEGABYTE- 另请参阅:
-
BIG_BUFFER_SIZE
public static final int BIG_BUFFER_SIZE- 另请参阅:
-
SMALL_BUFFER_SIZE
public static final int SMALL_BUFFER_SIZE- 另请参阅:
-
TRANSIENT_BUFFER_SIZE
public static final int TRANSIENT_BUFFER_SIZE- 另请参阅:
-
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
private static final BiFunction<ResourceLocation,RenderStateShard.TransparencyStateShard, EYESRenderType> -
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
-
FLAT_CLOUDS
-
CLOUDS
-
CLOUDS_DEPTH_ONLY
-
LINES
-
SECONDARY_BLOCK_OUTLINE
-
LINE_STRIP
-
DEBUG_LINE_STRIP
-
DEBUG_FILLED_BOX
-
DEBUG_QUADS
-
DEBUG_TRIANGLE_FAN
-
DEBUG_STRUCTURE_QUADS
-
DEBUG_SECTION_QUADS
-
WORLD_BORDER_NO_DEPTH_WRITE
-
WORLD_BORDER_DEPTH_WRITE
-
OPAQUE_PARTICLE
-
TRANSLUCENT_PARTICLE
-
WEATHER_DEPTH_WRITE
-
WEATHER_NO_DEPTH_WRITE
-
SKY
-
END_SKY
-
SUNRISE_SUNSET
-
STARS
-
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
-
format
-
mode
-
bufferSize
private final int bufferSize -
affectsCrumbling
private final boolean affectsCrumbling -
sortOnUpload
private final boolean sortOnUpload -
chunkLayerId
private int chunkLayerId
-
-
构造器详细资料
-
RenderType
public RenderType(String p_173178_, VertexFormat p_173179_, VertexFormat.Mode p_173180_, int p_173181_, boolean p_173182_, boolean p_173183_, Runnable p_173184_, Runnable p_173185_)
-
-
方法详细资料
-
getChunkLayerId
public final int getChunkLayerId()返回 the unique ID of thisRenderType
for chunk rendering purposes, or -1 if this is not a chunkRenderType
。- 返回:
- the unique ID of this
RenderType
for chunk rendering purposes, or -1 if this is not a chunkRenderType
-
solid
-
cutoutMipped
-
cutout
-
translucentState
private static RenderType.CompositeState translucentState(RenderStateShard.ShaderStateShard p_173208_) -
translucent
-
translucentMovingBlockState
-
translucentMovingBlock
-
createArmorCutoutNoCull
private static RenderType.CompositeRenderType createArmorCutoutNoCull(String p_297971_, ResourceLocation p_300992_, boolean p_297695_) -
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
-
tripwireState
-
tripwire
-
endPortal
-
endGateway
-
createClouds
-
flatClouds
-
clouds
-
cloudsDepthOnly
-
lines
-
secondaryBlockOutline
-
lineStrip
-
debugLineStrip
-
debugFilledBox
-
debugQuads
-
debugTriangleFan
-
debugStructureQuads
-
debugSectionQuads
-
createWorldBorder
-
worldBorder
-
opaqueParticle
-
translucentParticle
-
createWeather
-
weather
-
sky
-
endSky
-
sunriseSunset
-
stars
-
celestial
-
blockScreenEffect
-
fireScreenEffect
-
gui
-
guiOverlay
-
guiTexturedOverlay
-
guiOpaqueTexturedBackground
-
guiNauseaOverlay
-
guiTextHighlight
-
guiGhostRecipeOverlay
-
guiTextured
-
vignette
-
crosshair
-
mojangLogo
-
create
static RenderType.CompositeRenderType create(String p_173210_, VertexFormat p_173211_, VertexFormat.Mode p_173212_, int p_173213_, RenderType.CompositeState p_173214_) -
create
public static RenderType.CompositeRenderType create(String p_173216_, VertexFormat p_173217_, VertexFormat.Mode p_173218_, int p_173219_, boolean p_173220_, boolean p_173221_, RenderType.CompositeState p_173222_) -
draw
-
toString
- 覆盖:
toString
在类中RenderStateShard
-
chunkBufferLayers
-
bufferSize
public int bufferSize() -
format
-
mode
-
outline
-
isOutline
public boolean isOutline() -
affectsCrumbling
public boolean affectsCrumbling() -
canConsolidateConsecutiveGeometry
public boolean canConsolidateConsecutiveGeometry() -
sortOnUpload
public boolean sortOnUpload()
-