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$Sourceintermediary net/minecraft/class_10483$class_10547official hir$a
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface net.minecraft.util.StringIdentifiable
StringIdentifiable.BasicCodec<S extends StringIdentifiable>, StringIdentifiable.EnumCodec<E extends Enum<E> & StringIdentifiable> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<TimeProperty.Source> private final StringFields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()Returns the unique string representation of the enum, used for serialization.(package private) abstract floatgetAngle(ClientWorld world, ItemStack stack, Entity user, Random random) static TimeProperty.SourceReturns the enum constant of this class with the specified name.static TimeProperty.Source[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RANDOM
- Mappings:
Namespace Name Mixin selector named RANDOMLnet/minecraft/client/render/item/property/numeric/TimeProperty$Source;RANDOM:Lnet/minecraft/client/render/item/property/numeric/TimeProperty$Source;intermediary field_55557Lnet/minecraft/class_10483$class_10547;field_55557:Lnet/minecraft/class_10483$class_10547;official aLhir$a;a:Lhir$a;
-
DAYTIME
- Mappings:
Namespace Name Mixin selector named DAYTIMELnet/minecraft/client/render/item/property/numeric/TimeProperty$Source;DAYTIME:Lnet/minecraft/client/render/item/property/numeric/TimeProperty$Source;intermediary field_55558Lnet/minecraft/class_10483$class_10547;field_55558:Lnet/minecraft/class_10483$class_10547;official bLhir$a;b:Lhir$a;
-
MOON_PHASE
- Mappings:
Namespace Name Mixin selector named MOON_PHASELnet/minecraft/client/render/item/property/numeric/TimeProperty$Source;MOON_PHASE:Lnet/minecraft/client/render/item/property/numeric/TimeProperty$Source;intermediary field_55559Lnet/minecraft/class_10483$class_10547;field_55559:Lnet/minecraft/class_10483$class_10547;official cLhir$a;c:Lhir$a;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/client/render/item/property/numeric/TimeProperty$Source;CODEC:Lcom/mojang/serialization/Codec;intermediary field_55560Lnet/minecraft/class_10483$class_10547;field_55560:Lcom/mojang/serialization/Codec;official dLhir$a;d:Lcom/mojang/serialization/Codec;
-
name
- Mappings:
Namespace Name Mixin selector named nameLnet/minecraft/client/render/item/property/numeric/TimeProperty$Source;name:Ljava/lang/String;intermediary field_55561Lnet/minecraft/class_10483$class_10547;field_55561:Ljava/lang/String;official eLhir$a;e:Ljava/lang/String;
-
-
Constructor Details
-
Source
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/render/item/property/numeric/TimeProperty$Source;<init>(Ljava/lang/String;ILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_10483$class_10547;<init>(Ljava/lang/String;ILjava/lang/String;)Vofficial <init>Lhir$a;<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
-
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
asStringin interfaceStringIdentifiable- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;official cLbax;c()Ljava/lang/String;
-
getAngle
- Mappings:
Namespace Name Mixin selector named getAngleLnet/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;)Fintermediary method_65914Lnet/minecraft/class_10483$class_10547;method_65914(Lnet/minecraft/class_638;Lnet/minecraft/class_1799;Lnet/minecraft/class_1297;Lnet/minecraft/class_5819;)Fofficial aLhir$a;a(Lglo;Ldak;Lbxe;Lbai;)F
-