public abstract class RenderType extends RenderState
Modifier and Type | Class and Description |
---|---|
(package private) static class |
RenderType.OutlineState |
static class |
RenderType.State |
(package private) static class |
RenderType.Type |
RenderState.AlphaState, RenderState.BooleanState, RenderState.CullState, RenderState.DepthTestState, RenderState.DiffuseLightingState, RenderState.FogState, RenderState.LayerState, RenderState.LightmapState, RenderState.LineState, RenderState.OffsetTexturingState, RenderState.OverlayState, RenderState.PortalTexturingState, RenderState.ShadeModelState, RenderState.TargetState, RenderState.TextureState, RenderState.TexturingState, RenderState.TransparencyState, RenderState.WriteMaskState
Modifier and Type | Field and Description |
---|---|
private int |
bufferSize |
private static RenderType |
CUTOUT |
private static RenderType |
CUTOUT_MIPPED |
private int |
drawMode |
private static RenderType |
ENTITY_GLINT |
private java.util.Optional<RenderType> |
field_230166_ag_ |
private static RenderType |
GLINT |
private static RenderType |
LEASH |
private static RenderType |
LIGHTNING |
static RenderType.Type |
LINES |
private boolean |
needsSorting |
private static RenderType |
SOLID |
private static RenderType |
TRANSLUCENT |
private static RenderType |
TRANSLUCENT_NO_CRUMBLING |
private boolean |
useDelegate |
private VertexFormat |
vertexFormat |
private static RenderType |
WATER_MASK |
ADDITIVE_TRANSPARENCY, BLACK_FOG, BLOCK_SHEET, BLOCK_SHEET_MIPPED, COLOR_DEPTH_WRITE, COLOR_WRITE, CRUMBLING_TRANSPARENCY, CULL_DISABLED, CULL_ENABLED, DEFAULT_ALPHA, DEFAULT_LINE, DEFAULT_TEXTURING, DEPTH_ALWAYS, DEPTH_EQUAL, DEPTH_LEQUAL, DEPTH_WRITE, DIFFUSE_LIGHTING_DISABLED, DIFFUSE_LIGHTING_ENABLED, ENTITY_GLINT_TEXTURING, FOG, GLINT_TEXTURING, GLINT_TRANSPARENCY, HALF_ALPHA, LIGHTMAP_DISABLED, LIGHTMAP_ENABLED, LIGHTNING_TRANSPARENCY, MAIN_TARGET, name, NO_FOG, NO_LAYERING, NO_TEXTURE, NO_TRANSPARENCY, OUTLINE_TARGET, OUTLINE_TEXTURING, OVERLAY_DISABLED, OVERLAY_ENABLED, POLYGON_OFFSET_LAYERING, PROJECTION_LAYERING, SHADE_DISABLED, SHADE_ENABLED, TRANSLUCENT_TRANSPARENCY, ZERO_ALPHA
Constructor and Description |
---|
RenderType(java.lang.String nameIn,
VertexFormat formatIn,
int drawModeIn,
int bufferSizeIn,
boolean useDelegateIn,
boolean needsSortingIn,
java.lang.Runnable setupTaskIn,
java.lang.Runnable clearTaskIn) |
clearRenderState, equals, hashCode, setupRenderState
private static final RenderType SOLID
private static final RenderType CUTOUT_MIPPED
private static final RenderType CUTOUT
private static final RenderType TRANSLUCENT
private static final RenderType TRANSLUCENT_NO_CRUMBLING
private static final RenderType LEASH
private static final RenderType WATER_MASK
private static final RenderType GLINT
private static final RenderType ENTITY_GLINT
private static final RenderType LIGHTNING
public static final RenderType.Type LINES
private final VertexFormat vertexFormat
private final int drawMode
private final int bufferSize
private final boolean useDelegate
private final boolean needsSorting
private final java.util.Optional<RenderType> field_230166_ag_
public RenderType(java.lang.String nameIn, VertexFormat formatIn, int drawModeIn, int bufferSizeIn, boolean useDelegateIn, boolean needsSortingIn, java.lang.Runnable setupTaskIn, java.lang.Runnable clearTaskIn)
public static RenderType getSolid()
public static RenderType getCutoutMipped()
public static RenderType getCutout()
private static RenderType.State getTranslucentState()
public static RenderType getTranslucent()
public static RenderType getTranslucentNoCrumbling()
public static RenderType getEntitySolid(ResourceLocation locationIn)
public static RenderType getEntityCutout(ResourceLocation locationIn)
public static RenderType func_230167_a_(ResourceLocation p_230167_0_, boolean p_230167_1_)
public static RenderType getEntityCutoutNoCull(ResourceLocation locationIn)
public static RenderType getEntityTranslucentCull(ResourceLocation locationIn)
public static RenderType func_230168_b_(ResourceLocation p_230168_0_, boolean p_230168_1_)
public static RenderType getEntityTranslucent(ResourceLocation locationIn)
public static RenderType getEntitySmoothCutout(ResourceLocation locationIn)
public static RenderType getBeaconBeam(ResourceLocation locationIn, boolean colorFlagIn)
public static RenderType getEntityDecal(ResourceLocation locationIn)
public static RenderType getEntityNoOutline(ResourceLocation locationIn)
public static RenderType getEntityAlpha(ResourceLocation locationIn, float alphaIn)
public static RenderType getEyes(ResourceLocation locationIn)
public static RenderType getEnergySwirl(ResourceLocation locationIn, float uIn, float vIn)
public static RenderType getLeash()
public static RenderType getWaterMask()
public static RenderType getOutline(ResourceLocation locationIn)
public static RenderType getGlint()
public static RenderType getEntityGlint()
public static RenderType getCrumbling(ResourceLocation locationIn)
public static RenderType getText(ResourceLocation locationIn)
public static RenderType getTextSeeThrough(ResourceLocation locationIn)
public static RenderType getLightning()
public static RenderType getEndPortal(int iterationIn)
public static RenderType getLines()
public static RenderType.Type makeType(java.lang.String nameIn, VertexFormat vertexFormatIn, int drawModeIn, int bufferSizeIn, RenderType.State renderStateIn)
public static RenderType.Type makeType(java.lang.String name, VertexFormat vertexFormatIn, int glMode, int bufferSizeIn, boolean useDelegateIn, boolean needsSortingIn, RenderType.State renderStateIn)
public void finish(BufferBuilder p_228631_1_, int p_228631_2_, int p_228631_3_, int p_228631_4_)
public java.lang.String toString()
toString
in class java.lang.Object
public static java.util.List<RenderType> getBlockRenderTypes()
public int getBufferSize()
public VertexFormat getVertexFormat()
public int getDrawMode()
public java.util.Optional<RenderType> getOutline()
public boolean func_230041_s_()
public boolean isUseDelegate()
public java.util.Optional<RenderType> func_230169_u_()