Package net.minecraft.client.item
Class CompassAnglePredicateProvider
java.lang.Object
net.minecraft.client.item.CompassAnglePredicateProvider
- All Implemented Interfaces:
ClampedModelPredicateProvider
,ModelPredicateProvider
@Environment(CLIENT)
public class CompassAnglePredicateProvider
extends Object
implements ClampedModelPredicateProvider
- Mappings:
Namespace Name named net/minecraft/client/item/CompassAnglePredicateProvider
intermediary net/minecraft/class_7391
official goh
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static class
static interface
-
Field Summary
Modifier and TypeFieldDescriptionprivate final CompassAnglePredicateProvider.AngleInterpolator
private final CompassAnglePredicateProvider.AngleInterpolator
static final int
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionprivate boolean
canPointTo
(Entity entity, @Nullable GlobalPos pos) private float
getAimlessAngle
(int seed, long time) private float
getAngle
(ItemStack stack, ClientWorld world, int seed, Entity entity) private float
getAngleTo
(Entity entity, long time, BlockPos pos) private double
getAngleTo
(Entity entity, BlockPos pos) private double
getBodyYaw
(Entity entity) private @Nullable ClientWorld
getClientWorld
(Entity entity, @Nullable ClientWorld world) private int
scatter
(int seed) Scatters a seed by integer overflow in multiplication onto the whole int domain.float
unclampedCall
(ItemStack stack, @Nullable ClientWorld world, @Nullable LivingEntity entity, int seed) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.item.ClampedModelPredicateProvider
call
-
Field Details
-
field_38798
public static final int field_38798- See Also:
- Mappings:
Namespace Name Mixin selector named field_38798
Lnet/minecraft/client/item/CompassAnglePredicateProvider;field_38798:I
intermediary field_38798
Lnet/minecraft/class_7391;field_38798:I
official a
Lgoh;a:I
-
aimedInterpolator
- Mappings:
Namespace Name Mixin selector named aimedInterpolator
Lnet/minecraft/client/item/CompassAnglePredicateProvider;aimedInterpolator:Lnet/minecraft/client/item/CompassAnglePredicateProvider$AngleInterpolator;
intermediary field_24449
Lnet/minecraft/class_7391;field_24449:Lnet/minecraft/class_7391$class_5171;
official c
Lgoh;c:Lgoh$b;
-
aimlessInterpolator
- Mappings:
Namespace Name Mixin selector named aimlessInterpolator
Lnet/minecraft/client/item/CompassAnglePredicateProvider;aimlessInterpolator:Lnet/minecraft/client/item/CompassAnglePredicateProvider$AngleInterpolator;
intermediary field_24450
Lnet/minecraft/class_7391;field_24450:Lnet/minecraft/class_7391$class_5171;
official d
Lgoh;d:Lgoh$b;
-
compassTarget
- Mappings:
Namespace Name Mixin selector named compassTarget
Lnet/minecraft/client/item/CompassAnglePredicateProvider;compassTarget:Lnet/minecraft/client/item/CompassAnglePredicateProvider$CompassTarget;
intermediary field_38799
Lnet/minecraft/class_7391;field_38799:Lnet/minecraft/class_7391$class_7392;
official b
Lgoh;b:Lgoh$a;
-
-
Constructor Details
-
CompassAnglePredicateProvider
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/item/CompassAnglePredicateProvider;<init>(Lnet/minecraft/client/item/CompassAnglePredicateProvider$CompassTarget;)V
intermediary <init>
Lnet/minecraft/class_7391;<init>(Lnet/minecraft/class_7391$class_7392;)V
official <init>
Lgoh;<init>(Lgoh$a;)V
-
-
Method Details
-
unclampedCall
public float unclampedCall(ItemStack stack, @Nullable @Nullable ClientWorld world, @Nullable @Nullable LivingEntity entity, int seed) - Specified by:
unclampedCall
in interfaceClampedModelPredicateProvider
- Mappings:
Namespace Name Mixin selector named unclampedCall
Lnet/minecraft/client/item/ClampedModelPredicateProvider;unclampedCall(Lnet/minecraft/item/ItemStack;Lnet/minecraft/client/world/ClientWorld;Lnet/minecraft/entity/LivingEntity;I)F
intermediary unclampedCall
Lnet/minecraft/class_6395;unclampedCall(Lnet/minecraft/class_1799;Lnet/minecraft/class_638;Lnet/minecraft/class_1309;I)F
official unclampedCall
Lgog;unclampedCall(Lcur;Lfxx;Lbtr;I)F
-
getAngle
- Mappings:
Namespace Name Mixin selector named getAngle
Lnet/minecraft/client/item/CompassAnglePredicateProvider;getAngle(Lnet/minecraft/item/ItemStack;Lnet/minecraft/client/world/ClientWorld;ILnet/minecraft/entity/Entity;)F
intermediary method_43218
Lnet/minecraft/class_7391;method_43218(Lnet/minecraft/class_1799;Lnet/minecraft/class_638;ILnet/minecraft/class_1297;)F
official a
Lgoh;a(Lcur;Lfxx;ILbsw;)F
-
getAimlessAngle
private float getAimlessAngle(int seed, long time) - Mappings:
Namespace Name Mixin selector named getAimlessAngle
Lnet/minecraft/client/item/CompassAnglePredicateProvider;getAimlessAngle(IJ)F
intermediary method_43212
Lnet/minecraft/class_7391;method_43212(IJ)F
official a
Lgoh;a(IJ)F
-
getAngleTo
- Mappings:
Namespace Name Mixin selector named getAngleTo
Lnet/minecraft/client/item/CompassAnglePredicateProvider;getAngleTo(Lnet/minecraft/entity/Entity;JLnet/minecraft/util/math/BlockPos;)F
intermediary method_43214
Lnet/minecraft/class_7391;method_43214(Lnet/minecraft/class_1297;JLnet/minecraft/class_2338;)F
official a
Lgoh;a(Lbsw;JLiz;)F
-
getClientWorld
@Nullable private @Nullable ClientWorld getClientWorld(Entity entity, @Nullable @Nullable ClientWorld world) - Mappings:
Namespace Name Mixin selector named getClientWorld
Lnet/minecraft/client/item/CompassAnglePredicateProvider;getClientWorld(Lnet/minecraft/entity/Entity;Lnet/minecraft/client/world/ClientWorld;)Lnet/minecraft/client/world/ClientWorld;
intermediary method_43215
Lnet/minecraft/class_7391;method_43215(Lnet/minecraft/class_1297;Lnet/minecraft/class_638;)Lnet/minecraft/class_638;
official a
Lgoh;a(Lbsw;Lfxx;)Lfxx;
-
canPointTo
- Mappings:
Namespace Name Mixin selector named canPointTo
Lnet/minecraft/client/item/CompassAnglePredicateProvider;canPointTo(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/GlobalPos;)Z
intermediary method_43217
Lnet/minecraft/class_7391;method_43217(Lnet/minecraft/class_1297;Lnet/minecraft/class_4208;)Z
official a
Lgoh;a(Lbsw;Ljh;)Z
-
getAngleTo
- Mappings:
Namespace Name Mixin selector named getAngleTo
Lnet/minecraft/client/item/CompassAnglePredicateProvider;getAngleTo(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/BlockPos;)D
intermediary method_43216
Lnet/minecraft/class_7391;method_43216(Lnet/minecraft/class_1297;Lnet/minecraft/class_2338;)D
official a
Lgoh;a(Lbsw;Liz;)D
-
getBodyYaw
- Mappings:
Namespace Name Mixin selector named getBodyYaw
Lnet/minecraft/client/item/CompassAnglePredicateProvider;getBodyYaw(Lnet/minecraft/entity/Entity;)D
intermediary method_43213
Lnet/minecraft/class_7391;method_43213(Lnet/minecraft/class_1297;)D
official a
Lgoh;a(Lbsw;)D
-
scatter
private int scatter(int seed) Scatters a seed by integer overflow in multiplication onto the whole int domain.- Mappings:
Namespace Name Mixin selector named scatter
Lnet/minecraft/client/item/CompassAnglePredicateProvider;scatter(I)I
intermediary method_32800
Lnet/minecraft/class_7391;method_32800(I)I
official a
Lgoh;a(I)I
-