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
-
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 String
Fields 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 float
getAngle
(ClientWorld world, ItemStack stack, Entity user, Random random) static TimeProperty.Source
Returns 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 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
- 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
- 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
- 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
- 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
- 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
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:
asString
in interfaceStringIdentifiable
- 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
- 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
-