Enum Class Mode

java.lang.Object
java.lang.Enum<Mode>
net.minecraft.client.render.model.json.Mode
All Implemented Interfaces:
Serializable, Comparable<Mode>, Constable, StringIdentifiable

public enum Mode extends Enum<Mode> implements StringIdentifiable
Mappings:
Namespace Name
official cfe
intermediary net/minecraft/class_811
named net/minecraft/client/render/model/json/Mode
  • Enum Constant Details

    • NONE

      public static final Mode NONE
      Mappings:
      Namespace Name Mixin selector
      official a Lcfe;a:Lcfe;
      intermediary field_4315 Lnet/minecraft/class_811;field_4315:Lnet/minecraft/class_811;
      named NONE Lnet/minecraft/client/render/model/json/Mode;NONE:Lnet/minecraft/client/render/model/json/Mode;
    • THIRD_PERSON_LEFT_HAND

      public static final Mode THIRD_PERSON_LEFT_HAND
      Mappings:
      Namespace Name Mixin selector
      official b Lcfe;b:Lcfe;
      intermediary field_4323 Lnet/minecraft/class_811;field_4323:Lnet/minecraft/class_811;
      named THIRD_PERSON_LEFT_HAND Lnet/minecraft/client/render/model/json/Mode;THIRD_PERSON_LEFT_HAND:Lnet/minecraft/client/render/model/json/Mode;
    • THIRD_PERSON_RIGHT_HAND

      public static final Mode THIRD_PERSON_RIGHT_HAND
      Mappings:
      Namespace Name Mixin selector
      official c Lcfe;c:Lcfe;
      intermediary field_4320 Lnet/minecraft/class_811;field_4320:Lnet/minecraft/class_811;
      named THIRD_PERSON_RIGHT_HAND Lnet/minecraft/client/render/model/json/Mode;THIRD_PERSON_RIGHT_HAND:Lnet/minecraft/client/render/model/json/Mode;
    • FIRST_PERSON_LEFT_HAND

      public static final Mode FIRST_PERSON_LEFT_HAND
      Mappings:
      Namespace Name Mixin selector
      official d Lcfe;d:Lcfe;
      intermediary field_4321 Lnet/minecraft/class_811;field_4321:Lnet/minecraft/class_811;
      named FIRST_PERSON_LEFT_HAND Lnet/minecraft/client/render/model/json/Mode;FIRST_PERSON_LEFT_HAND:Lnet/minecraft/client/render/model/json/Mode;
    • FIRST_PERSON_RIGHT_HAND

      public static final Mode FIRST_PERSON_RIGHT_HAND
      Mappings:
      Namespace Name Mixin selector
      official e Lcfe;e:Lcfe;
      intermediary field_4322 Lnet/minecraft/class_811;field_4322:Lnet/minecraft/class_811;
      named FIRST_PERSON_RIGHT_HAND Lnet/minecraft/client/render/model/json/Mode;FIRST_PERSON_RIGHT_HAND:Lnet/minecraft/client/render/model/json/Mode;
    • GUI

      public static final Mode GUI
      Mappings:
      Namespace Name Mixin selector
      official g Lcfe;g:Lcfe;
      intermediary field_4317 Lnet/minecraft/class_811;field_4317:Lnet/minecraft/class_811;
      named GUI Lnet/minecraft/client/render/model/json/Mode;GUI:Lnet/minecraft/client/render/model/json/Mode;
    • GROUND

      public static final Mode GROUND
      Mappings:
      Namespace Name Mixin selector
      official h Lcfe;h:Lcfe;
      intermediary field_4318 Lnet/minecraft/class_811;field_4318:Lnet/minecraft/class_811;
      named GROUND Lnet/minecraft/client/render/model/json/Mode;GROUND:Lnet/minecraft/client/render/model/json/Mode;
    • FIXED

      public static final Mode FIXED
      Mappings:
      Namespace Name Mixin selector
      official i Lcfe;i:Lcfe;
      intermediary field_4319 Lnet/minecraft/class_811;field_4319:Lnet/minecraft/class_811;
      named FIXED Lnet/minecraft/client/render/model/json/Mode;FIXED:Lnet/minecraft/client/render/model/json/Mode;
  • Field Details

    • field_42468

      public static final StringIdentifiable.Codec<Mode> field_42468
      Mappings:
      Namespace Name Mixin selector
      official j Lcfe;j:Lcom/mojang/serialization/Codec;
      intermediary field_42468 Lnet/minecraft/class_811;field_42468:Lcom/mojang/serialization/Codec;
      named field_42468 Lnet/minecraft/client/render/model/json/Mode;field_42468:Lcom/mojang/serialization/Codec;
    • field_42469

      public static final IntFunction<Mode> field_42469
      Mappings:
      Namespace Name Mixin selector
      official k Lcfe;k:Ljava/util/function/IntFunction;
      intermediary field_42469 Lnet/minecraft/class_811;field_42469:Ljava/util/function/IntFunction;
      named field_42469 Lnet/minecraft/client/render/model/json/Mode;field_42469:Ljava/util/function/IntFunction;
    • field_42470

      private final byte field_42470
      Mappings:
      Namespace Name Mixin selector
      official l Lcfe;l:B
      intermediary field_42470 Lnet/minecraft/class_811;field_42470:B
      named field_42470 Lnet/minecraft/client/render/model/json/Mode;field_42470:B
    • field_42471

      private final String field_42471
      Mappings:
      Namespace Name Mixin selector
      official m Lcfe;m:Ljava/lang/String;
      intermediary field_42471 Lnet/minecraft/class_811;field_42471:Ljava/lang/String;
      named field_42471 Lnet/minecraft/client/render/model/json/Mode;field_42471:Ljava/lang/String;
  • Constructor Details

    • Mode

      private Mode(int int2, String string)
  • Method Details

    • values

      public static Mode[] 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 Mode 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
    • asString

      public String asString()
      Returns the unique string representation of the enum, used for serialization.
      Specified by:
      asString in interface StringIdentifiable
      Returns:
      the unique string representation of the enum, used for serialization
      Mappings:
      Namespace Name Mixin selector
      official c Laps;c()Ljava/lang/String;
      intermediary method_15434 Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
    • method_48961

      public byte method_48961()
      Mappings:
      Namespace Name Mixin selector
      official a Lcfe;a()B
      intermediary method_48961 Lnet/minecraft/class_811;method_48961()B
      named method_48961 Lnet/minecraft/client/render/model/json/Mode;method_48961()B
    • isFirstPerson

      public boolean isFirstPerson()
      Mappings:
      Namespace Name Mixin selector
      official b Lcfe;b()Z
      intermediary method_29998 Lnet/minecraft/class_811;method_29998()Z
      named isFirstPerson Lnet/minecraft/client/render/model/json/Mode;isFirstPerson()Z