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 SummaryFieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<CompassProperty> private final CompassState
- 
Constructor SummaryConstructorsModifierConstructorDescriptionCompassProperty(boolean wobble, CompassState.Target target) privateCompassProperty(CompassState state) 
- 
Method SummaryModifier and TypeMethodDescriptioncom.mojang.serialization.MapCodec<CompassProperty> getCodec()floatgetValue(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- 
getValuepublic float getValue(ItemStack stack, @Nullable @Nullable ClientWorld world, @Nullable @Nullable LivingEntity holder, int seed) - Specified by:
- getValuein interface- NumericProperty
- 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:
- getCodecin interface- NumericProperty
- 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;
 
 
-