net.minecraft.client.renderer

public abstract class RenderType

extends RenderStateShard

fio
net.minecraft.client.renderer.RenderType
net.minecraft.class_1921
net.minecraft.client.render.RenderLayer
net.minecraft.src.C_4168_

Field summary

Modifier and TypeField
private static final int
aT
BYTES_IN_INT
field_32776
field_32776
f_173153_
private static final int
aU
MEGABYTE
field_32777
field_32777
f_173154_
public static final int
aN
BIG_BUFFER_SIZE
field_32772
SOLID_BUFFER_SIZE
f_173148_
public static final int
aO
MEDIUM_BUFFER_SIZE
field_32773
TRANSLUCENT_BUFFER_SIZE
f_173149_
public static final int
aP
SMALL_BUFFER_SIZE
field_32774
CUTOUT_BUFFER_SIZE
f_173150_
public static final int
aQ
TRANSIENT_BUFFER_SIZE
field_32775
DEFAULT_BUFFER_SIZE
f_173151_
private static final RenderType
aV
SOLID
field_9178
SOLID
f_110372_
private static final RenderType
aW
CUTOUT_MIPPED
field_9175
CUTOUT_MIPPED
f_110373_
private static final RenderType
aX
CUTOUT
field_9174
CUTOUT
f_110374_
private static final RenderType
aY
TRANSLUCENT
field_9179
TRANSLUCENT
f_110375_
private static final RenderType
aZ
TRANSLUCENT_MOVING_BLOCK
field_25285
TRANSLUCENT_MOVING_BLOCK
f_110376_
private static final RenderType
ba
TRANSLUCENT_NO_CRUMBLING
field_20963
TRANSLUCENT_NO_CRUMBLING
f_110377_
private static final Function<ResourceLocation, RenderType>
bb
ARMOR_CUTOUT_NO_CULL
field_29622
ARMOR_CUTOUT_NO_CULL
f_173155_
private static final Function<ResourceLocation, RenderType>
bc
ENTITY_SOLID
field_29623
ENTITY_SOLID
f_173156_
private static final Function<ResourceLocation, RenderType>
bd
ENTITY_CUTOUT
field_29624
ENTITY_CUTOUT
f_173157_
private static final BiFunction<ResourceLocation, Boolean, RenderType>
be
ENTITY_CUTOUT_NO_CULL
field_29625
ENTITY_CUTOUT_NO_CULL
f_173160_
private static final BiFunction<ResourceLocation, Boolean, RenderType>
bf
ENTITY_CUTOUT_NO_CULL_Z_OFFSET
field_29626
ENTITY_CUTOUT_NO_CULL_Z_OFFSET
f_173161_
private static final Function<ResourceLocation, RenderType>
bg
ITEM_ENTITY_TRANSLUCENT_CULL
field_29627
ITEM_ENTITY_TRANSLUCENT_CULL
f_173162_
private static final Function<ResourceLocation, RenderType>
bh
ENTITY_TRANSLUCENT_CULL
field_29628
ENTITY_TRANSLUCENT_CULL
f_173163_
private static final BiFunction<ResourceLocation, Boolean, RenderType>
bi
ENTITY_TRANSLUCENT
field_29629
ENTITY_TRANSLUCENT
f_173164_
private static final BiFunction<ResourceLocation, Boolean, RenderType>
bj
ENTITY_TRANSLUCENT_EMISSIVE
field_38345
ENTITY_TRANSLUCENT_EMISSIVE
f_234325_
private static final Function<ResourceLocation, RenderType>
bk
ENTITY_SMOOTH_CUTOUT
field_29630
ENTITY_SMOOTH_CUTOUT
f_173165_
private static final BiFunction<ResourceLocation, Boolean, RenderType>
bl
BEACON_BEAM
field_29631
BEACON_BEAM
f_173166_
private static final Function<ResourceLocation, RenderType>
bm
ENTITY_DECAL
field_29632
ENTITY_DECAL
f_173167_
private static final Function<ResourceLocation, RenderType>
bn
ENTITY_NO_OUTLINE
field_29633
ENTITY_NO_OUTLINE
f_173168_
private static final Function<ResourceLocation, RenderType>
bo
ENTITY_SHADOW
field_29634
ENTITY_SHADOW
f_173169_
private static final Function<ResourceLocation, RenderType>
bp
DRAGON_EXPLOSION_ALPHA
field_29635
ENTITY_ALPHA
f_173170_
private static final Function<ResourceLocation, RenderType>
bq
EYES
field_29636
EYES
f_173171_
private static final RenderType
br
LEASH
field_20964
LEASH
f_110378_
private static final RenderType
bs
WATER_MASK
field_20965
WATER_MASK
f_110379_
private static final RenderType
bt
ARMOR_GLINT
field_24472
ARMOR_GLINT
f_110380_
private static final RenderType
bu
ARMOR_ENTITY_GLINT
field_24473
ARMOR_ENTITY_GLINT
f_110381_
private static final RenderType
bv
GLINT_TRANSLUCENT
field_26373
GLINT_TRANSLUCENT
f_110382_
private static final RenderType
bw
GLINT
field_20967
GLINT
f_110383_
private static final RenderType
bx
GLINT_DIRECT
field_25487
DIRECT_GLINT
f_110384_
private static final RenderType
by
ENTITY_GLINT
field_20968
ENTITY_GLINT
f_110385_
private static final RenderType
bz
ENTITY_GLINT_DIRECT
field_25488
DIRECT_ENTITY_GLINT
f_110386_
private static final Function<ResourceLocation, RenderType>
bA
CRUMBLING
field_29637
CRUMBLING
f_173172_
private static final Function<ResourceLocation, RenderType>
bB
TEXT
field_29638
TEXT
f_173173_
private static final RenderType
bC
TEXT_BACKGROUND
field_42519
TEXT_BACKGROUND
f_268665_
private static final Function<ResourceLocation, RenderType>
bD
TEXT_INTENSITY
field_33630
TEXT_INTENSITY
f_173174_
private static final Function<ResourceLocation, RenderType>
bE
TEXT_POLYGON_OFFSET
field_34002
TEXT_POLYGON_OFFSET
f_181442_
private static final Function<ResourceLocation, RenderType>
bF
TEXT_INTENSITY_POLYGON_OFFSET
field_34003
TEXT_INTENSITY_POLYGON_OFFSET
f_181443_
private static final Function<ResourceLocation, RenderType>
bG
TEXT_SEE_THROUGH
field_29639
TEXT_SEE_THROUGH
f_173175_
private static final RenderType
bH
TEXT_BACKGROUND_SEE_THROUGH
field_42520
TEXT_BACKGROUND_SEE_THROUGH
f_268619_
private static final Function<ResourceLocation, RenderType>
bI
TEXT_INTENSITY_SEE_THROUGH
field_33631
TEXT_INTENSITY_SEE_THROUGH
f_173176_
private static final RenderType
bJ
LIGHTNING
field_20970
LIGHTNING
f_110387_
private static final RenderType
bK
TRIPWIRE
field_25644
TRIPWIRE
f_110388_
private static final RenderType
bL
END_PORTAL
field_29457
END_PORTAL
f_173158_
private static final RenderType
bM
END_GATEWAY
field_29458
END_GATEWAY
f_173159_
public static final RenderType$CompositeRenderType
aR
LINES
field_21695
LINES
f_110371_
public static final RenderType$CompositeRenderType
aS
LINE_STRIP
field_29456
LINE_STRIP
f_173152_
private static final Function<Double, RenderType$CompositeRenderType>
bN
DEBUG_LINE_STRIP
field_42521
DEBUG_LINE_STRIP
f_268753_
private static final RenderType$CompositeRenderType
bO
DEBUG_FILLED_BOX
field_42522
DEBUG_FILLED_BOX
f_268540_
private static final RenderType$CompositeRenderType
bP
DEBUG_QUADS
field_42523
DEBUG_QUADS
f_268519_
private static final com.google.common.collect.ImmutableList<RenderType>
bQ
CHUNK_BUFFER_LAYERS
field_39002
BLOCK_LAYERS
f_234324_
private final VertexFormat
bR
format
field_20972
vertexFormat
f_110389_
private final VertexFormat$Mode
bS
mode
field_20973
drawMode
f_110390_
private final int
bT
bufferSize
field_20806
expectedBufferSize
f_110391_
private final boolean
bU
affectsCrumbling
field_20975
hasCrumbling
f_110392_
private final boolean
bV
sortOnUpload
field_21402
translucent
f_110393_
private final Optional<RenderType>
bW
asOptional
field_21850
optionalThis
f_110394_

