Enum Class ResourcePackCompatibility

java.lang.Object
java.lang.Enum<ResourcePackCompatibility>
net.minecraft.resource.ResourcePackCompatibility
All Implemented Interfaces:
Serializable, Comparable<ResourcePackCompatibility>, Constable

public enum ResourcePackCompatibility extends Enum<ResourcePackCompatibility>
Mappings:
Namespace Name
named net/minecraft/resource/ResourcePackCompatibility
intermediary net/minecraft/class_3281
official aty
  • Enum Constant Details Link icon

    • TOO_OLD Link icon

      public static final ResourcePackCompatibility TOO_OLD
      Mappings:
      Namespace Name Mixin selector
      named TOO_OLD Lnet/minecraft/resource/ResourcePackCompatibility;TOO_OLD:Lnet/minecraft/resource/ResourcePackCompatibility;
      intermediary field_14223 Lnet/minecraft/class_3281;field_14223:Lnet/minecraft/class_3281;
      official a Laty;a:Laty;
    • TOO_NEW Link icon

      public static final ResourcePackCompatibility TOO_NEW
      Mappings:
      Namespace Name Mixin selector
      named TOO_NEW Lnet/minecraft/resource/ResourcePackCompatibility;TOO_NEW:Lnet/minecraft/resource/ResourcePackCompatibility;
      intermediary field_14220 Lnet/minecraft/class_3281;field_14220:Lnet/minecraft/class_3281;
      official b Laty;b:Laty;
    • COMPATIBLE Link icon

      public static final ResourcePackCompatibility COMPATIBLE
      Mappings:
      Namespace Name Mixin selector
      named COMPATIBLE Lnet/minecraft/resource/ResourcePackCompatibility;COMPATIBLE:Lnet/minecraft/resource/ResourcePackCompatibility;
      intermediary field_14224 Lnet/minecraft/class_3281;field_14224:Lnet/minecraft/class_3281;
      official c Laty;c:Laty;
  • Field Details Link icon

    • notification Link icon

      private final Text notification
      Mappings:
      Namespace Name Mixin selector
      named notification Lnet/minecraft/resource/ResourcePackCompatibility;notification:Lnet/minecraft/text/Text;
      intermediary field_14219 Lnet/minecraft/class_3281;field_14219:Lnet/minecraft/class_2561;
      official d Laty;d:Lwp;
    • confirmMessage Link icon

      private final Text confirmMessage
      Mappings:
      Namespace Name Mixin selector
      named confirmMessage Lnet/minecraft/resource/ResourcePackCompatibility;confirmMessage:Lnet/minecraft/text/Text;
      intermediary field_14222 Lnet/minecraft/class_3281;field_14222:Lnet/minecraft/class_2561;
      official e Laty;e:Lwp;
  • Constructor Details Link icon

    • ResourcePackCompatibility Link icon

      private ResourcePackCompatibility(String translationSuffix)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/resource/ResourcePackCompatibility;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_3281;<init>(Ljava/lang/String;ILjava/lang/String;)V
      official <init> Laty;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details Link icon

    • values Link icon

      public static ResourcePackCompatibility[] 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 Link icon

      public static ResourcePackCompatibility 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
    • isCompatible Link icon

      public boolean isCompatible()
      Mappings:
      Namespace Name Mixin selector
      named isCompatible Lnet/minecraft/resource/ResourcePackCompatibility;isCompatible()Z
      intermediary method_14437 Lnet/minecraft/class_3281;method_14437()Z
      official a Laty;a()Z
    • from Link icon

      public static ResourcePackCompatibility from(Range<Integer> range, int current)
      Mappings:
      Namespace Name Mixin selector
      named from Lnet/minecraft/resource/ResourcePackCompatibility;from(Lnet/minecraft/util/dynamic/Range;I)Lnet/minecraft/resource/ResourcePackCompatibility;
      intermediary method_14436 Lnet/minecraft/class_3281;method_14436(Lnet/minecraft/class_6497;I)Lnet/minecraft/class_3281;
      official a Laty;a(Layr;I)Laty;
    • getNotification Link icon

      public Text getNotification()
      Mappings:
      Namespace Name Mixin selector
      named getNotification Lnet/minecraft/resource/ResourcePackCompatibility;getNotification()Lnet/minecraft/text/Text;
      intermediary method_14439 Lnet/minecraft/class_3281;method_14439()Lnet/minecraft/class_2561;
      official b Laty;b()Lwp;
    • getConfirmMessage Link icon

      public Text getConfirmMessage()
      Mappings:
      Namespace Name Mixin selector
      named getConfirmMessage Lnet/minecraft/resource/ResourcePackCompatibility;getConfirmMessage()Lnet/minecraft/text/Text;
      intermediary method_14438 Lnet/minecraft/class_3281;method_14438()Lnet/minecraft/class_2561;
      official c Laty;c()Lwp;