Package net.minecraft.client.texture
Enum Class Scaling.Type
- All Implemented Interfaces:
Serializable,Comparable<Scaling.Type>,Constable,StringIdentifiable
- Enclosing interface:
Scaling
@Environment(CLIENT)
public static enum Scaling.Type
extends Enum<Scaling.Type>
implements StringIdentifiable
- Mappings:
Namespace Name named net/minecraft/client/texture/Scaling$Typeintermediary net/minecraft/class_8690$class_8695official gsd$d
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface net.minecraft.util.StringIdentifiable
StringIdentifiable.BasicCodec<S extends StringIdentifiable>, StringIdentifiable.EnumCodec<E extends Enum<E> & StringIdentifiable> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final com.mojang.serialization.MapCodec<? extends Scaling> static final com.mojang.serialization.Codec<Scaling.Type> private final StringFields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()Returns the unique string representation of the enum, used for serialization.com.mojang.serialization.MapCodec<? extends Scaling> getCodec()static Scaling.TypeReturns the enum constant of this class with the specified name.static Scaling.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STRETCH
- Mappings:
Namespace Name Mixin selector named STRETCHLnet/minecraft/client/texture/Scaling$Type;STRETCH:Lnet/minecraft/client/texture/Scaling$Type;intermediary field_45656Lnet/minecraft/class_8690$class_8695;field_45656:Lnet/minecraft/class_8690$class_8695;official aLgsd$d;a:Lgsd$d;
-
TILE
- Mappings:
Namespace Name Mixin selector named TILELnet/minecraft/client/texture/Scaling$Type;TILE:Lnet/minecraft/client/texture/Scaling$Type;intermediary field_45657Lnet/minecraft/class_8690$class_8695;field_45657:Lnet/minecraft/class_8690$class_8695;official bLgsd$d;b:Lgsd$d;
-
NINE_SLICE
- Mappings:
Namespace Name Mixin selector named NINE_SLICELnet/minecraft/client/texture/Scaling$Type;NINE_SLICE:Lnet/minecraft/client/texture/Scaling$Type;intermediary field_45658Lnet/minecraft/class_8690$class_8695;field_45658:Lnet/minecraft/class_8690$class_8695;official cLgsd$d;c:Lgsd$d;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/client/texture/Scaling$Type;CODEC:Lcom/mojang/serialization/Codec;intermediary field_45659Lnet/minecraft/class_8690$class_8695;field_45659:Lcom/mojang/serialization/Codec;official dLgsd$d;d:Lcom/mojang/serialization/Codec;
-
name
- Mappings:
Namespace Name Mixin selector named nameLnet/minecraft/client/texture/Scaling$Type;name:Ljava/lang/String;intermediary field_45660Lnet/minecraft/class_8690$class_8695;field_45660:Ljava/lang/String;official eLgsd$d;e:Ljava/lang/String;
-
codec
- Mappings:
Namespace Name Mixin selector named codecLnet/minecraft/client/texture/Scaling$Type;codec:Lcom/mojang/serialization/MapCodec;intermediary field_45661Lnet/minecraft/class_8690$class_8695;field_45661:Lcom/mojang/serialization/MapCodec;official fLgsd$d;f:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
Type
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/texture/Scaling$Type;<init>(Ljava/lang/String;ILjava/lang/String;Lcom/mojang/serialization/MapCodec;)Vintermediary <init>Lnet/minecraft/class_8690$class_8695;<init>(Ljava/lang/String;ILjava/lang/String;Lcom/mojang/serialization/MapCodec;)Vofficial <init>Lgsd$d;<init>(Ljava/lang/String;ILjava/lang/String;Lcom/mojang/serialization/MapCodec;)V
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
asStringin interfaceStringIdentifiable- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;official cLazk;c()Ljava/lang/String;
-
getCodec
- Mappings:
Namespace Name Mixin selector named getCodecLnet/minecraft/client/texture/Scaling$Type;getCodec()Lcom/mojang/serialization/MapCodec;intermediary method_52886Lnet/minecraft/class_8690$class_8695;method_52886()Lcom/mojang/serialization/MapCodec;official aLgsd$d;a()Lcom/mojang/serialization/MapCodec;
-