Package net.minecraft.client.renderer
Class RenderState.TextureState
- java.lang.Object
-
- net.minecraft.client.renderer.RenderState
-
- net.minecraft.client.renderer.RenderState.TextureState
-
- Direct Known Subclasses:
ForgeRenderTypes.CustomizableTextureState
- Enclosing class:
- RenderState
public static class RenderState.TextureState extends RenderState
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraft.client.renderer.RenderState
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
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
blur
protected boolean
mipmap
private java.util.Optional<ResourceLocation>
texture
-
Fields inherited from class net.minecraft.client.renderer.RenderState
ADDITIVE_TRANSPARENCY, BLACK_FOG, BLOCK_SHEET, BLOCK_SHEET_MIPPED, CLOUDS_TARGET, COLOR_DEPTH_WRITE, COLOR_WRITE, CRUMBLING_TRANSPARENCY, CULL, DEFAULT_ALPHA, DEFAULT_LINE, DEFAULT_TEXTURING, DEPTH_WRITE, DIFFUSE_LIGHTING, ENTITY_GLINT_TEXTURING, EQUAL_DEPTH_TEST, FLAT_SHADE, FOG, GLINT_TEXTURING, GLINT_TRANSPARENCY, ITEM_ENTITY_TARGET, LEQUAL_DEPTH_TEST, LIGHTMAP, LIGHTNING_TRANSPARENCY, MAIN_TARGET, MIDWAY_ALPHA, name, NO_ALPHA, NO_CULL, NO_DEPTH_TEST, NO_DIFFUSE_LIGHTING, NO_FOG, NO_LAYERING, NO_LIGHTMAP, NO_OVERLAY, NO_TEXTURE, NO_TRANSPARENCY, OUTLINE_TARGET, OUTLINE_TEXTURING, OVERLAY, PARTICLES_TARGET, POLYGON_OFFSET_LAYERING, setupState, SMOOTH_SHADE, TRANSLUCENT_TARGET, TRANSLUCENT_TRANSPARENCY, VIEW_OFFSET_Z_LAYERING, WEATHER_TARGET
-
-
Constructor Summary
Constructors Constructor Description TextureState()
TextureState(ResourceLocation p_i225988_1_, boolean p_i225988_2_, boolean p_i225988_3_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object p_equals_1_)
int
hashCode()
protected java.util.Optional<ResourceLocation>
texture()
java.lang.String
toString()
-
Methods inherited from class net.minecraft.client.renderer.RenderState
clearRenderState, setupRenderState
-
-
-
-
Field Detail
-
texture
private final java.util.Optional<ResourceLocation> texture
-
blur
protected boolean blur
-
mipmap
protected boolean mipmap
-
-
Constructor Detail
-
TextureState
public TextureState(ResourceLocation p_i225988_1_, boolean p_i225988_2_, boolean p_i225988_3_)
-
TextureState
public TextureState()
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object p_equals_1_)
- Overrides:
equals
in classRenderState
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classRenderState
-
toString
public java.lang.String toString()
- Overrides:
toString
in classRenderState
-
texture
protected java.util.Optional<ResourceLocation> texture()
-
-