net.minecraft.network.packet.c2s.play

public record TeleportConfirmC2SPacket

implements Packet<ServerPlayPacketListener>

net.minecraft.network.protocol.game.ServerboundAcceptTeleportationPacket
net.minecraft.class_2793
net.minecraft.network.packet.c2s.play.TeleportConfirmC2SPacket

Field summary

Modifier and TypeField
private final int
id
comp_1_1750
teleportId
private final double
x
comp_1_1751
x
private final double
y
comp_1_1753
y
private final double
z
comp_1_1755
z
private final float
yRot
comp_1_1754
yRot
private final float
xRot
comp_1_1752
xRot
public static final PacketCodec<PacketByteBuf, TeleportConfirmC2SPacket>
STREAM_CODEC
field_48174
CODEC

Constructor summary

ModifierConstructor
public (int teleportId, double x, double y, double z, float yRot, float xRot)

Method summary

Modifier and TypeMethod
public PacketType<TeleportConfirmC2SPacket>
type()
method_65080()
getPacketType()
public void
handle(ServerGamePacketListener listener)
method_12085(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
public int
id()
comp_1_1750()
teleportId()
public double
x()
comp_1_1751()
x()
public double
y()
comp_1_1753()
y()
public double
z()
comp_1_1755()
z()
public float
yRot()
comp_1_1754()
yRot()
public float
xRot()
comp_1_1752()
xRot()
public void
handle(PacketListener listener)
method_65081(class_2547 arg0)
apply(PacketListener arg0)