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 hcp
-
Nested Class Summary
Nested 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 booleanprivate final Random -
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 aLhcp;a:Lcom/mojang/serialization/MapCodec;
-
naturalOnly
private final boolean naturalOnly- Mappings:
Namespace Name Mixin selector named naturalOnlyLnet/minecraft/client/render/item/property/numeric/TimeProperty;naturalOnly:Zintermediary field_55410Lnet/minecraft/class_10483;field_55410:Zofficial bLhcp;b:Z
-
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 cLhcp;c:Lazg;
-
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 dLhcp;d:Lhcm$a;
-
-
Constructor Details
-
TimeProperty
public TimeProperty(boolean wobble, boolean naturalOnly) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/render/item/property/numeric/TimeProperty;<init>(ZZ)Vintermediary <init>Lnet/minecraft/class_10483;<init>(ZZ)Vofficial <init>Lhcp;<init>(ZZ)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 aLhcm;a(Lcwn;Lgfw;ILbuj;)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 aLhco;a()Lcom/mojang/serialization/MapCodec;
-