Enum Class TimeProperty.Source

java.lang.Object
java.lang.Enum<TimeProperty.Source>
net.minecraft.client.render.item.property.numeric.TimeProperty.Source
All Implemented Interfaces:
Serializable, Comparable<TimeProperty.Source>, Constable, StringIdentifiable
Enclosing class:
TimeProperty

@Environment(CLIENT) public static enum TimeProperty.Source extends Enum<TimeProperty.Source> implements StringIdentifiable
Mappings:
Namespace Name
named net/minecraft/client/render/item/property/numeric/TimeProperty$Source
intermediary net/minecraft/class_10483$class_10547
official hcv$a
  • Enum Constant Details

    • RANDOM

      public static final TimeProperty.Source RANDOM
      Mappings:
      Namespace Name Mixin selector
      named RANDOM Lnet/minecraft/client/render/item/property/numeric/TimeProperty$Source;RANDOM:Lnet/minecraft/client/render/item/property/numeric/TimeProperty$Source;
      intermediary field_55557 Lnet/minecraft/class_10483$class_10547;field_55557:Lnet/minecraft/class_10483$class_10547;
      official a Lhcv$a;a:Lhcv$a;
    • DAYTIME

      public static final TimeProperty.Source DAYTIME
      Mappings:
      Namespace Name Mixin selector
      named DAYTIME Lnet/minecraft/client/render/item/property/numeric/TimeProperty$Source;DAYTIME:Lnet/minecraft/client/render/item/property/numeric/TimeProperty$Source;
      intermediary field_55558 Lnet/minecraft/class_10483$class_10547;field_55558:Lnet/minecraft/class_10483$class_10547;
      official b Lhcv$a;b:Lhcv$a;
    • MOON_PHASE

      public static final TimeProperty.Source MOON_PHASE
      Mappings:
      Namespace Name Mixin selector
      named MOON_PHASE Lnet/minecraft/client/render/item/property/numeric/TimeProperty$Source;MOON_PHASE:Lnet/minecraft/client/render/item/property/numeric/TimeProperty$Source;
      intermediary field_55559 Lnet/minecraft/class_10483$class_10547;field_55559:Lnet/minecraft/class_10483$class_10547;
      official c Lhcv$a;c:Lhcv$a;
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<TimeProperty.Source> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/client/render/item/property/numeric/TimeProperty$Source;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_55560 Lnet/minecraft/class_10483$class_10547;field_55560:Lcom/mojang/serialization/Codec;
      official d Lhcv$a;d:Lcom/mojang/serialization/Codec;
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/client/render/item/property/numeric/TimeProperty$Source;name:Ljava/lang/String;
      intermediary field_55561 Lnet/minecraft/class_10483$class_10547;field_55561:Ljava/lang/String;
      official e Lhcv$a;e:Ljava/lang/String;
  • Constructor Details

    • Source

      private Source(String name)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/item/property/numeric/TimeProperty$Source;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_10483$class_10547;<init>(Ljava/lang/String;ILjava/lang/String;)V
      official <init> Lhcv$a;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details

    • values

      public static TimeProperty.Source[] 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 TimeProperty.Source 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
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
      intermediary method_15434 Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
      official c Lazv;c()Ljava/lang/String;
    • getAngle

      abstract float getAngle(ClientWorld world, ItemStack stack, Entity user, Random random)
      Mappings:
      Namespace Name Mixin selector
      named getAngle Lnet/minecraft/client/render/item/property/numeric/TimeProperty$Source;getAngle(Lnet/minecraft/client/world/ClientWorld;Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/random/Random;)F
      intermediary method_65914 Lnet/minecraft/class_10483$class_10547;method_65914(Lnet/minecraft/class_638;Lnet/minecraft/class_1799;Lnet/minecraft/class_1297;Lnet/minecraft/class_5819;)F
      official a Lhcv$a;a(Lgga;Lcwq;Lbum;Lazh;)F