net.minecraft.client.renderer.item

public class CompassItemPropertyFunction

implements ClampedItemPropertyFunction

fjn
net.minecraft.client.renderer.item.CompassItemPropertyFunction
net.minecraft.class_7391
net.minecraft.client.item.CompassAnglePredicateProvider
net.minecraft.src.C_213435_

Field summary

Modifier and TypeField
public static final int
a
DEFAULT_ROTATION
field_38798
field_38798
f_234928_
private final CompassItemPropertyFunction$CompassWobble
c
wobble
field_24449
aimedInterpolator
f_234930_
private final CompassItemPropertyFunction$CompassWobble
d
wobbleRandom
field_24450
aimlessInterpolator
f_234931_
public final CompassItemPropertyFunction$CompassTarget
b
compassTarget
field_38799
compassTarget
f_234929_

Constructor summary

ModifierConstructor
public (CompassItemPropertyFunction$CompassTarget compassTarget)

Method summary

Modifier and TypeMethod
public float
unclampedCall(cax arg0, euv arg1, bcc arg2, int arg3)
unclampedCall(ItemStack arg0, ClientLevel arg1, LivingEntity arg2, int arg3)
unclampedCall(class_1799 arg0, class_638 arg1, class_1309 arg2, int arg3)
unclampedCall(ItemStack arg0, ClientWorld arg1, LivingEntity arg2, int arg3)
m_142187_(C_1391_ p_234961_, C_3899_ p_234962_, C_524_ p_234963_, int arg3)
private float
a(cax arg0, euv arg1, int arg2, bbn arg3)
getCompassRotation(ItemStack arg0, ClientLevel arg1, int arg2, Entity arg3)
method_43218(class_1799 arg0, class_638 arg1, int arg2, class_1297 arg3)
getAngle(ItemStack stack, ClientWorld world, int seed, Entity entity)
m_234954_(C_1391_ p_234956_, C_3899_ p_234957_, int p_234958_, C_507_ arg3)
private float
a(int arg0, long arg1)
getRandomlySpinningRotation(int arg0, long arg1)
method_43212(int arg0, long arg1)
getAimlessAngle(int seed, long time)
m_234936_(int p_234938_, long arg1)
private float
a(bbn arg0, long arg1, gt arg2)
getRotationTowardsCompassTarget(Entity arg0, long arg1, BlockPos arg2)
method_43214(class_1297 arg0, long arg1, class_2338 arg2)
getAngleTo(Entity entity, long time, BlockPos pos)
m_234941_(C_507_ p_234943_, long p_234944_, C_4675_ arg2)
private ClientLevel
a(bbn arg0, euv arg1)
tryFetchLevelIfMissing(Entity arg0, ClientLevel arg1)
method_43215(class_1297 arg0, class_638 arg1)
getClientWorld(Entity entity, ClientWorld world)
m_234945_(C_507_ p_234947_, C_3899_ arg1)
private boolean
a(bbn arg0, hb arg1)
isValidCompassTargetPos(Entity arg0, GlobalPos arg1)
method_43217(class_1297 arg0, class_4208 arg1)
canPointTo(Entity entity, GlobalPos pos)
m_234951_(C_507_ p_234953_, C_4697_ arg1)
private double
a(bbn arg0, gt arg1)
getAngleFromEntityToPos(Entity arg0, BlockPos arg1)
method_43216(class_1297 arg0, class_2338 arg1)
method_43216(Entity arg0, BlockPos arg1)
m_234948_(C_507_ p_234950_, C_4675_ arg1)
private double
a(bbn arg0)
getWrappedVisualRotationY(Entity arg0)
method_43213(class_1297 arg0)
method_43213(Entity arg0)
m_234939_(C_507_ arg0)
private int
a(int arg0)
hash(int arg0)
method_32800(int arg0)
scatter(int seed)
m_234934_(int arg0)