net.minecraft.network.protocol.game

public class ServerboundAcceptTeleportationPacket

implements Packet<ServerGamePacketListener>

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

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ServerboundAcceptTeleportationPacket>
a
STREAM_CODEC
field_48174
CODEC
private final int
b
id
field_12758
teleportId

Constructor summary

ModifierConstructor
public (int teleportId)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(vl arg0)
write(FriendlyByteBuf arg0)
method_55960(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<ServerboundAcceptTeleportationPacket>
a()
type()
method_65080()
getPacketType()
public void
a(agg arg0)
handle(ServerGamePacketListener arg0)
method_12085(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
public int
b()
getId()
method_12086()
getTeleportId()