From 31805744d2c015c770fcfbb173609da9aed382f1 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Mon, 22 Nov 2021 15:08:47 +1100 Subject: [PATCH] Remove Player#sendChunkChange Method is specified according to an obsolete internal format and has not been implemented for nearly 10 years. By: md_5 --- .../main/java/org/bukkit/entity/Player.java | 20 ------------------- 1 file changed, 20 deletions(-) diff --git a/paper-api/src/main/java/org/bukkit/entity/Player.java b/paper-api/src/main/java/org/bukkit/entity/Player.java index 929bdedec8..e97e8be2ab 100644 --- a/paper-api/src/main/java/org/bukkit/entity/Player.java +++ b/paper-api/src/main/java/org/bukkit/entity/Player.java @@ -471,26 +471,6 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM */ public void sendEquipmentChange(@NotNull LivingEntity entity, @NotNull EquipmentSlot slot, @NotNull ItemStack item); - /** - * Send a chunk change. This fakes a chunk change packet for a user at a - * certain location. The updated cuboid must be entirely within a single - * chunk. This will not actually change the world in any way. - *

- * At least one of the dimensions of the cuboid must be even. The size of - * the data buffer must be 2.5*sx*sy*sz and formatted in accordance with - * the Packet51 format. - * - * @param loc The location of the cuboid - * @param sx The x size of the cuboid - * @param sy The y size of the cuboid - * @param sz The z size of the cuboid - * @param data The data to be sent - * @return true if the chunk change packet was sent - * @deprecated Magic value - */ - @Deprecated - public boolean sendChunkChange(@NotNull Location loc, int sx, int sy, int sz, @NotNull byte[] data); - /** * Send a sign change. This fakes a sign change packet for a user at * a certain location. This will not actually change the world in any way.