net.minecraft.client.render.variant

public record TextVariant

implements RenderVariant

net.minecraft.client.renderer.pipeline.variant.TextRenderPipelineVariant
net.minecraft.class_1_1901
net.minecraft.client.render.variant.TextVariant

Field summary

Modifier and TypeField
private final String
name
comp_1_2054
name
private final boolean
supportsOit
comp_1_2055
supportsOit
private final boolean
isGrayscale
comp_1_2083
isGrayscale
private final boolean
hasPolygonOffset
comp_1_2082
hasPolygonOffset
private final boolean
affectedByFogAndLight
comp_1_2081
affectedByFogAndLight
private static final ListBuilder<TextVariant>
VALUES
field_1_12155
VALUES
public static final TextVariant
WORLD
field_1_12156
WORLD
public static final TextVariant
WORLD_GRAYSCALE
field_1_12157
WORLD_GRAYSCALE
public static final TextVariant
GUI
field_1_12153
GUI
public static final TextVariant
GUI_GRAYSCALE
field_1_12154
GUI_GRAYSCALE
public static final TextVariant
WORLD_POLYGON_OFFSET
field_1_12160
WORLD_POLYGON_OFFSET
public static final TextVariant
WORLD_GRAYSCALE_POLYGON_OFFSET
field_1_12158
WORLD_GRAYSCALE_POLYGON_OFFSET
public static final TextVariant
WORLD_SEE_THROUGH
field_1_12161
WORLD_SEE_THROUGH
public static final TextVariant
WORLD_GRAYSCALE_SEE_THROUGH
field_1_12159
WORLD_GRAYSCALE_SEE_THROUGH

Constructor summary

ModifierConstructor
public (String name, boolean supportsOit, boolean isGrayscale, boolean hasPolygonOffset, boolean affectedByFogAndLight)

Method summary

Modifier and TypeMethod
public static List<TextVariant>
values()
method_1_12003()
values()
public String
name()
comp_1_2054()
name()
public boolean
supportsOit()
comp_1_2055()
supportsOit()
public boolean
isGrayscale()
comp_1_2083()
isGrayscale()
public boolean
hasPolygonOffset()
comp_1_2082()
hasPolygonOffset()
public boolean
affectedByFogAndLight()
comp_1_2081()
affectedByFogAndLight()