net.minecraft.client.renderer

public abstract class RenderType

extends RenderStateShard

fed
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
aQ
BYTES_IN_INT
field_32776
field_32776
f_173153_
private static final int
aR
MEGABYTE
field_32777
field_32777
f_173154_
public static final int
aK
BIG_BUFFER_SIZE
field_32772
SOLID_BUFFER_SIZE
f_173148_
public static final int
aL
MEDIUM_BUFFER_SIZE
field_32773
TRANSLUCENT_BUFFER_SIZE
f_173149_
public static final int
aM
SMALL_BUFFER_SIZE
field_32774
CUTOUT_BUFFER_SIZE
f_173150_
public static final int
aN
TRANSIENT_BUFFER_SIZE
field_32775
DEFAULT_BUFFER_SIZE
f_173151_
private static final RenderType
aS
SOLID
field_9178
SOLID
f_110372_
private static final RenderType
aT
CUTOUT_MIPPED
field_9175
CUTOUT_MIPPED
f_110373_
private static final RenderType
aU
CUTOUT
field_9174
CUTOUT
f_110374_
private static final RenderType
aV
TRANSLUCENT
field_9179
TRANSLUCENT
f_110375_
private static final RenderType
aW
TRANSLUCENT_MOVING_BLOCK
field_25285
TRANSLUCENT_MOVING_BLOCK
f_110376_
private static final RenderType
aX
TRANSLUCENT_NO_CRUMBLING
field_20963
TRANSLUCENT_NO_CRUMBLING
f_110377_
private static final Function<ResourceLocation, RenderType>
aY
ARMOR_CUTOUT_NO_CULL
field_29622
ARMOR_CUTOUT_NO_CULL
f_173155_
private static final Function<ResourceLocation, RenderType>
aZ
ENTITY_SOLID
field_29623
ENTITY_SOLID
f_173156_
private static final Function<ResourceLocation, RenderType>
ba
ENTITY_CUTOUT
field_29624
ENTITY_CUTOUT
f_173157_
private static final BiFunction<ResourceLocation, Boolean, RenderType>
bb
ENTITY_CUTOUT_NO_CULL
field_29625
ENTITY_CUTOUT_NO_CULL
f_173160_
private static final BiFunction<ResourceLocation, Boolean, RenderType>
bc
ENTITY_CUTOUT_NO_CULL_Z_OFFSET
field_29626
ENTITY_CUTOUT_NO_CULL_Z_OFFSET
f_173161_
private static final Function<ResourceLocation, RenderType>
bd
ITEM_ENTITY_TRANSLUCENT_CULL
field_29627
ITEM_ENTITY_TRANSLUCENT_CULL
f_173162_
private static final Function<ResourceLocation, RenderType>
be
ENTITY_TRANSLUCENT_CULL
field_29628
ENTITY_TRANSLUCENT_CULL
f_173163_
private static final BiFunction<ResourceLocation, Boolean, RenderType>
bf
ENTITY_TRANSLUCENT
field_29629
ENTITY_TRANSLUCENT
f_173164_
private static final BiFunction<ResourceLocation, Boolean, RenderType>
bg
ENTITY_TRANSLUCENT_EMISSIVE
field_38345
ENTITY_TRANSLUCENT_EMISSIVE
f_234325_
private static final Function<ResourceLocation, RenderType>
bh
ENTITY_SMOOTH_CUTOUT
field_29630
ENTITY_SMOOTH_CUTOUT
f_173165_
private static final BiFunction<ResourceLocation, Boolean, RenderType>
bi
BEACON_BEAM
field_29631
BEACON_BEAM
f_173166_
private static final Function<ResourceLocation, RenderType>
bj
ENTITY_DECAL
field_29632
ENTITY_DECAL
f_173167_
private static final Function<ResourceLocation, RenderType>
bk
ENTITY_NO_OUTLINE
field_29633
ENTITY_NO_OUTLINE
f_173168_
private static final Function<ResourceLocation, RenderType>
bl
ENTITY_SHADOW
field_29634
ENTITY_SHADOW
f_173169_
private static final Function<ResourceLocation, RenderType>
bm
DRAGON_EXPLOSION_ALPHA
field_29635
ENTITY_ALPHA
f_173170_
private static final Function<ResourceLocation, RenderType>
bn
EYES
field_29636
EYES
f_173171_
private static final RenderType
bo
LEASH
field_20964
LEASH
f_110378_
private static final RenderType
bp
WATER_MASK
field_20965
WATER_MASK
f_110379_
private static final RenderType
bq
ARMOR_GLINT
field_24472
ARMOR_GLINT
f_110380_
private static final RenderType
br
ARMOR_ENTITY_GLINT
field_24473
ARMOR_ENTITY_GLINT
f_110381_
private static final RenderType
bs
GLINT_TRANSLUCENT
field_26373
GLINT_TRANSLUCENT
f_110382_
private static final RenderType
bt
GLINT
field_20967
GLINT
f_110383_
private static final RenderType
bu
GLINT_DIRECT
field_25487
DIRECT_GLINT
f_110384_
private static final RenderType
bv
ENTITY_GLINT
field_20968
ENTITY_GLINT
f_110385_
private static final RenderType
bw
ENTITY_GLINT_DIRECT
field_25488
DIRECT_ENTITY_GLINT
f_110386_
private static final Function<ResourceLocation, RenderType>
bx
CRUMBLING
field_29637
CRUMBLING
f_173172_
private static final Function<ResourceLocation, RenderType>
by
TEXT
field_29638
TEXT
f_173173_
private static final Function<ResourceLocation, RenderType>
bz
TEXT_INTENSITY
field_33630
TEXT_INTENSITY
f_173174_
private static final Function<ResourceLocation, RenderType>
bA
TEXT_POLYGON_OFFSET
field_34002
TEXT_POLYGON_OFFSET
f_181442_
private static final Function<ResourceLocation, RenderType>
bB
TEXT_INTENSITY_POLYGON_OFFSET
field_34003
TEXT_INTENSITY_POLYGON_OFFSET
f_181443_
private static final Function<ResourceLocation, RenderType>
bC
TEXT_SEE_THROUGH
field_29639
TEXT_SEE_THROUGH
f_173175_
private static final Function<ResourceLocation, RenderType>
bD
TEXT_INTENSITY_SEE_THROUGH
field_33631
TEXT_INTENSITY_SEE_THROUGH
f_173176_
private static final RenderType
bE
LIGHTNING
field_20970
LIGHTNING
f_110387_
private static final RenderType
bF
TRIPWIRE
field_25644
TRIPWIRE
f_110388_
private static final RenderType
bG
END_PORTAL
field_29457
END_PORTAL
f_173158_
private static final RenderType
bH
END_GATEWAY
field_29458
END_GATEWAY
f_173159_
public static final RenderType$CompositeRenderType
aO
LINES
field_21695
LINES
f_110371_
public static final RenderType$CompositeRenderType
aP
LINE_STRIP
field_29456
LINE_STRIP
f_173152_
private static final com.google.common.collect.ImmutableList<RenderType>
bI
CHUNK_BUFFER_LAYERS
field_39002
BLOCK_LAYERS
f_234324_
private final VertexFormat
bJ
format
field_20972
vertexFormat
f_110389_
private final VertexFormat$Mode
bK
mode
field_20973
drawMode
f_110390_
private final int
bL
bufferSize
field_20806
expectedBufferSize
f_110391_
private final boolean
bM
affectsCrumbling
field_20975
hasCrumbling
f_110392_
private final boolean
bN
sortOnUpload
field_21402
translucent
f_110393_
private final Optional<RenderType>
bO
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(fec$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
G()
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(acf arg0)
armorCutoutNoCull(ResourceLocation arg0)
method_25448(class_2960 arg0)
getArmorCutoutNoCull(Identifier texture)
m_110431_(C_5265_ p_110432_)
public static RenderType
b(acf arg0)
entitySolid(ResourceLocation arg0)
method_23572(class_2960 arg0)
getEntitySolid(Identifier texture)
m_110446_(C_5265_ p_110447_)
public static RenderType
c(acf arg0)
entityCutout(ResourceLocation arg0)
method_23576(class_2960 arg0)
getEntityCutout(Identifier texture)
m_110452_(C_5265_ p_110453_)
public static RenderType
a(acf 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(acf arg0)
entityCutoutNoCull(ResourceLocation arg0)
method_23578(class_2960 arg0)
getEntityCutoutNoCull(Identifier texture)
m_110458_(C_5265_ p_110459_)
public static RenderType
b(acf 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(acf arg0)
entityCutoutNoCullZOffset(ResourceLocation arg0)
method_28116(class_2960 arg0)
getEntityCutoutNoCullZOffset(Identifier texture)
m_110464_(C_5265_ p_110465_)
public static RenderType
f(acf arg0)
itemEntityTranslucentCull(ResourceLocation arg0)
method_29379(class_2960 arg0)
getItemEntityTranslucentCull(Identifier texture)
m_110467_(C_5265_ p_110468_)
public static RenderType
g(acf arg0)
entityTranslucentCull(ResourceLocation arg0)
method_23689(class_2960 arg0)
getEntityTranslucentCull(Identifier texture)
m_110470_(C_5265_ p_110471_)
public static RenderType
c(acf 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(acf arg0)
entityTranslucent(ResourceLocation arg0)
method_23580(class_2960 arg0)
getEntityTranslucent(Identifier texture)
m_110473_(C_5265_ p_110474_)
public static RenderType
d(acf 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(acf arg0)
entityTranslucentEmissive(ResourceLocation arg0)
method_42600(class_2960 arg0)
getEntityTranslucentEmissive(Identifier texture)
m_234338_(C_5265_ p_234339_)
public static RenderType
j(acf arg0)
entitySmoothCutout(ResourceLocation arg0)
method_23584(class_2960 arg0)
getEntitySmoothCutout(Identifier texture)
m_110476_(C_5265_ p_110477_)
public static RenderType
e(acf 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(acf arg0)
entityDecal(ResourceLocation arg0)
method_23586(class_2960 arg0)
getEntityDecal(Identifier texture)
m_110479_(C_5265_ p_110480_)
public static RenderType
l(acf arg0)
entityNoOutline(ResourceLocation arg0)
method_23588(class_2960 arg0)
getEntityNoOutline(Identifier texture)
m_110482_(C_5265_ p_110483_)
public static RenderType
m(acf arg0)
entityShadow(ResourceLocation arg0)
method_24469(class_2960 arg0)
getEntityShadow(Identifier texture)
m_110485_(C_5265_ p_110486_)
public static RenderType
n(acf arg0)
dragonExplosionAlpha(ResourceLocation arg0)
method_23573(class_2960 arg0)
getEntityAlpha(Identifier texture)
m_173235_(C_5265_ p_173236_)
public static RenderType
o(acf arg0)
eyes(ResourceLocation arg0)
method_23026(class_2960 arg0)
getEyes(Identifier texture)
m_110488_(C_5265_ p_110489_)
public static RenderType
a(acf 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(acf 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(acf arg0)
crumbling(ResourceLocation arg0)
method_23570(class_2960 arg0)
getBlockBreaking(Identifier texture)
m_110494_(C_5265_ p_110495_)
public static RenderType
r(acf arg0)
text(ResourceLocation arg0)
method_23028(class_2960 arg0)
getText(Identifier texture)
m_110497_(C_5265_ p_110498_)
public static RenderType
s(acf arg0)
textIntensity(ResourceLocation arg0)
method_36434(class_2960 arg0)
getTextIntensity(Identifier texture)
m_173237_(C_5265_ p_173238_)
public static RenderType
t(acf arg0)
textPolygonOffset(ResourceLocation arg0)
method_37345(class_2960 arg0)
getTextPolygonOffset(Identifier texture)
m_181444_(C_5265_ p_181445_)
public static RenderType
u(acf arg0)
textIntensityPolygonOffset(ResourceLocation arg0)
method_37346(class_2960 arg0)
getTextIntensityPolygonOffset(Identifier texture)
m_181446_(C_5265_ p_181447_)
public static RenderType
v(acf arg0)
textSeeThrough(ResourceLocation arg0)
method_23030(class_2960 arg0)
getTextSeeThrough(Identifier texture)
m_110500_(C_5265_ p_110501_)
public static RenderType
w(acf arg0)
textIntensitySeeThrough(ResourceLocation arg0)
method_36435(class_2960 arg0)
getTextIntensitySeeThrough(Identifier texture)
m_173240_(C_5265_ p_173241_)
public static RenderType
r()
lightning()
method_23593()
getLightning()
m_110502_()
private static RenderType$CompositeState
H()
tripwireState()
method_29996()
getTripwirePhaseData()
m_110409_()
public static RenderType
s()
tripwire()
method_29997()
getTripwire()
m_110503_()
public static RenderType
t()
endPortal()
method_23574()
getEndPortal()
m_173239_()
public static RenderType
u()
endGateway()
method_34571()
getEndGateway()
m_173242_()
public static RenderType
v()
lines()
method_23594()
getLines()
m_110504_()
public static RenderType
w()
lineStrip()
method_34572()
getLineStrip()
m_173247_()
static RenderType$CompositeRenderType
a(String arg0, eei arg1, eei$b arg2, int arg3, fed$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, eei arg1, eei$b arg2, int arg3, boolean arg4, boolean arg5, fed$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(edy 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>
x()
chunkBufferLayers()
method_22720()
getBlockLayers()
m_110506_()
public int
y()
bufferSize()
method_22722()
getExpectedBufferSize()
m_110507_()
public VertexFormat
z()
format()
method_23031()
getVertexFormat()
m_110508_()
public VertexFormat$Mode
A()
mode()
method_23033()
getDrawMode()
m_173186_()
public Optional<RenderType>
B()
outline()
method_23289()
getAffectedOutline()
m_7280_()
public boolean
C()
isOutline()
method_24295()
isOutline()
m_5492_()
public boolean
D()
affectsCrumbling()
method_23037()
hasCrumbling()
m_110405_()
public boolean
E()
canConsolidateConsecutiveGeometry()
method_43332()
areVerticesNotShared()
m_234326_()
public Optional<RenderType>
F()
asOptional()
method_24296()
asOptional()
m_110406_()