Enum Class Icons

java.lang.Object
java.lang.Enum<Icons>
net.minecraft.client.util.Icons
All Implemented Interfaces:
Serializable, Comparable<Icons>, Constable

@Environment(CLIENT) public enum Icons extends Enum<Icons>
Mappings:
Namespace Name
named net/minecraft/client/util/Icons
intermediary net/minecraft/class_8518
official ezx
  • Enum Constant Details

    • RELEASE

      public static final Icons 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 Lezx;a:Lezx;
    • SNAPSHOT

      public static final Icons 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 Lezx;b:Lezx;
  • Field Details

    • path

      private final String[] 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 Lezx;c:[Ljava/lang/String;
  • Constructor Details

    • Icons

      private Icons(String[] path)
      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> Lezx;<init>(Ljava/lang/String;I[Ljava/lang/String;)V
  • Method Details

    • values

      public static Icons[] 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

      public static Icons valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getIcons

      public List<InputSupplier<InputStream>> getIcons(ResourcePack resourcePack) throws IOException
      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 Lezx;a(Lasp;)Ljava/util/List;
    • getMacIcon

      public InputSupplier<InputStream> getMacIcon(ResourcePack resourcePack) throws IOException
      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 Lezx;b(Lasp;)Latv;
    • 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 Lezx;a(Lasp;Ljava/lang/String;)Latv;