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