Package net.minecraft.client.render
Class RenderLayer.MultiPhase
java.lang.Object
net.minecraft.client.render.RenderPhase
net.minecraft.client.render.RenderLayer
net.minecraft.client.render.RenderLayer.MultiPhase
- Enclosing class:
- RenderLayer
@Environment(CLIENT) static final class RenderLayer.MultiPhase extends RenderLayer
- Mappings:
Namespace Name official ehy$a
intermediary net/minecraft/class_1921$class_4687
named net/minecraft/client/render/RenderLayer$MultiPhase
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
RenderLayer.MultiPhase.HashStrategy
Nested classes/interfaces inherited from class net.minecraft.client.render.RenderLayer
RenderLayer.MultiPhase, RenderLayer.MultiPhaseParameters, RenderLayer.OutlineMode
Nested classes/interfaces inherited from class net.minecraft.client.render.RenderPhase
RenderPhase.Alpha, RenderPhase.Cull, RenderPhase.DepthTest, RenderPhase.DiffuseLighting, RenderPhase.Fog, RenderPhase.Layering, RenderPhase.Lightmap, RenderPhase.LineWidth, RenderPhase.OffsetTexturing, RenderPhase.Overlay, RenderPhase.PortalTexturing, RenderPhase.ShadeModel, RenderPhase.Target, RenderPhase.Texture, RenderPhase.Texturing, RenderPhase.Toggleable, RenderPhase.Transparency, RenderPhase.WriteMaskState
-
Field Summary
Fields Modifier and Type Field Description private Optional<RenderLayer>
affectedOutline
private static ObjectOpenCustomHashSet<RenderLayer.MultiPhase>
CACHE
private int
hash
private boolean
outline
private RenderLayer.MultiPhaseParameters
phases
Fields inherited from class net.minecraft.client.render.RenderLayer
LINES
Fields inherited from class net.minecraft.client.render.RenderPhase
ADDITIVE_TRANSPARENCY, ALL_MASK, ALWAYS_DEPTH_TEST, BLACK_FOG, BLOCK_ATLAS_TEXTURE, CLOUDS_TARGET, COLOR_MASK, CRUMBLING_TRANSPARENCY, DEFAULT_TEXTURING, DEPTH_MASK, DISABLE_CULLING, DISABLE_DIFFUSE_LIGHTING, DISABLE_LIGHTMAP, DISABLE_OVERLAY_COLOR, ENABLE_CULLING, ENABLE_DIFFUSE_LIGHTING, ENABLE_LIGHTMAP, ENABLE_OVERLAY_COLOR, ENTITY_GLINT_TEXTURING, EQUAL_DEPTH_TEST, FOG, FULL_LINE_WIDTH, GLINT_TEXTURING, GLINT_TRANSPARENCY, HALF_ALPHA, ITEM_TARGET, LEQUAL_DEPTH_TEST, LIGHTNING_TRANSPARENCY, MAIN_TARGET, MIPMAP_BLOCK_ATLAS_TEXTURE, name, NO_FOG, NO_LAYERING, NO_TEXTURE, NO_TRANSPARENCY, ONE_TENTH_ALPHA, OUTLINE_TARGET, OUTLINE_TEXTURING, PARTICLES_TARGET, POLYGON_OFFSET_LAYERING, SHADE_MODEL, SMOOTH_SHADE_MODEL, TRANSLUCENT_TARGET, TRANSLUCENT_TRANSPARENCY, VIEW_OFFSET_Z_LAYERING, WEATHER_TARGET, ZERO_ALPHA
-
Constructor Summary
Constructors Modifier Constructor Description private
MultiPhase(String name, VertexFormat vertexFormat, VertexFormat.DrawMode drawMode, int expectedBufferSize, boolean hasCrumbling, boolean translucent, RenderLayer.MultiPhaseParameters phases)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object object)
Optional<RenderLayer>
getAffectedOutline()
int
hashCode()
boolean
isOutline()
private static RenderLayer.MultiPhase
of(String name, VertexFormat vertexFormat, VertexFormat.DrawMode drawMode, int expectedBufferSize, boolean hasCrumbling, boolean translucent, RenderLayer.MultiPhaseParameters phases)
String
toString()
Methods inherited from class net.minecraft.client.render.RenderLayer
asOptional, draw, getArmorCutoutNoCull, getArmorEntityGlint, getArmorGlint, getBeaconBeam, getBlockBreaking, getBlockLayers, getCutout, getCutoutMipped, getDirectEntityGlint, getDirectGlint, getDrawMode, getEndPortal, getEnergySwirl, getEntityAlpha, getEntityCutout, getEntityCutoutNoCull, getEntityCutoutNoCull, getEntityCutoutNoCullZOffset, getEntityCutoutNoCullZOffset, getEntityDecal, getEntityGlint, getEntityNoOutline, getEntityShadow, getEntitySmoothCutout, getEntitySolid, getEntityTranslucent, getEntityTranslucent, getEntityTranslucentCull, getExpectedBufferSize, getEyes, getGlint, getItemEntityTranslucentCull, getLeash, getLightning, getLines, getOutline, getOutline, getSolid, getText, getTextSeeThrough, getTranslucent, getTranslucentMovingBlock, getTranslucentNoCrumbling, getTripwire, getVertexFormat, getWaterMask, hasCrumbling, method_30676, of, of
Methods inherited from class net.minecraft.client.render.RenderPhase
endDrawing, startDrawing
-
Field Details
-
CACHE
- Mappings:
Namespace Name Mixin selector official W
Lehy$a;W:Lit/unimi/dsi/fastutil/objects/ObjectOpenCustomHashSet;
intermediary field_21696
Lnet/minecraft/class_1921$class_4687;field_21696:Lit/unimi/dsi/fastutil/objects/ObjectOpenCustomHashSet;
named CACHE
Lnet/minecraft/client/render/RenderLayer$MultiPhase;CACHE:Lit/unimi/dsi/fastutil/objects/ObjectOpenCustomHashSet;
-
phases
- Mappings:
Namespace Name Mixin selector official X
Lehy$a;X:Lehy$b;
intermediary field_21403
Lnet/minecraft/class_1921$class_4687;field_21403:Lnet/minecraft/class_1921$class_4688;
named phases
Lnet/minecraft/client/render/RenderLayer$MultiPhase;phases:Lnet/minecraft/client/render/RenderLayer$MultiPhaseParameters;
-
hash
private final int hash- Mappings:
Namespace Name Mixin selector official Y
Lehy$a;Y:I
intermediary field_21404
Lnet/minecraft/class_1921$class_4687;field_21404:I
named hash
Lnet/minecraft/client/render/RenderLayer$MultiPhase;hash:I
-
affectedOutline
- Mappings:
Namespace Name Mixin selector official Z
Lehy$a;Z:Ljava/util/Optional;
intermediary field_21697
Lnet/minecraft/class_1921$class_4687;field_21697:Ljava/util/Optional;
named affectedOutline
Lnet/minecraft/client/render/RenderLayer$MultiPhase;affectedOutline:Ljava/util/Optional;
-
outline
private final boolean outline- Mappings:
Namespace Name Mixin selector official aa
Lehy$a;aa:Z
intermediary field_21851
Lnet/minecraft/class_1921$class_4687;field_21851:Z
named outline
Lnet/minecraft/client/render/RenderLayer$MultiPhase;outline:Z
-
-
Constructor Details
-
MultiPhase
private MultiPhase(String name, VertexFormat vertexFormat, VertexFormat.DrawMode drawMode, int expectedBufferSize, boolean hasCrumbling, boolean translucent, RenderLayer.MultiPhaseParameters phases)- Mappings:
Namespace Name Mixin selector official <init>
Lehy$a;<init>(Ljava/lang/String;Ldlw;Ldlw$b;IZZLehy$b;)V
intermediary <init>
Lnet/minecraft/class_1921$class_4687;<init>(Ljava/lang/String;Lnet/minecraft/class_293;Lnet/minecraft/class_293$class_5596;IZZLnet/minecraft/class_1921$class_4688;)V
named <init>
Lnet/minecraft/client/render/RenderLayer$MultiPhase;<init>(Ljava/lang/String;Lnet/minecraft/client/render/VertexFormat;Lnet/minecraft/client/render/VertexFormat$DrawMode;IZZLnet/minecraft/client/render/RenderLayer$MultiPhaseParameters;)V
-
-
Method Details
-
of
private static RenderLayer.MultiPhase of(String name, VertexFormat vertexFormat, VertexFormat.DrawMode drawMode, int expectedBufferSize, boolean hasCrumbling, boolean translucent, RenderLayer.MultiPhaseParameters phases)- Mappings:
Namespace Name Mixin selector official c
Lehy$a;c(Ljava/lang/String;Ldlw;Ldlw$b;IZZLehy$b;)Lehy$a;
intermediary method_24055
Lnet/minecraft/class_1921$class_4687;method_24055(Ljava/lang/String;Lnet/minecraft/class_293;Lnet/minecraft/class_293$class_5596;IZZLnet/minecraft/class_1921$class_4688;)Lnet/minecraft/class_1921$class_4687;
named of
Lnet/minecraft/client/render/RenderLayer$MultiPhase;of(Ljava/lang/String;Lnet/minecraft/client/render/VertexFormat;Lnet/minecraft/client/render/VertexFormat$DrawMode;IZZLnet/minecraft/client/render/RenderLayer$MultiPhaseParameters;)Lnet/minecraft/client/render/RenderLayer$MultiPhase;
-
getAffectedOutline
- Overrides:
getAffectedOutline
in classRenderLayer
- Mappings:
Namespace Name Mixin selector official y
Lehy;y()Ljava/util/Optional;
intermediary method_23289
Lnet/minecraft/class_1921;method_23289()Ljava/util/Optional;
named getAffectedOutline
Lnet/minecraft/client/render/RenderLayer;getAffectedOutline()Ljava/util/Optional;
-
isOutline
public boolean isOutline()- Overrides:
isOutline
in classRenderLayer
- Mappings:
Namespace Name Mixin selector official z
Lehy;z()Z
intermediary method_24295
Lnet/minecraft/class_1921;method_24295()Z
named isOutline
Lnet/minecraft/client/render/RenderLayer;isOutline()Z
-
equals
- Overrides:
equals
in classRenderPhase
- Mappings:
Namespace Name Mixin selector official equals
Lehx;equals(Ljava/lang/Object;)Z
intermediary equals
Lnet/minecraft/class_4668;equals(Ljava/lang/Object;)Z
named equals
Lnet/minecraft/client/render/RenderPhase;equals(Ljava/lang/Object;)Z
-
hashCode
public int hashCode()- Overrides:
hashCode
in classRenderPhase
- Mappings:
Namespace Name Mixin selector official hashCode
Lehx;hashCode()I
intermediary hashCode
Lnet/minecraft/class_4668;hashCode()I
named hashCode
Lnet/minecraft/client/render/RenderPhase;hashCode()I
-
toString
- Overrides:
toString
in classRenderLayer
- Mappings:
Namespace Name Mixin selector official toString
Lehx;toString()Ljava/lang/String;
intermediary toString
Lnet/minecraft/class_4668;toString()Ljava/lang/String;
named toString
Lnet/minecraft/client/render/RenderPhase;toString()Ljava/lang/String;
-