net.minecraft.network.protocol.game

public class ServerboundTeleportToEntityPacket

implements Packet<ServerGamePacketListener>

aid
net.minecraft.network.protocol.game.ServerboundTeleportToEntityPacket
net.minecraft.class_2884
net.minecraft.network.packet.c2s.play.SpectatorTeleportC2SPacket
net.minecraft.src.C_5197_
net.minecraft.network.protocol.game.PacketPlayInSpectate

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ServerboundTeleportToEntityPacket>
a
STREAM_CODEC
field_48224
CODEC
f_316686_
private final UUID
b
uuid
field_13129
targetUuid
f_134677_

Constructor summary

ModifierConstructor
public (UUID targetUuid)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(vw arg0)
write(FriendlyByteBuf arg0)
method_56004(class_2540 arg0)
write(PacketByteBuf buf)
m_134689_(C_4983_ arg0)
public PacketType<ServerboundTeleportToEntityPacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(agi arg0)
handle(ServerGamePacketListener arg0)
method_12542(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
m_5797_(C_5145_ arg0)
public Entity
a(aqu arg0)
getEntity(ServerLevel arg0)
method_12541(class_3218 arg0)
getTarget(ServerWorld world)
m_134681_(C_12_ arg0)