net.minecraft.network.protocol.game

public class ServerboundTeleportToEntityPacket

implements Packet<ServerGamePacketListener>

aif
net.minecraft.network.protocol.game.ServerboundTeleportToEntityPacket
net.minecraft.class_2884
net.minecraft.network.packet.c2s.play.SpectatorTeleportC2SPacket
net.minecraft.network.protocol.game.PacketPlayInSpectate

Field summary

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

Constructor summary

ModifierConstructor
public (UUID targetUuid)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(vl arg0)
write(FriendlyByteBuf arg0)
method_56004(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<ServerboundTeleportToEntityPacket>
a()
type()
method_65080()
getPacketType()
public void
a(agg arg0)
handle(ServerGamePacketListener arg0)
method_12542(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
public Entity
a(ard arg0)
getEntity(ServerLevel arg0)
method_12541(class_3218 arg0)
getTarget(ServerWorld world)