Constructor summary

ModifierConstructor
public (String name, VertexFormat vertexFormat, VertexFormat$Mode drawMode, int expectedBufferSize, boolean hasCrumbling, boolean translucent, Runnable startAction, Runnable endAction)

Method summary

Modifier and TypeMethod
public static RenderType
c()
solid()
method_23577()
getSolid()
m_110451_()
public static RenderType
d()
cutoutMipped()
method_23579()
getCutoutMipped()
m_110457_()
public static RenderType
e()
cutout()
method_23581()
getCutout()
m_110463_()
private static RenderType$CompositeState
a(fin$l arg0)
translucentState(RenderStateShard$ShaderStateShard arg0)
method_34569(class_4668$class_5942 arg0)
of(RenderPhase$ShaderProgram program)
m_173207_(C_4149_$C_141720_ p_173208_)
public static RenderType
f()
translucent()
method_23583()
getTranslucent()
m_110466_()
private static RenderType$CompositeState
K()
translucentMovingBlockState()
method_29381()
getItemPhaseData()
m_110408_()
public static RenderType
g()
translucentMovingBlock()
method_29380()
getTranslucentMovingBlock()
m_110469_()
public static RenderType
h()
translucentNoCrumbling()
method_23585()
getTranslucentNoCrumbling()
m_110472_()
public static RenderType
a(add arg0)
armorCutoutNoCull(ResourceLocation arg0)
method_25448(class_2960 arg0)
getArmorCutoutNoCull(Identifier texture)
m_110431_(C_5265_ p_110432_)
public static RenderType
b(add arg0)
entitySolid(ResourceLocation arg0)
method_23572(class_2960 arg0)
getEntitySolid(Identifier texture)
m_110446_(C_5265_ p_110447_)
public static RenderType
c(add arg0)
entityCutout(ResourceLocation arg0)
method_23576(class_2960 arg0)
getEntityCutout(Identifier texture)
m_110452_(C_5265_ p_110453_)
public static RenderType
a(add arg0, boolean arg1)
entityCutoutNoCull(ResourceLocation arg0, boolean arg1)
method_24293(class_2960 arg0, boolean arg1)
getEntityCutoutNoCull(Identifier texture, boolean affectsOutline)
m_110443_(C_5265_ p_110444_, boolean p_110445_)
public static RenderType
d(add arg0)
entityCutoutNoCull(ResourceLocation arg0)
method_23578(class_2960 arg0)
getEntityCutoutNoCull(Identifier texture)
m_110458_(C_5265_ p_110459_)
public static RenderType
b(add arg0, boolean arg1)
entityCutoutNoCullZOffset(ResourceLocation arg0, boolean arg1)
method_28115(class_2960 arg0, boolean arg1)
getEntityCutoutNoCullZOffset(Identifier texture, boolean affectsOutline)
m_110448_(C_5265_ p_110449_, boolean p_110450_)
public static RenderType
e(add arg0)
entityCutoutNoCullZOffset(ResourceLocation arg0)
method_28116(class_2960 arg0)
getEntityCutoutNoCullZOffset(Identifier texture)
m_110464_(C_5265_ p_110465_)
public static RenderType
f(add arg0)
itemEntityTranslucentCull(ResourceLocation arg0)
method_29379(class_2960 arg0)
getItemEntityTranslucentCull(Identifier texture)
m_110467_(C_5265_ p_110468_)
public static RenderType
g(add arg0)
entityTranslucentCull(ResourceLocation arg0)
method_23689(class_2960 arg0)
getEntityTranslucentCull(Identifier texture)
m_110470_(C_5265_ p_110471_)
public static RenderType
c(add arg0, boolean arg1)
entityTranslucent(ResourceLocation arg0, boolean arg1)
method_24294(class_2960 arg0, boolean arg1)
getEntityTranslucent(Identifier texture, boolean affectsOutline)
m_110454_(C_5265_ p_110455_, boolean p_110456_)
public static RenderType
h(add arg0)
entityTranslucent(ResourceLocation arg0)
method_23580(class_2960 arg0)
getEntityTranslucent(Identifier texture)
m_110473_(C_5265_ p_110474_)
public static RenderType
d(add arg0, boolean arg1)
entityTranslucentEmissive(ResourceLocation arg0, boolean arg1)
method_42599(class_2960 arg0, boolean arg1)
getEntityTranslucentEmissive(Identifier texture, boolean affectsOutline)
m_234335_(C_5265_ p_234336_, boolean p_234337_)
public static RenderType
i(add arg0)
entityTranslucentEmissive(ResourceLocation arg0)
method_42600(class_2960 arg0)
getEntityTranslucentEmissive(Identifier texture)
m_234338_(C_5265_ p_234339_)
public static RenderType
j(add arg0)
entitySmoothCutout(ResourceLocation arg0)
method_23584(class_2960 arg0)
getEntitySmoothCutout(Identifier texture)
m_110476_(C_5265_ p_110477_)
public static RenderType
e(add arg0, boolean arg1)
beaconBeam(ResourceLocation arg0, boolean arg1)
method_23592(class_2960 arg0, boolean arg1)
getBeaconBeam(Identifier texture, boolean translucent)
m_110460_(C_5265_ p_110461_, boolean p_110462_)
public static RenderType
k(add arg0)
entityDecal(ResourceLocation arg0)
method_23586(class_2960 arg0)
getEntityDecal(Identifier texture)
m_110479_(C_5265_ p_110480_)
public static RenderType
l(add arg0)
entityNoOutline(ResourceLocation arg0)
method_23588(class_2960 arg0)
getEntityNoOutline(Identifier texture)
m_110482_(C_5265_ p_110483_)
public static RenderType
m(add arg0)
entityShadow(ResourceLocation arg0)
method_24469(class_2960 arg0)
getEntityShadow(Identifier texture)
m_110485_(C_5265_ p_110486_)
public static RenderType
n(add arg0)
dragonExplosionAlpha(ResourceLocation arg0)
method_23573(class_2960 arg0)
getEntityAlpha(Identifier texture)
m_173235_(C_5265_ p_173236_)
public static RenderType
o(add arg0)
eyes(ResourceLocation arg0)
method_23026(class_2960 arg0)
getEyes(Identifier texture)
m_110488_(C_5265_ p_110489_)
public static RenderType
a(add arg0, float arg1, float arg2)
energySwirl(ResourceLocation arg0, float arg1, float arg2)
method_23018(class_2960 arg0, float arg1, float arg2)
getEnergySwirl(Identifier texture, float x, float y)
m_110436_(C_5265_ p_110437_, float p_110438_, float p_110439_)
public static RenderType
i()
leash()
method_23587()
getLeash()
m_110475_()
public static RenderType
j()
waterMask()
method_23589()
getWaterMask()
m_110478_()
public static RenderType
p(add arg0)
outline(ResourceLocation arg0)
method_23287(class_2960 arg0)
getOutline(Identifier texture)
m_110491_(C_5265_ p_110492_)
public static RenderType
k()
armorGlint()
method_27948()
getArmorGlint()
m_110481_()
public static RenderType
l()
armorEntityGlint()
method_27949()
getArmorEntityGlint()
m_110484_()
public static RenderType
m()
glintTranslucent()
method_30676()
getGlintTranslucent()
m_110487_()
public static RenderType
n()
glint()
method_23590()
getGlint()
m_110490_()
public static RenderType
o()
glintDirect()
method_29706()
getDirectGlint()
m_110493_()
public static RenderType
p()
entityGlint()
method_23591()
getEntityGlint()
m_110496_()
public static RenderType
q()
entityGlintDirect()
method_29707()
getDirectEntityGlint()
m_110499_()
public static RenderType
q(add arg0)
crumbling(ResourceLocation arg0)
method_23570(class_2960 arg0)
getBlockBreaking(Identifier texture)
m_110494_(C_5265_ p_110495_)
public static RenderType
r(add arg0)
text(ResourceLocation arg0)
method_23028(class_2960 arg0)
getText(Identifier texture)
m_110497_(C_5265_ p_110498_)
public static RenderType
r()
textBackground()
method_49045()
getTextBackground()
m_269058_()
public static RenderType
s(add arg0)
textIntensity(ResourceLocation arg0)
method_36434(class_2960 arg0)
getTextIntensity(Identifier texture)
m_173237_(C_5265_ p_173238_)
public static RenderType
t(add arg0)
textPolygonOffset(ResourceLocation arg0)
method_37345(class_2960 arg0)
getTextPolygonOffset(Identifier texture)
m_181444_(C_5265_ p_181445_)
public static RenderType
u(add arg0)
textIntensityPolygonOffset(ResourceLocation arg0)
method_37346(class_2960 arg0)
getTextIntensityPolygonOffset(Identifier texture)
m_181446_(C_5265_ p_181447_)
public static RenderType
v(add arg0)
textSeeThrough(ResourceLocation arg0)
method_23030(class_2960 arg0)
getTextSeeThrough(Identifier texture)
m_110500_(C_5265_ p_110501_)
public static RenderType
s()
textBackgroundSeeThrough()
method_49046()
getTextBackgroundSeeThrough()
m_269508_()
public static RenderType
w(add arg0)
textIntensitySeeThrough(ResourceLocation arg0)
method_36435(class_2960 arg0)
getTextIntensitySeeThrough(Identifier texture)
m_173240_(C_5265_ p_173241_)
public static RenderType
t()
lightning()
method_23593()
getLightning()
m_110502_()
private static RenderType$CompositeState
L()
tripwireState()
method_29996()
getTripwirePhaseData()
m_110409_()
public static RenderType
u()
tripwire()
method_29997()
getTripwire()
m_110503_()
public static RenderType
v()
endPortal()
method_23574()
getEndPortal()
m_173239_()
public static RenderType
w()
endGateway()
method_34571()
getEndGateway()
m_173242_()
public static RenderType
x()
lines()
method_23594()
getLines()
m_110504_()
public static RenderType
y()
lineStrip()
method_34572()
getLineStrip()
m_173247_()
public static RenderType
a(double arg0)
debugLineStrip(double arg0)
method_49043(double arg0)
getDebugLineStrip(double lineWidth)
m_269399_(double p_270166_)
public static RenderType
z()
debugFilledBox()
method_49047()
getDebugFilledBox()
m_269313_()
public static RenderType
A()
debugQuads()
method_49042()
getDebugQuads()
m_269166_()
static RenderType$CompositeRenderType
a(String arg0, ehj arg1, ehj$b arg2, int arg3, fio$b arg4)
create(String arg0, VertexFormat arg1, VertexFormat$Mode arg2, int arg3, RenderType$CompositeState arg4)
method_24048(String arg0, class_293 arg1, class_293$class_5596 arg2, int arg3, class_1921$class_4688 arg4)
of(String name, VertexFormat vertexFormat, VertexFormat$DrawMode drawMode, int expectedBufferSize, RenderLayer$MultiPhaseParameters phaseData)
m_173209_(String p_173210_, C_3188_ p_173211_, C_3188_$C_141549_ p_173212_, int p_173213_, C_4168_$C_4172_ p_173214_)
private static RenderType$CompositeRenderType
a(String arg0, ehj arg1, ehj$b arg2, int arg3, boolean arg4, boolean arg5, fio$b arg6)
create(String arg0, VertexFormat arg1, VertexFormat$Mode arg2, int arg3, boolean arg4, boolean arg5, RenderType$CompositeState arg6)
method_24049(String arg0, class_293 arg1, class_293$class_5596 arg2, int arg3, boolean arg4, boolean arg5, class_1921$class_4688 arg6)
of(String name, VertexFormat vertexFormat, VertexFormat$DrawMode drawMode, int expectedBufferSize, boolean hasCrumbling, boolean translucent, RenderLayer$MultiPhaseParameters phases)
m_173215_(String p_173216_, C_3188_ p_173217_, C_3188_$C_141549_ p_173218_, int p_173219_, boolean p_173220_, boolean p_173221_, C_4168_$C_4172_ p_173222_)
public void
a(egz arg0, int arg1, int arg2, int arg3)
end(BufferBuilder arg0, int arg1, int arg2, int arg3)
method_23012(class_287 arg0, int arg1, int arg2, int arg3)
draw(BufferBuilder buffer, int cameraX, int cameraY, int cameraZ)
m_110412_(C_3173_ p_110414_, int p_110415_, int p_110416_, int arg3)
public static List<RenderType>
B()
chunkBufferLayers()
method_22720()
getBlockLayers()
m_110506_()
public int
C()
bufferSize()
method_22722()
getExpectedBufferSize()
m_110507_()
public VertexFormat
D()
format()
method_23031()
getVertexFormat()
m_110508_()
public VertexFormat$Mode
E()
mode()
method_23033()
getDrawMode()
m_173186_()
public Optional<RenderType>
F()
outline()
method_23289()
getAffectedOutline()
m_7280_()
public boolean
G()
isOutline()
method_24295()
isOutline()
m_5492_()
public boolean
H()
affectsCrumbling()
method_23037()
hasCrumbling()
m_110405_()
public boolean
I()
canConsolidateConsecutiveGeometry()
method_43332()
areVerticesNotShared()
m_234326_()
public Optional<RenderType>
J()
asOptional()
method_24296()
asOptional()
m_110406_()