Commits
md_5 authored 8ec77750aa3
6 6 | import java.time.Instant; |
7 7 | import java.util.Collection; |
8 8 | import java.util.Date; |
9 9 | import java.util.Map; |
10 10 | import java.util.UUID; |
11 11 | import java.util.concurrent.CompletableFuture; |
12 12 | import org.bukkit.BanEntry; |
13 13 | import org.bukkit.DyeColor; |
14 14 | import org.bukkit.Effect; |
15 15 | import org.bukkit.GameMode; |
16 + | import org.bukkit.Input; |
16 17 | import org.bukkit.Instrument; |
17 18 | import org.bukkit.Location; |
18 19 | import org.bukkit.Material; |
19 20 | import org.bukkit.NamespacedKey; |
20 21 | import org.bukkit.Note; |
21 22 | import org.bukkit.OfflinePlayer; |
22 23 | import org.bukkit.Particle; |
23 24 | import org.bukkit.Server; |
24 25 | import org.bukkit.ServerLinks; |
25 26 | import org.bukkit.Sound; |
496 497 | * <p> |
497 498 | * The returned list will not be directly linked to the entity's current |
498 499 | * pearls, and no guarantees are made as to its mutability. |
499 500 | * |
500 501 | * @return collection of entities corresponding to current pearls. |
501 502 | */ |
502 503 | |
503 504 | Experimental | .
504 505 | public Collection<EnderPearl> getEnderPearls(); |
505 506 | |
507 + | /** |
508 + | * Gets the current movement input, as last provided by the player. |
509 + | * <br> |
510 + | * <b>Note: that this may not always be consistent with the current movement |
511 + | * of the player.</b> |
512 + | * |
513 + | * @return current input |
514 + | */ |
515 + | |
516 + | Experimental | .
517 + | public Input getCurrentInput(); |
518 + | |
506 519 | /** |
507 520 | * Play a note for the player at a location. <br> |
508 521 | * This <i>will</i> work with cake. |
509 522 | * |
510 523 | * @param loc The location to play the note |
511 524 | * @param instrument The instrument ID. |
512 525 | * @param note The note ID. |
513 526 | * @deprecated Magic value |
514 527 | */ |
515 528 | |