Package net.minecraft.client.util
Enum Class Icons
- All Implemented Interfaces:
Serializable,Comparable<Icons>,Constable
- Mappings:
Namespace Name intermediary net/minecraft/class_8518official egvnamed net/minecraft/client/util/Icons
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate InputSupplier<InputStream>getIcon(ResourcePack resourcePack, String fileName) getIcons(ResourcePack resourcePack) getMacIcon(ResourcePack resourcePack) static IconsReturns the enum constant of this class with the specified name.static Icons[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RELEASE
- Mappings:
Namespace Name Mixin selector intermediary field_44650Lnet/minecraft/class_8518;field_44650:Lnet/minecraft/class_8518;official aLegv;a:Legv;named RELEASELnet/minecraft/client/util/Icons;RELEASE:Lnet/minecraft/client/util/Icons;
-
SNAPSHOT
- Mappings:
Namespace Name Mixin selector intermediary field_44651Lnet/minecraft/class_8518;field_44651:Lnet/minecraft/class_8518;official bLegv;b:Legv;named SNAPSHOTLnet/minecraft/client/util/Icons;SNAPSHOT:Lnet/minecraft/client/util/Icons;
-
-
Field Details
-
path
- Mappings:
Namespace Name Mixin selector intermediary field_44652Lnet/minecraft/class_8518;field_44652:[Ljava/lang/String;official cLegv;c:[Ljava/lang/String;named pathLnet/minecraft/client/util/Icons;path:[Ljava/lang/String;
-
-
Constructor Details
-
Icons
- Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_8518;<init>(Ljava/lang/String;I[Ljava/lang/String;)Vofficial <init>Legv;<init>(Ljava/lang/String;I[Ljava/lang/String;)Vnamed <init>Lnet/minecraft/client/util/Icons;<init>(Ljava/lang/String;I[Ljava/lang/String;)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
-
getIcons
- Throws:
IOException- Mappings:
Namespace Name Mixin selector intermediary method_51418Lnet/minecraft/class_8518;method_51418(Lnet/minecraft/class_3262;)Ljava/util/List;official aLegv;a(Lajl;)Ljava/util/List;named getIconsLnet/minecraft/client/util/Icons;getIcons(Lnet/minecraft/resource/ResourcePack;)Ljava/util/List;
-
getMacIcon
- Throws:
IOException- Mappings:
Namespace Name Mixin selector intermediary method_51420Lnet/minecraft/class_8518;method_51420(Lnet/minecraft/class_3262;)Lnet/minecraft/class_7367;official bLegv;b(Lajl;)Lakp;named getMacIconLnet/minecraft/client/util/Icons;getMacIcon(Lnet/minecraft/resource/ResourcePack;)Lnet/minecraft/resource/InputSupplier;
-
getIcon
private InputSupplier<InputStream> getIcon(ResourcePack resourcePack, String fileName) throws IOException - Throws:
IOException- Mappings:
Namespace Name Mixin selector intermediary method_51419Lnet/minecraft/class_8518;method_51419(Lnet/minecraft/class_3262;Ljava/lang/String;)Lnet/minecraft/class_7367;official aLegv;a(Lajl;Ljava/lang/String;)Lakp;named getIconLnet/minecraft/client/util/Icons;getIcon(Lnet/minecraft/resource/ResourcePack;Ljava/lang/String;)Lnet/minecraft/resource/InputSupplier;
-