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

public class CompassAngleState

extends NeedleDirectionHelper

hcm
net.minecraft.client.renderer.item.properties.numeric.CompassAngleState
net.minecraft.class_10473
net.minecraft.unmapped.C_ysemcdrh
net.minecraft.client.render.item.property.numeric.CompassState
net.minecraft.unmapped.C_ysemcdrh
net.minecraft.src.C_370509_

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<CompassAngleState>
a
MAP_CODEC
field_55385
f_mrzncqkp
CODEC
CODEC
f_371406_
private final NeedleDirectionHelper$Wobbler
b
wobbler
field_55386
f_jgzzstpy
aimedAngler
f_371297_
private final NeedleDirectionHelper$Wobbler
c
noTargetWobbler
field_55387
f_gwfanvhl
aimlessAngler
f_371587_
private final CompassAngleState$CompassTarget
d
compassTarget
field_55388
f_uzhxzemq
target
f_370867_
private final RandomSource
e
random
field_55389
f_umseryqt
random
random
f_370801_

Constructor summary

ModifierConstructor
public (boolean wobble, CompassAngleState$CompassTarget target)

Method summary

Modifier and TypeMethod
protected float
a(cwq arg0, gga arg1, int arg2, bum arg3)
calculate(ItemStack arg0, ClientLevel arg1, int arg2, Entity arg3)
method_65654(class_1799 arg0, class_638 arg1, int arg2, class_1297 arg3)
m_tmhiadzh(C_sddaxwyk arg0, C_ghdnlrrw arg1, int arg2, C_astfners arg3)
getAngle(ItemStack arg0, ClientWorld arg1, int arg2, Entity arg3)
m_tmhiadzh(ItemStack arg0, ClientWorld arg1, int arg2, Entity arg3)
m_372952_(C_1391_ p_377258_, C_3899_ p_377034_, int p_378312_, C_507_ arg3)
private float
a(int arg0, long arg1)
getRandomlySpinningRotation(int arg0, long arg1)
method_65648(int arg0, long arg1)
m_mvoxweom(int arg0, long arg1)
getAimlessAngle(int seed, long time)
m_372295_(int p_378047_, long arg1)
private float
a(bum arg0, long arg1, ji arg2)
getRotationTowardsCompassTarget(Entity arg0, long arg1, BlockPos arg2)
method_65650(class_1297 arg0, long arg1, class_2338 arg2)
m_tdkzskju(C_astfners arg0, long arg1, C_hynzadkk arg2)
getAngleTo(Entity entity, long time, BlockPos pos)
m_tdkzskju(Entity entity, long arg1, BlockPos pos)
m_373545_(C_507_ p_375437_, long p_376106_, C_4675_ arg2)
private static boolean
a(bum arg0, jq arg1)
isValidCompassTargetPos(Entity arg0, GlobalPos arg1)
method_65652(class_1297 arg0, class_4208 arg1)
m_ohfapggq(C_astfners arg0, C_ovcqqyqp arg1)
canPointTo(Entity entity, GlobalPos pos)
m_ohfapggq(Entity entity, GlobalPos globalPos)
m_373928_(C_507_ p_378772_, C_4697_ p_376149_)
private static double
a(bum arg0, ji arg1)
getAngleFromEntityToPos(Entity arg0, BlockPos arg1)
method_65651(class_1297 arg0, class_2338 arg1)
m_kslvgoik(C_astfners arg0, C_hynzadkk arg1)
getAngleTo(Entity entity, BlockPos pos)
m_kslvgoik(Entity entity, BlockPos pos)
m_373654_(C_507_ p_378685_, C_4675_ p_375957_)
private static float
a(bum arg0)
getWrappedVisualRotationY(Entity arg0)
method_65649(class_1297 arg0)
m_kqvnsurb(C_astfners arg0)
getBodyYaw(Entity entity)
m_kqvnsurb(Entity entity)
m_372159_(C_507_ p_376616_)
private static int
a(int arg0)
hash(int arg0)
method_65647(int arg0)
m_jtqbhfar(int arg0)
scatter(int seed)
m_373338_(int p_376466_)
protected CompassAngleState$CompassTarget
a()
target()
method_65646()
m_xuinyyiz()
getTarget()
getTarget()
m_373458_()