Class CompassProperty
java.lang.Object
net.minecraft.client.render.item.property.numeric.CompassProperty
- All Implemented Interfaces:
NumericProperty
- Mappings:
Namespace Name named net/minecraft/client/render/item/property/numeric/CompassProperty
intermediary net/minecraft/class_10472
official hcl
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec
<CompassProperty> private final CompassState
-
Constructor Summary
ConstructorsModifierConstructorDescriptionCompassProperty
(boolean wobble, CompassState.Target target) private
CompassProperty
(CompassState state) -
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.MapCodec
<CompassProperty> getCodec()
float
getValue
(ItemStack stack, @Nullable ClientWorld world, @Nullable LivingEntity holder, int seed)
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/client/render/item/property/numeric/CompassProperty;CODEC:Lcom/mojang/serialization/MapCodec;
intermediary field_55383
Lnet/minecraft/class_10472;field_55383:Lcom/mojang/serialization/MapCodec;
official a
Lhcl;a:Lcom/mojang/serialization/MapCodec;
-
state
- Mappings:
Namespace Name Mixin selector named state
Lnet/minecraft/client/render/item/property/numeric/CompassProperty;state:Lnet/minecraft/client/render/item/property/numeric/CompassState;
intermediary field_55384
Lnet/minecraft/class_10472;field_55384:Lnet/minecraft/class_10473;
official b
Lhcl;b:Lhcm;
-
-
Constructor Details
-
CompassProperty
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/render/item/property/numeric/CompassProperty;<init>(ZLnet/minecraft/client/render/item/property/numeric/CompassState$Target;)V
intermediary <init>
Lnet/minecraft/class_10472;<init>(ZLnet/minecraft/class_10473$class_10474;)V
official <init>
Lhcl;<init>(ZLhcm$a;)V
-
CompassProperty
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/render/item/property/numeric/CompassProperty;<init>(Lnet/minecraft/client/render/item/property/numeric/CompassState;)V
intermediary <init>
Lnet/minecraft/class_10472;<init>(Lnet/minecraft/class_10473;)V
official <init>
Lhcl;<init>(Lhcm;)V
-
-
Method Details
-
getValue
public float getValue(ItemStack stack, @Nullable @Nullable ClientWorld world, @Nullable @Nullable LivingEntity holder, int seed) - Specified by:
getValue
in interfaceNumericProperty
- Mappings:
Namespace Name Mixin selector named getValue
Lnet/minecraft/client/render/item/property/numeric/NumericProperty;getValue(Lnet/minecraft/item/ItemStack;Lnet/minecraft/client/world/ClientWorld;Lnet/minecraft/entity/LivingEntity;I)F
intermediary method_65644
Lnet/minecraft/class_1800;method_65644(Lnet/minecraft/class_1799;Lnet/minecraft/class_638;Lnet/minecraft/class_1309;I)F
official a
Lhcu;a(Lcwq;Lgga;Lbvi;I)F
-
getCodec
- Specified by:
getCodec
in interfaceNumericProperty
- Mappings:
Namespace Name Mixin selector named getCodec
Lnet/minecraft/client/render/item/property/numeric/NumericProperty;getCodec()Lcom/mojang/serialization/MapCodec;
intermediary method_65643
Lnet/minecraft/class_1800;method_65643()Lcom/mojang/serialization/MapCodec;
official a
Lhcu;a()Lcom/mojang/serialization/MapCodec;
-