net.minecraft.network.protocol.game

public class VecDeltaCodec

aaz
net.minecraft.network.protocol.game.VecDeltaCodec
net.minecraft.class_7422
net.minecraft.entity.TrackedPosition
net.minecraft.src.C_213538_
net.minecraft.network.protocol.game.VecDeltaCodec

Field summary

Modifier and TypeField
private static final double
a
TRUNCATION_STEPS
field_39015
COORDINATE_SCALE
f_238014_
private Vec3
b
base
field_39016
pos
f_238015_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
static long
a(double arg0)
encode(double arg0)
method_43487(double arg0)
pack(double value)
m_238017_(double p_238018_)
static double
a(long arg0)
decode(long arg0)
method_43488(long arg0)
unpack(long value)
m_238019_(long p_238020_)
public Vec3
a(long arg0, long arg1, long arg2)
decode(long arg0, long arg1, long arg2)
method_43489(long arg0, long arg1, long arg2)
withDelta(long x, long y, long z)
m_238021_(long p_238023_, long arg1, long arg2)
public long
a(eei arg0)
encodeX(Vec3 arg0)
method_43490(class_243 arg0)
getDeltaX(Vec3d pos)
m_238025_(C_3046_ arg0)
public long
b(eei arg0)
encodeY(Vec3 arg0)
method_43491(class_243 arg0)
getDeltaY(Vec3d pos)
m_238027_(C_3046_ arg0)
public long
c(eei arg0)
encodeZ(Vec3 arg0)
method_43492(class_243 arg0)
getDeltaZ(Vec3d pos)
m_238029_(C_3046_ arg0)
public Vec3
d(eei arg0)
delta(Vec3 arg0)
method_43493(class_243 arg0)
subtract(Vec3d pos)
m_238031_(C_3046_ arg0)
public void
e(eei arg0)
setBase(Vec3 arg0)
method_43494(class_243 arg0)
setPos(Vec3d pos)
m_238033_(C_3046_ arg0)