Package net.minecraftforge.client
Class ForgeRenderTypes.Internal
java.lang.Object
net.minecraft.client.renderer.RenderStateShard
net.minecraft.client.renderer.RenderType
net.minecraftforge.client.ForgeRenderTypes.Internal
- Enclosing class:
- ForgeRenderTypes
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.renderer.RenderType
RenderType.CompositeState
Nested classes/interfaces inherited from class 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
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final BiFunction<ResourceLocation,
Boolean, RenderType> static Function<ResourceLocation,
RenderType> static Function<ResourceLocation,
RenderType> static Function<ResourceLocation,
RenderType> static Function<ResourceLocation,
RenderType> private static final RenderStateShard.ShaderStateShard
static Function<ResourceLocation,
RenderType> static Function<ResourceLocation,
RenderType> static Function<ResourceLocation,
RenderType> static Function<ResourceLocation,
RenderType> static Function<ResourceLocation,
RenderType> static Function<ResourceLocation,
RenderType> static Function<ResourceLocation,
RenderType> static Function<ResourceLocation,
RenderType> static Function<ResourceLocation,
RenderType> static Function<ResourceLocation,
RenderType> Fields inherited from class net.minecraft.client.renderer.RenderType
BIG_BUFFER_SIZE, LINE_STRIP, LINES, MEDIUM_BUFFER_SIZE, SMALL_BUFFER_SIZE, TRANSIENT_BUFFER_SIZE
Fields inherited from class net.minecraft.client.renderer.RenderStateShard
ADDITIVE_TRANSPARENCY, BLOCK_SHEET, BLOCK_SHEET_MIPPED, CLOUDS_TARGET, COLOR_DEPTH_WRITE, COLOR_WRITE, 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, name, 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, PARTICLES_TARGET, POLYGON_OFFSET_LAYERING, POSITION_COLOR_LIGHTMAP_SHADER, POSITION_COLOR_SHADER, POSITION_COLOR_TEX_LIGHTMAP_SHADER, POSITION_COLOR_TEX_SHADER, POSITION_SHADER, POSITION_TEX_SHADER, RENDERTYPE_ARMOR_CUTOUT_NO_CULL_SHADER, RENDERTYPE_ARMOR_ENTITY_GLINT_SHADER, RENDERTYPE_ARMOR_GLINT_SHADER, RENDERTYPE_BEACON_BEAM_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_DIRECT_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_CULL_SHADER, RENDERTYPE_ENTITY_TRANSLUCENT_EMISSIVE_SHADER, RENDERTYPE_ENTITY_TRANSLUCENT_SHADER, RENDERTYPE_EYES_SHADER, RENDERTYPE_GLINT_DIRECT_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_NO_CRUMBLING_SHADER, RENDERTYPE_TRANSLUCENT_SHADER, RENDERTYPE_TRIPWIRE_SHADER, RENDERTYPE_WATER_MASK_SHADER, setupState, TRANSLUCENT_TARGET, TRANSLUCENT_TRANSPARENCY, VIEW_OFFSET_Z_LAYERING, WEATHER_TARGET
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
Internal
(String name, VertexFormat fmt, VertexFormat.Mode glMode, int size, boolean doCrumbling, boolean depthSorting, Runnable onEnable, Runnable onDisable) -
Method Summary
Modifier and TypeMethodDescriptionprivate static RenderType
getText
(ResourceLocation locationIn) private static RenderType
getTextIntensity
(ResourceLocation locationIn) private static RenderType
getTextIntensityPolygonOffset
(ResourceLocation locationIn) private static RenderType
getTextIntensitySeeThrough
(ResourceLocation locationIn) private static RenderType
getTextPolygonOffset
(ResourceLocation locationIn) private static RenderType
getTextSeeThrough
(ResourceLocation locationIn) private static RenderType
getTranslucentParticlesTarget
(ResourceLocation locationIn) private static RenderType
layeredItemCutout
(ResourceLocation locationIn) private static RenderType
layeredItemCutoutMipped
(ResourceLocation locationIn) private static RenderType
layeredItemSolid
(ResourceLocation locationIn) private static RenderType
layeredItemTranslucent
(ResourceLocation locationIn) private static RenderType
unlitTranslucent
(ResourceLocation textureLocation, boolean sortingEnabled) private static RenderType
unsortedTranslucent
(ResourceLocation textureLocation) Methods inherited from class net.minecraft.client.renderer.RenderType
affectsCrumbling, armorCutoutNoCull, armorEntityGlint, armorGlint, asOptional, beaconBeam, bufferSize, canConsolidateConsecutiveGeometry, chunkBufferLayers, create, crumbling, cutout, cutoutMipped, debugFilledBox, debugLineStrip, debugQuads, debugSectionQuads, dragonExplosionAlpha, end, endGateway, endPortal, energySwirl, entityCutout, entityCutoutNoCull, entityCutoutNoCull, entityCutoutNoCullZOffset, entityCutoutNoCullZOffset, entityDecal, entityGlint, entityGlintDirect, entityNoOutline, entityShadow, entitySmoothCutout, entitySolid, entityTranslucent, entityTranslucent, entityTranslucentCull, entityTranslucentEmissive, entityTranslucentEmissive, eyes, format, getChunkLayerId, glint, glintDirect, glintTranslucent, gui, guiGhostRecipeOverlay, guiOverlay, guiTextHighlight, isOutline, itemEntityTranslucentCull, leash, lightning, lines, lineStrip, mode, outline, outline, solid, text, textBackground, textBackgroundSeeThrough, textIntensity, textIntensityPolygonOffset, textIntensitySeeThrough, textPolygonOffset, textSeeThrough, toString, translucent, translucentMovingBlock, translucentNoCrumbling, tripwire, waterMask
Methods inherited from class net.minecraft.client.renderer.RenderStateShard
clearRenderState, setupRenderState
-
Field Details
-
RENDERTYPE_ENTITY_TRANSLUCENT_UNLIT_SHADER
-
UNSORTED_TRANSLUCENT
-
ENTITY_TRANSLUCENT
-
UNLIT_TRANSLUCENT_SORTED
-
UNLIT_TRANSLUCENT_UNSORTED
-
LAYERED_ITEM_SOLID
-
LAYERED_ITEM_CUTOUT
-
LAYERED_ITEM_CUTOUT_MIPPED
-
LAYERED_ITEM_TRANSLUCENT
-
TEXT
-
TEXT_INTENSITY
-
TEXT_POLYGON_OFFSET
-
TEXT_INTENSITY_POLYGON_OFFSET
-
TEXT_SEETHROUGH
-
TEXT_INTENSITY_SEETHROUGH
-
TRANSLUCENT_PARTICLES_TARGET
-
-
Constructor Details
-
Internal
private Internal(String name, VertexFormat fmt, VertexFormat.Mode glMode, int size, boolean doCrumbling, boolean depthSorting, Runnable onEnable, Runnable onDisable)
-
-
Method Details
-
unsortedTranslucent
-
unlitTranslucent
private static RenderType unlitTranslucent(ResourceLocation textureLocation, boolean sortingEnabled) -
layeredItemSolid
-
layeredItemCutout
-
layeredItemCutoutMipped
-
layeredItemTranslucent
-
getText
-
getTextIntensity
-
getTextPolygonOffset
-
getTextIntensityPolygonOffset
-
getTextSeeThrough
-
getTextIntensitySeeThrough
-
getTranslucentParticlesTarget
-