Enum Class Perspective

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

@Environment(CLIENT) public enum Perspective extends Enum<Perspective>
Mappings:
Namespace Name
named net/minecraft/client/option/Perspective
intermediary net/minecraft/class_5498
official fes
  • Enum Constant Details

    • FIRST_PERSON

      public static final Perspective FIRST_PERSON
      Mappings:
      Namespace Name Mixin selector
      named FIRST_PERSON Lnet/minecraft/client/option/Perspective;FIRST_PERSON:Lnet/minecraft/client/option/Perspective;
      intermediary field_26664 Lnet/minecraft/class_5498;field_26664:Lnet/minecraft/class_5498;
      official a Lfes;a:Lfes;
    • THIRD_PERSON_BACK

      public static final Perspective THIRD_PERSON_BACK
      Mappings:
      Namespace Name Mixin selector
      named THIRD_PERSON_BACK Lnet/minecraft/client/option/Perspective;THIRD_PERSON_BACK:Lnet/minecraft/client/option/Perspective;
      intermediary field_26665 Lnet/minecraft/class_5498;field_26665:Lnet/minecraft/class_5498;
      official b Lfes;b:Lfes;
    • THIRD_PERSON_FRONT

      public static final Perspective THIRD_PERSON_FRONT
      Mappings:
      Namespace Name Mixin selector
      named THIRD_PERSON_FRONT Lnet/minecraft/client/option/Perspective;THIRD_PERSON_FRONT:Lnet/minecraft/client/option/Perspective;
      intermediary field_26666 Lnet/minecraft/class_5498;field_26666:Lnet/minecraft/class_5498;
      official c Lfes;c:Lfes;
  • Field Details

    • VALUES

      private static final Perspective[] VALUES
      Mappings:
      Namespace Name Mixin selector
      named VALUES Lnet/minecraft/client/option/Perspective;VALUES:[Lnet/minecraft/client/option/Perspective;
      intermediary field_26667 Lnet/minecraft/class_5498;field_26667:[Lnet/minecraft/class_5498;
      official d Lfes;d:[Lfes;
    • firstPerson

      private final boolean firstPerson
      Mappings:
      Namespace Name Mixin selector
      named firstPerson Lnet/minecraft/client/option/Perspective;firstPerson:Z
      intermediary field_26668 Lnet/minecraft/class_5498;field_26668:Z
      official e Lfes;e:Z
    • frontView

      private final boolean frontView
      Mappings:
      Namespace Name Mixin selector
      named frontView Lnet/minecraft/client/option/Perspective;frontView:Z
      intermediary field_26669 Lnet/minecraft/class_5498;field_26669:Z
      official f Lfes;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)V
      intermediary <init> Lnet/minecraft/class_5498;<init>(Ljava/lang/String;IZZ)V
      official <init> Lfes;<init>(Ljava/lang/String;IZZ)V
  • Method Details

    • values

      public static Perspective[] 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 Perspective 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
    • isFirstPerson

      public boolean isFirstPerson()
      Mappings:
      Namespace Name Mixin selector
      named isFirstPerson Lnet/minecraft/client/option/Perspective;isFirstPerson()Z
      intermediary method_31034 Lnet/minecraft/class_5498;method_31034()Z
      official a Lfes;a()Z
    • isFrontView

      public boolean isFrontView()
      Mappings:
      Namespace Name Mixin selector
      named isFrontView Lnet/minecraft/client/option/Perspective;isFrontView()Z
      intermediary method_31035 Lnet/minecraft/class_5498;method_31035()Z
      official b Lfes;b()Z
    • next

      public Perspective next()
      Mappings:
      Namespace Name Mixin selector
      named next Lnet/minecraft/client/option/Perspective;next()Lnet/minecraft/client/option/Perspective;
      intermediary method_31036 Lnet/minecraft/class_5498;method_31036()Lnet/minecraft/class_5498;
      official c Lfes;c()Lfes;