net.minecraft.client.renderer.item.properties.numeric

public class CompassAngleState

extends NeedleDirectionHelper

hfr
net.minecraft.client.renderer.item.properties.numeric.CompassAngleState
net.minecraft.class_10473
net.minecraft.client.render.item.property.numeric.CompassState

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<CompassAngleState>
a
MAP_CODEC
field_55385
CODEC
private final NeedleDirectionHelper$Wobbler
b
wobbler
field_55386
aimedAngler
private final NeedleDirectionHelper$Wobbler
c
noTargetWobbler
field_55387
aimlessAngler
private final CompassAngleState$CompassTarget
d
compassTarget
field_55388
target
private final RandomSource
e
random
field_55389
random

Constructor summary

ModifierConstructor
public (boolean wobble, CompassAngleState$CompassTarget target)

Method summary

Modifier and TypeMethod
protected float
a(cys arg0, gjd arg1, int arg2, bwa arg3)
calculate(ItemStack arg0, ClientLevel arg1, int arg2, Entity arg3)
method_65654(class_1799 arg0, class_638 arg1, int arg2, class_1297 arg3)
getAngle(ItemStack arg0, ClientWorld arg1, int arg2, Entity arg3)
private float
a(int arg0, long arg1)
getRandomlySpinningRotation(int arg0, long arg1)
method_65648(int arg0, long arg1)
getAimlessAngle(int seed, long time)
private float
a(bwa arg0, long arg1, iu arg2)
getRotationTowardsCompassTarget(Entity arg0, long arg1, BlockPos arg2)
method_65650(class_1297 arg0, long arg1, class_2338 arg2)
getAngleTo(Entity entity, long time, BlockPos pos)
private static boolean
a(bwa arg0, jd arg1)
isValidCompassTargetPos(Entity arg0, GlobalPos arg1)
method_65652(class_1297 arg0, class_4208 arg1)
canPointTo(Entity entity, GlobalPos pos)
private static double
a(bwa arg0, iu arg1)
getAngleFromEntityToPos(Entity arg0, BlockPos arg1)
method_65651(class_1297 arg0, class_2338 arg1)
getAngleTo(Entity entity, BlockPos pos)
private static float
a(bwa arg0)
getWrappedVisualRotationY(Entity arg0)
method_65649(class_1297 arg0)
getBodyYaw(Entity entity)
private static int
a(int arg0)
hash(int arg0)
method_65647(int arg0)
scatter(int seed)
protected CompassAngleState$CompassTarget
a()
target()
method_65646()
getTarget()