Package net.minecraft.client.util
Enum Class Icons
- All Implemented Interfaces:
Serializable
,Comparable<Icons>
,Constable
- Mappings:
Namespace Name official eov
intermediary net/minecraft/class_8518
named 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
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate InputSupplier<InputStream>
getIcon
(ResourcePack resourcePack, String fileName) getIcons
(ResourcePack resourcePack) getMacIcon
(ResourcePack resourcePack) static Icons
Returns 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 official a
Leov;a:Leov;
intermediary field_44650
Lnet/minecraft/class_8518;field_44650:Lnet/minecraft/class_8518;
named RELEASE
Lnet/minecraft/client/util/Icons;RELEASE:Lnet/minecraft/client/util/Icons;
-
SNAPSHOT
- Mappings:
Namespace Name Mixin selector official b
Leov;b:Leov;
intermediary field_44651
Lnet/minecraft/class_8518;field_44651:Lnet/minecraft/class_8518;
named SNAPSHOT
Lnet/minecraft/client/util/Icons;SNAPSHOT:Lnet/minecraft/client/util/Icons;
-
-
Field Details
-
path
- Mappings:
Namespace Name Mixin selector official c
Leov;c:[Ljava/lang/String;
intermediary field_44652
Lnet/minecraft/class_8518;field_44652:[Ljava/lang/String;
named path
Lnet/minecraft/client/util/Icons;path:[Ljava/lang/String;
-
-
Constructor Details
-
Icons
- Mappings:
Namespace Name Mixin selector official <init>
Leov;<init>(Ljava/lang/String;I[Ljava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_8518;<init>(Ljava/lang/String;I[Ljava/lang/String;)V
named <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 official a
Leov;a(Laow;)Ljava/util/List;
intermediary method_51418
Lnet/minecraft/class_8518;method_51418(Lnet/minecraft/class_3262;)Ljava/util/List;
named getIcons
Lnet/minecraft/client/util/Icons;getIcons(Lnet/minecraft/resource/ResourcePack;)Ljava/util/List;
-
getMacIcon
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official b
Leov;b(Laow;)Laqa;
intermediary method_51420
Lnet/minecraft/class_8518;method_51420(Lnet/minecraft/class_3262;)Lnet/minecraft/class_7367;
named getMacIcon
Lnet/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 official a
Leov;a(Laow;Ljava/lang/String;)Laqa;
intermediary method_51419
Lnet/minecraft/class_8518;method_51419(Lnet/minecraft/class_3262;Ljava/lang/String;)Lnet/minecraft/class_7367;
named getIcon
Lnet/minecraft/client/util/Icons;getIcon(Lnet/minecraft/resource/ResourcePack;Ljava/lang/String;)Lnet/minecraft/resource/InputSupplier;
-