net.minecraft.client.renderer.item

public class CompassItemPropertyFunction

implements ClampedItemPropertyFunction

hap
net.minecraft.client.renderer.item.CompassItemPropertyFunction
net.minecraft.class_7391
net.minecraft.client.item.CompassAnglePredicateProvider

Field summary

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

Constructor summary

ModifierConstructor
public (CompassItemPropertyFunction$CompassTarget compassTarget)

Method summary

Modifier and TypeMethod
public float
unclampedCall(cxp arg0, gfk arg1, bwg 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)
private float
a(cxp arg0, gfk arg1, int arg2, bvk 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)
private float
a(int arg0, long arg1)
getRandomlySpinningRotation(int arg0, long arg1)
method_43212(int arg0, long arg1)
getAimlessAngle(int seed, long time)
private float
a(bvk arg0, long arg1, jh 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)
private ClientLevel
a(bvk arg0, gfk arg1)
tryFetchLevelIfMissing(Entity arg0, ClientLevel arg1)
method_43215(class_1297 arg0, class_638 arg1)
getClientWorld(Entity entity, ClientWorld world)
private boolean
a(bvk arg0, jp arg1)
isValidCompassTargetPos(Entity arg0, GlobalPos arg1)
method_43217(class_1297 arg0, class_4208 arg1)
canPointTo(Entity entity, GlobalPos pos)
private double
a(bvk arg0, jh arg1)
getAngleFromEntityToPos(Entity arg0, BlockPos arg1)
method_43216(class_1297 arg0, class_2338 arg1)
getAngleTo(Entity entity, BlockPos pos)
private double
a(bvk arg0)
getWrappedVisualRotationY(Entity arg0)
method_43213(class_1297 arg0)
getBodyYaw(Entity entity)
private int
a(int arg0)
hash(int arg0)
method_32800(int arg0)
scatter(int seed)