net.minecraft.client.renderer.item

public class CompassItemPropertyFunction

implements ClampedItemPropertyFunction

fyk
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(cjf arg0, fix arg1, bjg 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(cjf arg0, fix arg1, int arg2, biq 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(biq arg0, long arg1, gw 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(biq arg0, fix 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(biq arg0, hd 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(biq arg0, gw arg1)
getAngleFromEntityToPos(Entity arg0, BlockPos arg1)
method_43216(class_1297 arg0, class_2338 arg1)
getAngleTo(Entity entity, BlockPos pos)
m_234948_(C_507_ p_234950_, C_4675_ arg1)
private double
a(biq arg0)
getWrappedVisualRotationY(Entity arg0)
method_43213(class_1297 arg0)
getBodyYaw(Entity entity)
m_234939_(C_507_ arg0)
private int
a(int arg0)
hash(int arg0)
method_32800(int arg0)
scatter(int seed)
m_234934_(int arg0)