Class VeilRenderType
java.lang.Object
net.minecraft.client.renderer.RenderStateShard
net.minecraft.client.renderer.RenderType
foundry.veil.api.client.render.rendertype.VeilRenderType
public final class VeilRenderType
extends net.minecraft.client.renderer.RenderType
Custom Veil-implemented render types.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.renderer.RenderType
net.minecraft.client.renderer.RenderType.CompositeRenderType, net.minecraft.client.renderer.RenderType.CompositeState, net.minecraft.client.renderer.RenderType.OutlineProperty
Nested classes/interfaces inherited from class net.minecraft.client.renderer.RenderStateShard
net.minecraft.client.renderer.RenderStateShard.ColorLogicStateShard, net.minecraft.client.renderer.RenderStateShard.CullStateShard, net.minecraft.client.renderer.RenderStateShard.DepthTestStateShard, net.minecraft.client.renderer.RenderStateShard.EmptyTextureStateShard, net.minecraft.client.renderer.RenderStateShard.LayeringStateShard, net.minecraft.client.renderer.RenderStateShard.LightmapStateShard, net.minecraft.client.renderer.RenderStateShard.LineStateShard, net.minecraft.client.renderer.RenderStateShard.MultiTextureStateShard, net.minecraft.client.renderer.RenderStateShard.OffsetTexturingStateShard, net.minecraft.client.renderer.RenderStateShard.OutputStateShard, net.minecraft.client.renderer.RenderStateShard.OverlayStateShard, net.minecraft.client.renderer.RenderStateShard.ShaderStateShard, net.minecraft.client.renderer.RenderStateShard.TextureStateShard, net.minecraft.client.renderer.RenderStateShard.TexturingStateShard, net.minecraft.client.renderer.RenderStateShard.TransparencyStateShard, net.minecraft.client.renderer.RenderStateShard.WriteMaskStateShard
-
Field Summary
Modifier and TypeFieldDescriptionstatic final net.minecraft.client.renderer.RenderStateShard
static final net.minecraft.client.renderer.RenderStateShard
static final net.minecraft.client.renderer.RenderStateShard
static final net.minecraft.client.renderer.RenderStateShard.DepthTestStateShard
static final net.minecraft.client.renderer.RenderStateShard.DepthTestStateShard
static final net.minecraft.client.renderer.RenderStateShard.DepthTestStateShard
static final net.minecraft.client.renderer.RenderStateShard.WriteMaskStateShard
static final net.minecraft.client.renderer.RenderStateShard.DepthTestStateShard
Fields inherited from class net.minecraft.client.renderer.RenderType
BIG_BUFFER_SIZE, LINE_STRIP, LINES, 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_SHADER, POSITION_TEX_SHADER, RENDERTYPE_ARMOR_CUTOUT_NO_CULL_SHADER, RENDERTYPE_ARMOR_ENTITY_GLINT_SHADER, RENDERTYPE_BEACON_BEAM_SHADER, RENDERTYPE_BREEZE_WIND_SHADER, RENDERTYPE_CLOUDS_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_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_SHADER, RENDERTYPE_TRIPWIRE_SHADER, RENDERTYPE_WATER_MASK_SHADER, TRANSLUCENT_TARGET, TRANSLUCENT_TRANSPARENCY, VIEW_OFFSET_Z_LAYERING, WEATHER_TARGET
-
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.client.renderer.RenderStateShard.TransparencyStateShard
static net.minecraft.client.renderer.RenderStateShard.WriteMaskStateShard
static net.minecraft.client.renderer.RenderStateShard.ColorLogicStateShard
colorLogicStateShard
(com.mojang.blaze3d.platform.GlStateManager.LogicOp op) static net.minecraft.client.renderer.RenderStateShard.WriteMaskStateShard
static net.minecraft.client.renderer.RenderStateShard.TransparencyStateShard
static net.minecraft.client.renderer.RenderStateShard.CullStateShard
static net.minecraft.client.renderer.RenderStateShard.WriteMaskStateShard
static net.minecraft.client.renderer.RenderStateShard.DepthTestStateShard
static @Nullable net.minecraft.client.renderer.RenderType
Retrieves and caches a render type with the specified id.static net.minecraft.client.renderer.RenderStateShard.TransparencyStateShard
static net.minecraft.client.renderer.RenderStateShard.DepthTestStateShard
static net.minecraft.client.renderer.RenderType
layered
(net.minecraft.client.renderer.RenderType... layers) Creates a render type that uses a single draw buffer, but re-uses the data to draw the specified layers.static net.minecraft.client.renderer.RenderStateShard.DepthTestStateShard
static net.minecraft.client.renderer.RenderStateShard.LightmapStateShard
lightmap()
static net.minecraft.client.renderer.RenderStateShard.TransparencyStateShard
static net.minecraft.client.renderer.RenderStateShard.CullStateShard
static net.minecraft.client.renderer.RenderStateShard.DepthTestStateShard
static net.minecraft.client.renderer.RenderStateShard.LayeringStateShard
static net.minecraft.client.renderer.RenderStateShard.LightmapStateShard
static net.minecraft.client.renderer.RenderStateShard.OverlayStateShard
static net.minecraft.client.renderer.RenderStateShard.TransparencyStateShard
static net.minecraft.client.renderer.RenderStateShard.OverlayStateShard
overlay()
static net.minecraft.client.renderer.RenderStateShard.LayeringStateShard
static net.minecraft.client.renderer.RenderType
quasarParticle
(net.minecraft.resources.ResourceLocation texture, boolean additive) static net.minecraft.client.renderer.RenderType
quasarTrail
(net.minecraft.resources.ResourceLocation texture) static net.minecraft.client.renderer.RenderStateShard.TransparencyStateShard
static net.minecraft.client.renderer.RenderStateShard.LayeringStateShard
Methods inherited from class net.minecraft.client.renderer.RenderType
affectsCrumbling, armorCutoutNoCull, armorEntityGlint, beaconBeam, breezeEyes, breezeWind, bufferSize, canConsolidateConsecutiveGeometry, chunkBufferLayers, clouds, cloudsDepthOnly, create, createArmorDecalCutoutNoCull, crumbling, cutout, cutoutMipped, debugFilledBox, debugLineStrip, debugQuads, debugSectionQuads, debugStructureQuads, dragonExplosionAlpha, dragonRays, dragonRaysDepth, draw, endGateway, endPortal, energySwirl, entityCutout, entityCutoutNoCull, entityCutoutNoCull, entityCutoutNoCullZOffset, entityCutoutNoCullZOffset, entityDecal, entityGlint, entityGlintDirect, entityNoOutline, entityShadow, entitySmoothCutout, entitySolid, entityTranslucent, entityTranslucent, entityTranslucentCull, entityTranslucentEmissive, entityTranslucentEmissive, eyes, format, glint, glintTranslucent, gui, guiGhostRecipeOverlay, guiOverlay, guiTextHighlight, isOutline, itemEntityTranslucentCull, leash, lightning, lines, lineStrip, mode, outline, outline, solid, sortOnUpload, text, textBackground, textBackgroundSeeThrough, textIntensity, textIntensityPolygonOffset, textIntensitySeeThrough, textPolygonOffset, textSeeThrough, toString, translucent, translucentMovingBlock, tripwire, waterMask
Methods inherited from class net.minecraft.client.renderer.RenderStateShard
clearRenderState, setupRenderState
-
Field Details
-
NEVER_DEPTH_TEST
public static final net.minecraft.client.renderer.RenderStateShard.DepthTestStateShard NEVER_DEPTH_TEST -
LESS_DEPTH_TEST
public static final net.minecraft.client.renderer.RenderStateShard.DepthTestStateShard LESS_DEPTH_TEST -
NOTEQUAL_DEPTH_TEST
public static final net.minecraft.client.renderer.RenderStateShard.DepthTestStateShard NOTEQUAL_DEPTH_TEST -
GEQUAL_DEPTH_TEST
public static final net.minecraft.client.renderer.RenderStateShard.DepthTestStateShard GEQUAL_DEPTH_TEST -
CULL_FRONT
public static final net.minecraft.client.renderer.RenderStateShard CULL_FRONT -
CULL_BACK
public static final net.minecraft.client.renderer.RenderStateShard CULL_BACK -
CULL_FRONT_AND_BACK
public static final net.minecraft.client.renderer.RenderStateShard CULL_FRONT_AND_BACK -
NO_WRITE
public static final net.minecraft.client.renderer.RenderStateShard.WriteMaskStateShard NO_WRITE
-
-
Method Details
-
quasarParticle
public static net.minecraft.client.renderer.RenderType quasarParticle(net.minecraft.resources.ResourceLocation texture, boolean additive) -
quasarTrail
public static net.minecraft.client.renderer.RenderType quasarTrail(net.minecraft.resources.ResourceLocation texture) -
noTransparencyShard
public static net.minecraft.client.renderer.RenderStateShard.TransparencyStateShard noTransparencyShard() -
additiveTransparencyShard
public static net.minecraft.client.renderer.RenderStateShard.TransparencyStateShard additiveTransparencyShard() -
lightningTransparencyShard
public static net.minecraft.client.renderer.RenderStateShard.TransparencyStateShard lightningTransparencyShard() -
glintTransparencyShard
public static net.minecraft.client.renderer.RenderStateShard.TransparencyStateShard glintTransparencyShard() -
crumblingTransparencyShard
public static net.minecraft.client.renderer.RenderStateShard.TransparencyStateShard crumblingTransparencyShard() -
translucentTransparencyShard
public static net.minecraft.client.renderer.RenderStateShard.TransparencyStateShard translucentTransparencyShard() -
noDepthTestShard
public static net.minecraft.client.renderer.RenderStateShard.DepthTestStateShard noDepthTestShard() -
equalDepthTestShard
public static net.minecraft.client.renderer.RenderStateShard.DepthTestStateShard equalDepthTestShard() -
lequalDepthTestShard
public static net.minecraft.client.renderer.RenderStateShard.DepthTestStateShard lequalDepthTestShard() -
greaterDepthTestShard
public static net.minecraft.client.renderer.RenderStateShard.DepthTestStateShard greaterDepthTestShard() -
cullShard
public static net.minecraft.client.renderer.RenderStateShard.CullStateShard cullShard() -
noCullShard
public static net.minecraft.client.renderer.RenderStateShard.CullStateShard noCullShard() -
lightmap
public static net.minecraft.client.renderer.RenderStateShard.LightmapStateShard lightmap() -
noLightmap
public static net.minecraft.client.renderer.RenderStateShard.LightmapStateShard noLightmap() -
overlay
public static net.minecraft.client.renderer.RenderStateShard.OverlayStateShard overlay() -
noOverlay
public static net.minecraft.client.renderer.RenderStateShard.OverlayStateShard noOverlay() -
noLayering
public static net.minecraft.client.renderer.RenderStateShard.LayeringStateShard noLayering() -
polygonOffsetLayering
public static net.minecraft.client.renderer.RenderStateShard.LayeringStateShard polygonOffsetLayering() -
viewOffsetLayering
public static net.minecraft.client.renderer.RenderStateShard.LayeringStateShard viewOffsetLayering() -
colorDepthWriteShard
public static net.minecraft.client.renderer.RenderStateShard.WriteMaskStateShard colorDepthWriteShard() -
colorWriteShard
public static net.minecraft.client.renderer.RenderStateShard.WriteMaskStateShard colorWriteShard() -
depthWriteShard
public static net.minecraft.client.renderer.RenderStateShard.WriteMaskStateShard depthWriteShard() -
colorLogicStateShard
public static net.minecraft.client.renderer.RenderStateShard.ColorLogicStateShard colorLogicStateShard(com.mojang.blaze3d.platform.GlStateManager.LogicOp op) -
get
@Nullable public static @Nullable net.minecraft.client.renderer.RenderType get(net.minecraft.resources.ResourceLocation id, Object... params) Retrieves and caches a render type with the specified id.- Parameters:
id
- The id of the render type to getparams
- Additional parameters to configure the render type- Returns:
- The render type created or
null
if unregistered or an error occurs
-
layered
public static net.minecraft.client.renderer.RenderType layered(net.minecraft.client.renderer.RenderType... layers) Creates a render type that uses a single draw buffer, but re-uses the data to draw the specified layers.- Parameters:
layers
- The layers to use- Returns:
- A render type that draws all layers from a single buffer
- Throws:
IllegalStateException
- If there are zero layers, the vertex formats don't all match, or the primitive modes don't match
-