Package net.minecraft.resource
Enum Class ResourcePackCompatibility
- All Implemented Interfaces:
Serializable,Comparable<ResourcePackCompatibility>,Constable
- Mappings:
Namespace Name named net/minecraft/resource/ResourcePackCompatibilityintermediary net/minecraft/class_3281official azy
-
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 TypeMethodDescriptionstatic ResourcePackCompatibilityfrom(Range<PackVersion> range, PackVersion packVersion) booleanstatic ResourcePackCompatibilityReturns the enum constant of this class with the specified name.static ResourcePackCompatibility[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TOO_OLD
- Mappings:
Namespace Name Mixin selector named TOO_OLDLnet/minecraft/resource/ResourcePackCompatibility;TOO_OLD:Lnet/minecraft/resource/ResourcePackCompatibility;intermediary field_14223Lnet/minecraft/class_3281;field_14223:Lnet/minecraft/class_3281;official aLazy;a:Lazy;
-
TOO_NEW
- Mappings:
Namespace Name Mixin selector named TOO_NEWLnet/minecraft/resource/ResourcePackCompatibility;TOO_NEW:Lnet/minecraft/resource/ResourcePackCompatibility;intermediary field_14220Lnet/minecraft/class_3281;field_14220:Lnet/minecraft/class_3281;official bLazy;b:Lazy;
-
UNKNOWN
- Mappings:
Namespace Name Mixin selector named UNKNOWNLnet/minecraft/resource/ResourcePackCompatibility;UNKNOWN:Lnet/minecraft/resource/ResourcePackCompatibility;intermediary field_61159Lnet/minecraft/class_3281;field_61159:Lnet/minecraft/class_3281;official cLazy;c:Lazy;
-
COMPATIBLE
- Mappings:
Namespace Name Mixin selector named COMPATIBLELnet/minecraft/resource/ResourcePackCompatibility;COMPATIBLE:Lnet/minecraft/resource/ResourcePackCompatibility;intermediary field_14224Lnet/minecraft/class_3281;field_14224:Lnet/minecraft/class_3281;official dLazy;d:Lazy;
-
-
Field Details
-
field_61160
public static final int field_61160- See Also:
- Mappings:
Namespace Name Mixin selector named field_61160Lnet/minecraft/resource/ResourcePackCompatibility;field_61160:Iintermediary field_61160Lnet/minecraft/class_3281;field_61160:Iofficial eLazy;e:I
-
notification
- Mappings:
Namespace Name Mixin selector named notificationLnet/minecraft/resource/ResourcePackCompatibility;notification:Lnet/minecraft/text/Text;intermediary field_14219Lnet/minecraft/class_3281;field_14219:Lnet/minecraft/class_2561;official fLazy;f:Lxx;
-
confirmMessage
- Mappings:
Namespace Name Mixin selector named confirmMessageLnet/minecraft/resource/ResourcePackCompatibility;confirmMessage:Lnet/minecraft/text/Text;intermediary field_14222Lnet/minecraft/class_3281;field_14222:Lnet/minecraft/class_2561;official gLazy;g:Lxx;
-
-
Constructor Details
-
ResourcePackCompatibility
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/resource/ResourcePackCompatibility;<init>(Ljava/lang/String;ILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_3281;<init>(Ljava/lang/String;ILjava/lang/String;)Vofficial <init>Lazy;<init>(Ljava/lang/String;ILjava/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
-
isCompatible
public boolean isCompatible()- Mappings:
Namespace Name Mixin selector named isCompatibleLnet/minecraft/resource/ResourcePackCompatibility;isCompatible()Zintermediary method_14437Lnet/minecraft/class_3281;method_14437()Zofficial aLazy;a()Z
-
from
- Mappings:
Namespace Name Mixin selector named fromLnet/minecraft/resource/ResourcePackCompatibility;from(Lnet/minecraft/util/dynamic/Range;Lnet/minecraft/resource/PackVersion;)Lnet/minecraft/resource/ResourcePackCompatibility;intermediary method_14436Lnet/minecraft/class_3281;method_14436(Lnet/minecraft/class_6497;Lnet/minecraft/class_11555;)Lnet/minecraft/class_3281;official aLazy;a(Lbez;Lazp;)Lazy;
-
getNotification
- Mappings:
Namespace Name Mixin selector named getNotificationLnet/minecraft/resource/ResourcePackCompatibility;getNotification()Lnet/minecraft/text/Text;intermediary method_14439Lnet/minecraft/class_3281;method_14439()Lnet/minecraft/class_2561;official bLazy;b()Lxx;
-
getConfirmMessage
- Mappings:
Namespace Name Mixin selector named getConfirmMessageLnet/minecraft/resource/ResourcePackCompatibility;getConfirmMessage()Lnet/minecraft/text/Text;intermediary method_14438Lnet/minecraft/class_3281;method_14438()Lnet/minecraft/class_2561;official cLazy;c()Lxx;
-