net.minecraft.client.renderer

public abstract class RenderType

extends RenderStateShard

fkf
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
aY
BYTES_IN_INT
field_32776
field_32776
f_173153_
private static final int
aZ
MEGABYTE
field_32777
field_32777
f_173154_
public static final int
aS
BIG_BUFFER_SIZE
field_32772
SOLID_BUFFER_SIZE
f_173148_
public static final int
aT
MEDIUM_BUFFER_SIZE
field_32773
TRANSLUCENT_BUFFER_SIZE
f_173149_
public static final int
aU
SMALL_BUFFER_SIZE
field_32774
CUTOUT_BUFFER_SIZE
f_173150_
public static final int
aV
TRANSIENT_BUFFER_SIZE
field_32775
DEFAULT_BUFFER_SIZE
f_173151_
private static final RenderType
ba
SOLID
field_9178
SOLID
f_110372_
private static final RenderType
bb
CUTOUT_MIPPED
field_9175
CUTOUT_MIPPED
f_110373_
private static final RenderType
bc
CUTOUT
field_9174
CUTOUT
f_110374_
private static final RenderType
bd
TRANSLUCENT
field_9179
TRANSLUCENT
f_110375_
private static final RenderType
be
TRANSLUCENT_MOVING_BLOCK
field_25285
TRANSLUCENT_MOVING_BLOCK
f_110376_
private static final RenderType
bf
TRANSLUCENT_NO_CRUMBLING
field_20963
TRANSLUCENT_NO_CRUMBLING
f_110377_
private static final Function<ResourceLocation, RenderType>
bg
ARMOR_CUTOUT_NO_CULL
field_29622
ARMOR_CUTOUT_NO_CULL
f_173155_
private static final Function<ResourceLocation, RenderType>
bh
ENTITY_SOLID
field_29623
ENTITY_SOLID
f_173156_
private static final Function<ResourceLocation, RenderType>
bi
ENTITY_CUTOUT
field_29624
ENTITY_CUTOUT
f_173157_
private static final BiFunction<ResourceLocation, Boolean, RenderType>
bj
ENTITY_CUTOUT_NO_CULL
field_29625
ENTITY_CUTOUT_NO_CULL
f_173160_
private static final BiFunction<ResourceLocation, Boolean, RenderType>
bk
ENTITY_CUTOUT_NO_CULL_Z_OFFSET
field_29626
ENTITY_CUTOUT_NO_CULL_Z_OFFSET
f_173161_
private static final Function<ResourceLocation, RenderType>
bl
ITEM_ENTITY_TRANSLUCENT_CULL
field_29627
ITEM_ENTITY_TRANSLUCENT_CULL
f_173162_
private static final Function<ResourceLocation, RenderType>
bm
ENTITY_TRANSLUCENT_CULL
field_29628
ENTITY_TRANSLUCENT_CULL
f_173163_
private static final BiFunction<ResourceLocation, Boolean, RenderType>
bn
ENTITY_TRANSLUCENT
field_29629
ENTITY_TRANSLUCENT
f_173164_
private static final BiFunction<ResourceLocation, Boolean, RenderType>
bo
ENTITY_TRANSLUCENT_EMISSIVE
field_38345
ENTITY_TRANSLUCENT_EMISSIVE
f_234325_
private static final Function<ResourceLocation, RenderType>
bp
ENTITY_SMOOTH_CUTOUT
field_29630
ENTITY_SMOOTH_CUTOUT
f_173165_
private static final BiFunction<ResourceLocation, Boolean, RenderType>
bq
BEACON_BEAM
field_29631
BEACON_BEAM
f_173166_
private static final Function<ResourceLocation, RenderType>
br
ENTITY_DECAL
field_29632
ENTITY_DECAL
f_173167_
private static final Function<ResourceLocation, RenderType>
bs
ENTITY_NO_OUTLINE
field_29633
ENTITY_NO_OUTLINE
f_173168_
private static final Function<ResourceLocation, RenderType>
bt
ENTITY_SHADOW
field_29634
ENTITY_SHADOW
f_173169_
private static final Function<ResourceLocation, RenderType>
bu
DRAGON_EXPLOSION_ALPHA
field_29635
ENTITY_ALPHA
f_173170_
private static final Function<ResourceLocation, RenderType>
bv
EYES
field_29636
EYES
f_173171_
private static final RenderType
bw
LEASH
field_20964
LEASH
f_110378_
private static final RenderType
bx
WATER_MASK
field_20965
WATER_MASK
f_110379_
private static final RenderType
by
ARMOR_GLINT
field_24472
ARMOR_GLINT
f_110380_
private static final RenderType
bz
ARMOR_ENTITY_GLINT
field_24473
ARMOR_ENTITY_GLINT
f_110381_
private static final RenderType
bA
GLINT_TRANSLUCENT
field_26373
GLINT_TRANSLUCENT
f_110382_
private static final RenderType
bB
GLINT
field_20967
GLINT
f_110383_
private static final RenderType
bC
GLINT_DIRECT
field_25487
DIRECT_GLINT
f_110384_
private static final RenderType
bD
ENTITY_GLINT
field_20968
ENTITY_GLINT
f_110385_
private static final RenderType
bE
ENTITY_GLINT_DIRECT
field_25488
DIRECT_ENTITY_GLINT
f_110386_
private static final Function<ResourceLocation, RenderType>
bF
CRUMBLING
field_29637
CRUMBLING
f_173172_
private static final Function<ResourceLocation, RenderType>
bG
TEXT
field_29638
TEXT
f_173173_
private static final RenderType
bH
TEXT_BACKGROUND
field_42519
TEXT_BACKGROUND
f_268665_
private static final Function<ResourceLocation, RenderType>
bI
TEXT_INTENSITY
field_33630
TEXT_INTENSITY
f_173174_
private static final Function<ResourceLocation, RenderType>
bJ
TEXT_POLYGON_OFFSET
field_34002
TEXT_POLYGON_OFFSET
f_181442_
private static final Function<ResourceLocation, RenderType>
bK
TEXT_INTENSITY_POLYGON_OFFSET
field_34003
TEXT_INTENSITY_POLYGON_OFFSET
f_181443_
private static final Function<ResourceLocation, RenderType>
bL
TEXT_SEE_THROUGH
field_29639
TEXT_SEE_THROUGH
f_173175_
private static final RenderType
bM
TEXT_BACKGROUND_SEE_THROUGH
field_42520
TEXT_BACKGROUND_SEE_THROUGH
f_268619_
private static final Function<ResourceLocation, RenderType>
bN
TEXT_INTENSITY_SEE_THROUGH
field_33631
TEXT_INTENSITY_SEE_THROUGH
f_173176_
private static final RenderType
bO
LIGHTNING
field_20970
LIGHTNING
f_110387_
private static final RenderType
bP
TRIPWIRE
field_25644
TRIPWIRE
f_110388_
private static final RenderType
bQ
END_PORTAL
field_29457
END_PORTAL
f_173158_
private static final RenderType
bR
END_GATEWAY
field_29458
END_GATEWAY
f_173159_
public static final RenderType$CompositeRenderType
aW
LINES
field_21695
LINES
f_110371_
public static final RenderType$CompositeRenderType
aX
LINE_STRIP
field_29456
LINE_STRIP
f_173152_
private static final Function<Double, RenderType$CompositeRenderType>
bS
DEBUG_LINE_STRIP
field_42521
DEBUG_LINE_STRIP
f_268753_
private static final RenderType$CompositeRenderType
bT
DEBUG_FILLED_BOX
field_42522
DEBUG_FILLED_BOX
f_268540_
private static final RenderType$CompositeRenderType
bU
DEBUG_QUADS
field_42523
DEBUG_QUADS
f_268519_
private static final RenderType$CompositeRenderType
bV
DEBUG_SECTION_QUADS
field_44673
DEBUG_SECTION_QUADS
f_279582_
private static final RenderType$CompositeRenderType
bW
GUI
field_44821
GUI
f_285558_
private static final RenderType$CompositeRenderType
bX
GUI_OVERLAY
field_44822
GUI_OVERLAY
f_285624_
private static final RenderType$CompositeRenderType
bY
GUI_TEXT_HIGHLIGHT
field_44823
GUI_TEXT_HIGHLIGHT
f_285662_
private static final RenderType$CompositeRenderType
bZ
GUI_GHOST_RECIPE_OVERLAY
field_44824
GUI_GHOST_RECIPE_OVERLAY
f_285639_
private static final com.google.common.collect.ImmutableList<RenderType>
ca
CHUNK_BUFFER_LAYERS
field_39002
BLOCK_LAYERS
f_234324_
private final VertexFormat
cb
format
field_20972
vertexFormat
f_110389_
private final VertexFormat$Mode
cc
mode
field_20973
drawMode
f_110390_
private final int
cd
bufferSize
field_20806
expectedBufferSize
f_110391_
private final boolean
ce
affectsCrumbling
field_20975
hasCrumbling
f_110392_
private final boolean
cf
sortOnUpload
field_21402
translucent
f_110393_
private final Optional<RenderType>
cg
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(fke$m 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
P()
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(acq arg0)
armorCutoutNoCull(ResourceLocation arg0)
method_25448(class_2960 arg0)
getArmorCutoutNoCull(Identifier texture)
m_110431_(C_5265_ p_110432_)
public static RenderType
b(acq arg0)
entitySolid(ResourceLocation arg0)
method_23572(class_2960 arg0)
getEntitySolid(Identifier texture)
m_110446_(C_5265_ p_110447_)
public static RenderType
c(acq arg0)
entityCutout(ResourceLocation arg0)
method_23576(class_2960 arg0)
getEntityCutout(Identifier texture)
m_110452_(C_5265_ p_110453_)
public static RenderType
a(acq 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(acq arg0)
entityCutoutNoCull(ResourceLocation arg0)
method_23578(class_2960 arg0)
getEntityCutoutNoCull(Identifier texture)
m_110458_(C_5265_ p_110459_)
public static RenderType
b(acq 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(acq arg0)
entityCutoutNoCullZOffset(ResourceLocation arg0)
method_28116(class_2960 arg0)
getEntityCutoutNoCullZOffset(Identifier texture)
m_110464_(C_5265_ p_110465_)
public static RenderType
f(acq arg0)
itemEntityTranslucentCull(ResourceLocation arg0)
method_29379(class_2960 arg0)
getItemEntityTranslucentCull(Identifier texture)
m_110467_(C_5265_ p_110468_)
public static RenderType
g(acq arg0)
entityTranslucentCull(ResourceLocation arg0)
method_23689(class_2960 arg0)
getEntityTranslucentCull(Identifier texture)
m_110470_(C_5265_ p_110471_)
public static RenderType
c(acq 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(acq arg0)
entityTranslucent(ResourceLocation arg0)
method_23580(class_2960 arg0)
getEntityTranslucent(Identifier texture)
m_110473_(C_5265_ p_110474_)
public static RenderType
d(acq 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(acq arg0)
entityTranslucentEmissive(ResourceLocation arg0)
method_42600(class_2960 arg0)
getEntityTranslucentEmissive(Identifier texture)
m_234338_(C_5265_ p_234339_)
public static RenderType
j(acq arg0)
entitySmoothCutout(ResourceLocation arg0)
method_23584(class_2960 arg0)
getEntitySmoothCutout(Identifier texture)
m_110476_(C_5265_ p_110477_)
public static RenderType
e(acq 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(acq arg0)
entityDecal(ResourceLocation arg0)
method_23586(class_2960 arg0)
getEntityDecal(Identifier texture)
m_110479_(C_5265_ p_110480_)
public static RenderType
l(acq arg0)
entityNoOutline(ResourceLocation arg0)
method_23588(class_2960 arg0)
getEntityNoOutline(Identifier texture)
m_110482_(C_5265_ p_110483_)
public static RenderType
m(acq arg0)
entityShadow(ResourceLocation arg0)
method_24469(class_2960 arg0)
getEntityShadow(Identifier texture)
m_110485_(C_5265_ p_110486_)
public static RenderType
n(acq arg0)
dragonExplosionAlpha(ResourceLocation arg0)
method_23573(class_2960 arg0)
getEntityAlpha(Identifier texture)
m_173235_(C_5265_ p_173236_)
public static RenderType
o(acq arg0)
eyes(ResourceLocation arg0)
method_23026(class_2960 arg0)
getEyes(Identifier texture)
m_110488_(C_5265_ p_110489_)
public static RenderType
a(acq 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(acq 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(acq arg0)
crumbling(ResourceLocation arg0)
method_23570(class_2960 arg0)
getBlockBreaking(Identifier texture)
m_110494_(C_5265_ p_110495_)
public static RenderType
r(acq 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(acq arg0)
textIntensity(ResourceLocation arg0)
method_36434(class_2960 arg0)
getTextIntensity(Identifier texture)
m_173237_(C_5265_ p_173238_)
public static RenderType
t(acq arg0)
textPolygonOffset(ResourceLocation arg0)
method_37345(class_2960 arg0)
getTextPolygonOffset(Identifier texture)
m_181444_(C_5265_ p_181445_)
public static RenderType
u(acq arg0)
textIntensityPolygonOffset(ResourceLocation arg0)
method_37346(class_2960 arg0)
getTextIntensityPolygonOffset(Identifier texture)
m_181446_(C_5265_ p_181447_)
public static RenderType
v(acq 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(acq 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
Q()
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_()
public static RenderType
B()
debugSectionQuads()
method_51456()
getDebugSectionQuads()
m_280070_()
public static RenderType
C()
gui()
method_51784()
getGui()
m_285907_()
public static RenderType
D()
guiOverlay()
method_51785()
getGuiOverlay()
m_286086_()
public static RenderType
E()
guiTextHighlight()
method_51786()
getGuiTextHighlight()
m_285783_()
public static RenderType
F()
guiGhostRecipeOverlay()
method_51787()
getGuiGhostRecipeOverlay()
m_285811_()
static RenderType$CompositeRenderType
a(String arg0, eio arg1, eio$b arg2, int arg3, fkf$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, eio arg1, eio$b arg2, int arg3, boolean arg4, boolean arg5, fkf$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(eie arg0, eir arg1)
end(BufferBuilder arg0, VertexSorting arg1)
method_23012(class_287 arg0, class_8251 arg1)
draw(BufferBuilder buffer, VertexSorter sorter)
m_276775_(C_3173_ p_277677_, C_276405_ arg1)
public static List<RenderType>
G()
chunkBufferLayers()
method_22720()
getBlockLayers()
m_110506_()
public int
H()
bufferSize()
method_22722()
getExpectedBufferSize()
m_110507_()
public VertexFormat
I()
format()
method_23031()
getVertexFormat()
m_110508_()
public VertexFormat$Mode
J()
mode()
method_23033()
getDrawMode()
m_173186_()
public Optional<RenderType>
K()
outline()
method_23289()
getAffectedOutline()
m_7280_()
public boolean
L()
isOutline()
method_24295()
isOutline()
m_5492_()
public boolean
M()
affectsCrumbling()
method_23037()
hasCrumbling()
m_110405_()
public boolean
N()
canConsolidateConsecutiveGeometry()
method_43332()
areVerticesNotShared()
m_234326_()
public Optional<RenderType>
O()
asOptional()
method_24296()
asOptional()
m_110406_()