net.minecraft.network.protocol.game

public record ServerboundMoveVehiclePacket

implements Packet<ServerGamePacketListener>

ahg
net.minecraft.network.protocol.game.ServerboundMoveVehiclePacket
net.minecraft.class_2833
net.minecraft.network.packet.c2s.play.VehicleMoveC2SPacket
net.minecraft.network.protocol.game.PacketPlayInVehicleMove

Field summary

Modifier and TypeField
private final Vec3
b
position
comp_3350
position
private final float
c
yRot
comp_3351
yaw
private final float
d
xRot
comp_3352
pitch
private final boolean
e
onGround
comp_3353
onGround
public static final StreamCodec<FriendlyByteBuf, ServerboundMoveVehiclePacket>
a
STREAM_CODEC
field_48202
CODEC

Constructor summary

ModifierConstructor
public (Vec3 arg0, float arg1, float arg2, boolean arg3)

Method summary

Modifier and TypeMethod
public static ServerboundMoveVehiclePacket
a(bum arg0)
fromEntity(Entity arg0)
method_65307(class_1297 arg0)
fromVehicle(Entity vehicle)
public PacketType<ServerboundMoveVehiclePacket>
a()
type()
method_65080()
getPacketType()
public void
a(agg arg0)
handle(ServerGamePacketListener arg0)
method_12278(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
public Vec3
b()
position()
comp_3350()
position()
public float
e()
yRot()
comp_3351()
yaw()
public float
f()
xRot()
comp_3352()
pitch()
public boolean
g()
onGround()
comp_3353()
onGround()