Class TimeProperty
java.lang.Object
net.minecraft.client.render.item.property.numeric.NeedleAngleState
net.minecraft.client.render.item.property.numeric.TimeProperty
- All Implemented Interfaces:
NumericProperty
- Mappings:
Namespace Name named net/minecraft/client/render/item/property/numeric/TimePropertyintermediary net/minecraft/class_10483official hir
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.client.render.item.property.numeric.NeedleAngleState
NeedleAngleState.Angler -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final NeedleAngleState.Anglerstatic final com.mojang.serialization.MapCodec<TimeProperty> private final Randomprivate final TimeProperty.Source -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected floatgetAngle(ItemStack stack, ClientWorld world, int seed, Entity user) com.mojang.serialization.MapCodec<TimeProperty> getCodec()Methods inherited from class net.minecraft.client.render.item.property.numeric.NeedleAngleState
createAngler, createInstantAngler, createWobblyAngler, getValue, hasWobbleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.render.item.property.numeric.NumericProperty
getValue
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/client/render/item/property/numeric/TimeProperty;CODEC:Lcom/mojang/serialization/MapCodec;intermediary field_55409Lnet/minecraft/class_10483;field_55409:Lcom/mojang/serialization/MapCodec;official aLhir;a:Lcom/mojang/serialization/MapCodec;
-
source
- Mappings:
Namespace Name Mixin selector named sourceLnet/minecraft/client/render/item/property/numeric/TimeProperty;source:Lnet/minecraft/client/render/item/property/numeric/TimeProperty$Source;intermediary field_55556Lnet/minecraft/class_10483;field_55556:Lnet/minecraft/class_10483$class_10547;official bLhir;b:Lhir$a;
-
random
- Mappings:
Namespace Name Mixin selector named randomLnet/minecraft/client/render/item/property/numeric/TimeProperty;random:Lnet/minecraft/util/math/random/Random;intermediary field_55411Lnet/minecraft/class_10483;field_55411:Lnet/minecraft/class_5819;official cLhir;c:Lbai;
-
angler
- Mappings:
Namespace Name Mixin selector named anglerLnet/minecraft/client/render/item/property/numeric/TimeProperty;angler:Lnet/minecraft/client/render/item/property/numeric/NeedleAngleState$Angler;intermediary field_55412Lnet/minecraft/class_10483;field_55412:Lnet/minecraft/class_10480$class_10481;official dLhir;d:Lhio$a;
-
-
Constructor Details
-
TimeProperty
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/render/item/property/numeric/TimeProperty;<init>(ZLnet/minecraft/client/render/item/property/numeric/TimeProperty$Source;)Vintermediary <init>Lnet/minecraft/class_10483;<init>(ZLnet/minecraft/class_10483$class_10547;)Vofficial <init>Lhir;<init>(ZLhir$a;)V
-
-
Method Details
-
getAngle
- Specified by:
getAnglein classNeedleAngleState- Mappings:
Namespace Name Mixin selector named getAngleLnet/minecraft/client/render/item/property/numeric/NeedleAngleState;getAngle(Lnet/minecraft/item/ItemStack;Lnet/minecraft/client/world/ClientWorld;ILnet/minecraft/entity/Entity;)Fintermediary method_65654Lnet/minecraft/class_10480;method_65654(Lnet/minecraft/class_1799;Lnet/minecraft/class_638;ILnet/minecraft/class_1297;)Fofficial aLhio;a(Ldak;Lglo;ILbxe;)F
-
getCodec
- Specified by:
getCodecin interfaceNumericProperty- Mappings:
Namespace Name Mixin selector named getCodecLnet/minecraft/client/render/item/property/numeric/NumericProperty;getCodec()Lcom/mojang/serialization/MapCodec;intermediary method_65643Lnet/minecraft/class_1800;method_65643()Lcom/mojang/serialization/MapCodec;official aLhiq;a()Lcom/mojang/serialization/MapCodec;
-