Package net.minecraft.client.option
Enum Class Perspective
- All Implemented Interfaces:
Serializable,Comparable<Perspective>,Constable
- Mappings:
Namespace Name named net/minecraft/client/option/Perspectiveintermediary net/minecraft/class_5498official ffz
-
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
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate final booleanprivate static final Perspective[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleannext()static PerspectiveReturns the enum constant of this class with the specified name.static Perspective[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FIRST_PERSON
- Mappings:
Namespace Name Mixin selector named FIRST_PERSONLnet/minecraft/client/option/Perspective;FIRST_PERSON:Lnet/minecraft/client/option/Perspective;intermediary field_26664Lnet/minecraft/class_5498;field_26664:Lnet/minecraft/class_5498;official aLffz;a:Lffz;
-
THIRD_PERSON_BACK
- Mappings:
Namespace Name Mixin selector named THIRD_PERSON_BACKLnet/minecraft/client/option/Perspective;THIRD_PERSON_BACK:Lnet/minecraft/client/option/Perspective;intermediary field_26665Lnet/minecraft/class_5498;field_26665:Lnet/minecraft/class_5498;official bLffz;b:Lffz;
-
THIRD_PERSON_FRONT
- Mappings:
Namespace Name Mixin selector named THIRD_PERSON_FRONTLnet/minecraft/client/option/Perspective;THIRD_PERSON_FRONT:Lnet/minecraft/client/option/Perspective;intermediary field_26666Lnet/minecraft/class_5498;field_26666:Lnet/minecraft/class_5498;official cLffz;c:Lffz;
-
-
Field Details
-
VALUES
- Mappings:
Namespace Name Mixin selector named VALUESLnet/minecraft/client/option/Perspective;VALUES:[Lnet/minecraft/client/option/Perspective;intermediary field_26667Lnet/minecraft/class_5498;field_26667:[Lnet/minecraft/class_5498;official dLffz;d:[Lffz;
-
firstPerson
private final boolean firstPerson- Mappings:
Namespace Name Mixin selector named firstPersonLnet/minecraft/client/option/Perspective;firstPerson:Zintermediary field_26668Lnet/minecraft/class_5498;field_26668:Zofficial eLffz;e:Z
-
frontView
private final boolean frontView- Mappings:
Namespace Name Mixin selector named frontViewLnet/minecraft/client/option/Perspective;frontView:Zintermediary field_26669Lnet/minecraft/class_5498;field_26669:Zofficial fLffz;f:Z
-
-
Constructor Details
-
Perspective
private Perspective(boolean firstPerson, boolean frontView) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/option/Perspective;<init>(Ljava/lang/String;IZZ)Vintermediary <init>Lnet/minecraft/class_5498;<init>(Ljava/lang/String;IZZ)Vofficial <init>Lffz;<init>(Ljava/lang/String;IZZ)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
-
isFirstPerson
public boolean isFirstPerson()- Mappings:
Namespace Name Mixin selector named isFirstPersonLnet/minecraft/client/option/Perspective;isFirstPerson()Zintermediary method_31034Lnet/minecraft/class_5498;method_31034()Zofficial aLffz;a()Z
-
isFrontView
public boolean isFrontView()- Mappings:
Namespace Name Mixin selector named isFrontViewLnet/minecraft/client/option/Perspective;isFrontView()Zintermediary method_31035Lnet/minecraft/class_5498;method_31035()Zofficial bLffz;b()Z
-
next
- Mappings:
Namespace Name Mixin selector named nextLnet/minecraft/client/option/Perspective;next()Lnet/minecraft/client/option/Perspective;intermediary method_31036Lnet/minecraft/class_5498;method_31036()Lnet/minecraft/class_5498;official cLffz;c()Lffz;
-