Skip to content

Commit d361981

Browse files
Doc94zlataovce
andauthored
feat(paper): remove mention of deprecated teleport flag (#689)
* feat(paper): remove mention of deprecated teleport flag Took 6 minutes * Add again but mention not need to use Took 7 minutes * Better explanation Co-authored-by: Matouš Kučera <mk@kcra.me> --------- Co-authored-by: Matouš Kučera <mk@kcra.me>
1 parent 1d9e1fc commit d361981

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/content/docs/paper/dev/api/entity-api/entity-teleport.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: Teleportation
33
description: The entity teleportation API and how to use it.
44
slug: paper/dev/entity-teleport
5+
version: 1.21.10
56
---
67

78
Entities can be instantaneously teleported to specific positions, synchronously and asynchronously with the
@@ -76,6 +77,12 @@ player.teleport(
7677

7778
### Retaining passengers
7879

80+
:::caution[Warning]
81+
82+
Since 1.21.10, this flag does not do anything, as it's been made the default behavior when teleporting entities.
83+
84+
:::
85+
7986
Teleport an entity with the [`RETAIN_PASSENGERS`](jd:paper:io.papermc.paper.entity.TeleportFlag$EntityState#RETAIN_PASSENGERS) flag,
8087
allowing its passengers to be transferred with the entity.
8188

0 commit comments

Comments
 (0)