net.minecraft.client.resources.metadata.gui

public enum GuiSpriteScaling$Type

implements StringRepresentable

gqt$d
net.minecraft.client.resources.metadata.gui.GuiSpriteScaling$Type
net.minecraft.class_8690$class_8695
net.minecraft.client.texture.Scaling$Type
net.minecraft.src.C_290233_$C_290170_

Enum constant summary

Enum Constant
a
STRETCH
field_45656
STRETCH
STRETCH
b
TILE
field_45657
TILE
TILE
c
NINE_SLICE
field_45658
NINE_SLICE
NINE_SLICE

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<GuiSpriteScaling$Type>
d
CODEC
field_45659
CODEC
f_291680_
private final String
e
key
field_45660
name
f_290874_
private final com.mojang.serialization.MapCodec<? extends GuiSpriteScaling>
f
codec
field_45661
codec
f_291200_

Constructor summary

ModifierConstructor
private (String p_300752_, com.mojang.serialization.MapCodec<? extends GuiSpriteScaling> p_299685_)

Method summary

Modifier and TypeMethod
public String
c()
getSerializedName()
method_15434()
asString()
m_7912_()
public com.mojang.serialization.MapCodec<? extends GuiSpriteScaling>
a()
codec()
method_52886()
getCodec()
m_295550_()