Class NeedleAngleState
java.lang.Object
net.minecraft.client.render.item.property.numeric.NeedleAngleState
- Direct Known Subclasses:
CompassState,TimeProperty
- Mappings:
Namespace Name named net/minecraft/client/render/item/property/numeric/NeedleAngleStateintermediary net/minecraft/class_10480official hzz
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected NeedleAngleState.AnglercreateAngler(float speedMultiplier) static NeedleAngleState.Anglerstatic NeedleAngleState.AnglercreateWobblyAngler(float speedMultiplier) protected abstract floatgetAngle(ItemStack stack, ClientWorld world, int seed, @Nullable HeldItemContext context) floatgetValue(ItemStack stack, @Nullable ClientWorld world, @Nullable HeldItemContext pos, int seed) protected boolean
-
Field Details
-
wobble
private final boolean wobble- Mappings:
Namespace Name Mixin selector named wobbleLnet/minecraft/client/render/item/property/numeric/NeedleAngleState;wobble:Zintermediary field_55401Lnet/minecraft/class_10480;field_55401:Zofficial aLhzz;a:Z
-
-
Constructor Details
-
NeedleAngleState
protected NeedleAngleState(boolean wobble) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/render/item/property/numeric/NeedleAngleState;<init>(Z)Vintermediary <init>Lnet/minecraft/class_10480;<init>(Z)Vofficial <init>Lhzz;<init>(Z)V
-
-
Method Details
-
getValue
public float getValue(ItemStack stack, @Nullable @Nullable ClientWorld world, @Nullable @Nullable HeldItemContext pos, int seed) - Mappings:
Namespace Name Mixin selector named getValueLnet/minecraft/client/render/item/property/numeric/NeedleAngleState;getValue(Lnet/minecraft/item/ItemStack;Lnet/minecraft/client/world/ClientWorld;Lnet/minecraft/util/HeldItemContext;I)Fintermediary method_65644Lnet/minecraft/class_10480;method_65644(Lnet/minecraft/class_1799;Lnet/minecraft/class_638;Lnet/minecraft/class_11566;I)Fofficial aLhzz;a(Ldhp;Lgzn;Lces;I)F
-
getAngle
protected abstract float getAngle(ItemStack stack, ClientWorld world, int seed, @Nullable @Nullable HeldItemContext context) - 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/util/HeldItemContext;)Fintermediary method_65654Lnet/minecraft/class_10480;method_65654(Lnet/minecraft/class_1799;Lnet/minecraft/class_638;ILnet/minecraft/class_11566;)Fofficial aLhzz;a(Ldhp;Lgzn;ILces;)F
-
hasWobble
protected boolean hasWobble()- Mappings:
Namespace Name Mixin selector named hasWobbleLnet/minecraft/client/render/item/property/numeric/NeedleAngleState;hasWobble()Zintermediary method_65661Lnet/minecraft/class_10480;method_65661()Zofficial bLhzz;b()Z
-
createAngler
- Mappings:
Namespace Name Mixin selector named createAnglerLnet/minecraft/client/render/item/property/numeric/NeedleAngleState;createAngler(F)Lnet/minecraft/client/render/item/property/numeric/NeedleAngleState$Angler;intermediary method_65660Lnet/minecraft/class_10480;method_65660(F)Lnet/minecraft/class_10480$class_10481;official aLhzz;a(F)Lhzz$a;
-
createWobblyAngler
- Mappings:
Namespace Name Mixin selector named createWobblyAnglerLnet/minecraft/client/render/item/property/numeric/NeedleAngleState;createWobblyAngler(F)Lnet/minecraft/client/render/item/property/numeric/NeedleAngleState$Angler;intermediary method_65662Lnet/minecraft/class_10480;method_65662(F)Lnet/minecraft/class_10480$class_10481;official bLhzz;b(F)Lhzz$a;
-
createInstantAngler
- Mappings:
Namespace Name Mixin selector named createInstantAnglerLnet/minecraft/client/render/item/property/numeric/NeedleAngleState;createInstantAngler()Lnet/minecraft/client/render/item/property/numeric/NeedleAngleState$Angler;intermediary method_65663Lnet/minecraft/class_10480;method_65663()Lnet/minecraft/class_10480$class_10481;official cLhzz;c()Lhzz$a;
-