@@ -7,7 +7,7 @@ Co-authored-by: zml <zml@stellardrift.ca>
7
7
Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
8
8
9
9
diff --git a/build.gradle.kts b/build.gradle.kts
10
- index f0423df165bf7d0f3fad21d26b64f31ba3e6aeee..7b8196db1fd1e283dc9ef71e3fe5137cc5920ba9 100644
10
+ index cedf145d5024e1ed9ae0d815e7ad0afb87c9a8b0..237a0beff61f2384b9e9e18a9d7119fd1916e1bd 100644
11
11
--- a/build.gradle.kts
12
12
+++ b/build.gradle.kts
13
13
@@ -8,17 +8,37 @@ java {
@@ -475,7 +475,7 @@ index 0000000000000000000000000000000000000000..bff9a6295db367c6b89d69fb55459a40
475
475
+ }
476
476
+ }
477
477
diff --git a/src/main/java/org/bukkit/Bukkit.java b/src/main/java/org/bukkit/Bukkit.java
478
- index 9db999c8c9645fa0161bc3a85fbfdd09283989fd..b23b6bf1af91c9460fdb231000df6191ec673544 100644
478
+ index 5029d98816c137fcc7068bd5596d6a38d96ee877..ba57a093a2df3c65036377e3093eedabeda7c6f5 100644
479
479
--- a/src/main/java/org/bukkit/Bukkit.java
480
480
+++ b/src/main/java/org/bukkit/Bukkit.java
481
481
@@ -357,7 +357,9 @@ public final class Bukkit {
@@ -810,7 +810,7 @@ index 803fa0019869127ee8c7e4fb1777a59c43e66f8a..c65f0d6569c130b4920a9e71ad24af64
810
810
+ // Paper end
811
811
}
812
812
diff --git a/src/main/java/org/bukkit/Server.java b/src/main/java/org/bukkit/Server.java
813
- index 485848dfa12bda15adda0d8f3a83f779a9ec05fe..01f4329d23a5e33f321df394107eaf1b918f8859 100644
813
+ index 6d6810cc51732830ef139f7099fbc5a45b124e8e..5af7da1d3d62cada69240e2d22db2a32278b0074 100644
814
814
--- a/src/main/java/org/bukkit/Server.java
815
815
+++ b/src/main/java/org/bukkit/Server.java
816
816
@@ -58,13 +58,13 @@ import org.jetbrains.annotations.Nullable;
@@ -1025,7 +1025,7 @@ index 485848dfa12bda15adda0d8f3a83f779a9ec05fe..01f4329d23a5e33f321df394107eaf1b
1025
1025
String getShutdownMessage();
1026
1026
1027
1027
/**
1028
- @@ -1635 ,7 +1744 ,9 @@ public interface Server extends PluginMessageRecipient {
1028
+ @@ -1650 ,7 +1759 ,9 @@ public interface Server extends PluginMessageRecipient {
1029
1029
* Sends the component to the player
1030
1030
*
1031
1031
* @param component the components to send
@@ -1035,7 +1035,7 @@ index 485848dfa12bda15adda0d8f3a83f779a9ec05fe..01f4329d23a5e33f321df394107eaf1b
1035
1035
public void broadcast(@NotNull net.md_5.bungee.api.chat.BaseComponent component) {
1036
1036
throw new UnsupportedOperationException("Not supported yet.");
1037
1037
}
1038
- @@ -1644 ,7 +1755 ,9 @@ public interface Server extends PluginMessageRecipient {
1038
+ @@ -1659 ,7 +1770 ,9 @@ public interface Server extends PluginMessageRecipient {
1039
1039
* Sends an array of components as a single message to the player
1040
1040
*
1041
1041
* @param components the components to send
@@ -1139,10 +1139,10 @@ index efb97712cc9dc7c1e12a59f5b94e4f2ad7c6b7d8..3024468af4c073324e536c1cb26beffb
1139
1139
return warning == null || warning.value();
1140
1140
}
1141
1141
diff --git a/src/main/java/org/bukkit/World.java b/src/main/java/org/bukkit/World.java
1142
- index 9fa83c728cf686ef0b9913a86873a3d58492c16b..cc491837d149da716f197577f51a25ec31c03344 100644
1142
+ index 7e0c6c57976a00f989fe4e5dce83cd986b460e72..1d3bb553c944f5920e81e295f8cd5b7194d37aac 100644
1143
1143
--- a/src/main/java/org/bukkit/World.java
1144
1144
+++ b/src/main/java/org/bukkit/World.java
1145
- @@ -40 ,7 +40 ,7 @@ import org.jetbrains.annotations.Nullable;
1145
+ @@ -43 ,7 +43 ,7 @@ import org.jetbrains.annotations.Nullable;
1146
1146
/**
1147
1147
* Represents a world, which may contain entities, chunks and blocks
1148
1148
*/
@@ -1151,7 +1151,7 @@ index 9fa83c728cf686ef0b9913a86873a3d58492c16b..cc491837d149da716f197577f51a25ec
1151
1151
1152
1152
/**
1153
1153
* Gets the {@link Block} at the given coordinates
1154
- @@ -635 ,6 +635 ,14 @@ public interface World extends RegionAccessor, WorldInfo, PluginMessageRecipient
1154
+ @@ -638 ,6 +638 ,14 @@ public interface World extends RegionAccessor, WorldInfo, PluginMessageRecipient
1155
1155
@NotNull
1156
1156
public List<Player> getPlayers();
1157
1157
@@ -1644,7 +1644,7 @@ index 922d33ff4fa9d901d3c5c0a9f8399ad8aef62c37..cd287978c34873c7122794e4f3e76291
1644
1644
+ // Paper end
1645
1645
}
1646
1646
diff --git a/src/main/java/org/bukkit/entity/Player.java b/src/main/java/org/bukkit/entity/Player.java
1647
- index e0f9ba3da29261823d48042b74a33acb9f48d597..fcab7ff11d06ae712d56d1eead5dca33bde29296 100644
1647
+ index 6cac14eabdbdf7fd8c322d5fb4dfbfbb266ae940..c580ec19cd2b55a4aeca49d9cd984ce7c2848cef 100644
1648
1648
--- a/src/main/java/org/bukkit/entity/Player.java
1649
1649
+++ b/src/main/java/org/bukkit/entity/Player.java
1650
1650
@@ -37,7 +37,28 @@ import org.jetbrains.annotations.Nullable;
@@ -1822,7 +1822,7 @@ index e0f9ba3da29261823d48042b74a33acb9f48d597..fcab7ff11d06ae712d56d1eead5dca33
1822
1822
/**
1823
1823
* Says a message (or runs a command).
1824
1824
*
1825
- @@ -500 ,6 +586 ,90 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
1825
+ @@ -507 ,6 +593 ,90 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
1826
1826
*/
1827
1827
public void sendEquipmentChange(@NotNull LivingEntity entity, @NotNull EquipmentSlot slot, @NotNull ItemStack item);
1828
1828
@@ -1913,7 +1913,7 @@ index e0f9ba3da29261823d48042b74a33acb9f48d597..fcab7ff11d06ae712d56d1eead5dca33
1913
1913
/**
1914
1914
* Send a sign change. This fakes a sign change packet for a user at
1915
1915
* a certain location. This will not actually change the world in any way.
1916
- @@ -514 ,7 +684 ,9 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
1916
+ @@ -521 ,7 +691 ,9 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
1917
1917
* @param lines the new text on the sign or null to clear it
1918
1918
* @throws IllegalArgumentException if location is null
1919
1919
* @throws IllegalArgumentException if lines is non-null and has a length less than 4
@@ -1923,7 +1923,7 @@ index e0f9ba3da29261823d48042b74a33acb9f48d597..fcab7ff11d06ae712d56d1eead5dca33
1923
1923
public void sendSignChange(@NotNull Location loc, @Nullable String[] lines) throws IllegalArgumentException;
1924
1924
1925
1925
/**
1926
- @@ -533 ,7 +705 ,9 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
1926
+ @@ -540 ,7 +712 ,9 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
1927
1927
* @throws IllegalArgumentException if location is null
1928
1928
* @throws IllegalArgumentException if dyeColor is null
1929
1929
* @throws IllegalArgumentException if lines is non-null and has a length less than 4
@@ -1933,7 +1933,7 @@ index e0f9ba3da29261823d48042b74a33acb9f48d597..fcab7ff11d06ae712d56d1eead5dca33
1933
1933
public void sendSignChange(@NotNull Location loc, @Nullable String[] lines, @NotNull DyeColor dyeColor) throws IllegalArgumentException;
1934
1934
1935
1935
/**
1936
- @@ -553 ,7 +727 ,9 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
1936
+ @@ -560 ,7 +734 ,9 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
1937
1937
* @throws IllegalArgumentException if location is null
1938
1938
* @throws IllegalArgumentException if dyeColor is null
1939
1939
* @throws IllegalArgumentException if lines is non-null and has a length less than 4
@@ -1943,15 +1943,15 @@ index e0f9ba3da29261823d48042b74a33acb9f48d597..fcab7ff11d06ae712d56d1eead5dca33
1943
1943
public void sendSignChange(@NotNull Location loc, @Nullable String[] lines, @NotNull DyeColor dyeColor, boolean hasGlowingText) throws IllegalArgumentException;
1944
1944
1945
1945
/**
1946
- @@ -1028 ,6 +1204 ,7 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
1946
+ @@ -1035 ,6 +1211 ,7 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
1947
1947
* pack correctly.
1948
1948
* </ul>
1949
1949
*
1950
1950
+ * @deprecated in favour of {@link #setResourcePack(String, byte[], Component)}
1951
1951
* @param url The URL from which the client will download the resource
1952
1952
* pack. The string must contain only US-ASCII characters and should
1953
1953
* be encoded as per RFC 1738.
1954
- @@ -1041 ,8 +1218 ,57 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
1954
+ @@ -1048 ,8 +1225 ,57 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
1955
1955
* @throws IllegalArgumentException Thrown if the hash is not 20 bytes
1956
1956
* long.
1957
1957
*/
@@ -2009,15 +2009,15 @@ index e0f9ba3da29261823d48042b74a33acb9f48d597..fcab7ff11d06ae712d56d1eead5dca33
2009
2009
/**
2010
2010
* Request that the player's client download and switch resource packs.
2011
2011
* <p>
2012
- @@ -1117 ,6 +1343 ,7 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
2012
+ @@ -1124 ,6 +1350 ,7 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
2013
2013
* pack correctly.
2014
2014
* </ul>
2015
2015
*
2016
2016
+ * @deprecated in favour of {@link #setResourcePack(String, byte[], Component, boolean)}
2017
2017
* @param url The URL from which the client will download the resource
2018
2018
* pack. The string must contain only US-ASCII characters and should
2019
2019
* be encoded as per RFC 1738.
2020
- @@ -1132 ,8 +1359 ,57 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
2020
+ @@ -1139 ,8 +1366 ,57 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
2021
2021
* @throws IllegalArgumentException Thrown if the hash is not 20 bytes
2022
2022
* long.
2023
2023
*/
@@ -2075,7 +2075,7 @@ index e0f9ba3da29261823d48042b74a33acb9f48d597..fcab7ff11d06ae712d56d1eead5dca33
2075
2075
/**
2076
2076
* Gets the Scoreboard displayed to this player
2077
2077
*
2078
- @@ -1249 ,7 +1525 ,7 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
2078
+ @@ -1256 ,7 +1532 ,7 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
2079
2079
*
2080
2080
* @param title Title text
2081
2081
* @param subtitle Subtitle text
@@ -2084,7 +2084,7 @@ index e0f9ba3da29261823d48042b74a33acb9f48d597..fcab7ff11d06ae712d56d1eead5dca33
2084
2084
*/
2085
2085
@Deprecated
2086
2086
public void sendTitle(@Nullable String title, @Nullable String subtitle);
2087
- @@ -1268 ,7 +1544 ,9 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
2087
+ @@ -1275 ,7 +1551 ,9 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
2088
2088
* @param fadeIn time in ticks for titles to fade in. Defaults to 10.
2089
2089
* @param stay time in ticks for titles to stay. Defaults to 70.
2090
2090
* @param fadeOut time in ticks for titles to fade out. Defaults to 20.
@@ -2094,7 +2094,7 @@ index e0f9ba3da29261823d48042b74a33acb9f48d597..fcab7ff11d06ae712d56d1eead5dca33
2094
2094
public void sendTitle(@Nullable String title, @Nullable String subtitle, int fadeIn, int stay, int fadeOut);
2095
2095
2096
2096
/**
2097
- @@ -1495 ,6 +1773 ,14 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
2097
+ @@ -1502 ,6 +1780 ,14 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
2098
2098
*/
2099
2099
public int getClientViewDistance();
2100
2100
@@ -2109,7 +2109,7 @@ index e0f9ba3da29261823d48042b74a33acb9f48d597..fcab7ff11d06ae712d56d1eead5dca33
2109
2109
/**
2110
2110
* Gets the player's estimated ping in milliseconds.
2111
2111
*
2112
- @@ -1520 ,8 +1806 ,10 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
2112
+ @@ -1527 ,8 +1813 ,10 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
2113
2113
* they wish.
2114
2114
*
2115
2115
* @return the player's locale
@@ -2120,7 +2120,7 @@ index e0f9ba3da29261823d48042b74a33acb9f48d597..fcab7ff11d06ae712d56d1eead5dca33
2120
2120
public String getLocale();
2121
2121
2122
2122
/**
2123
- @@ -1563 ,6 +1851 ,14 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
2123
+ @@ -1570 ,6 +1858 ,14 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
2124
2124
*/
2125
2125
public boolean isAllowingServerListings();
2126
2126
@@ -2135,7 +2135,7 @@ index e0f9ba3da29261823d48042b74a33acb9f48d597..fcab7ff11d06ae712d56d1eead5dca33
2135
2135
// Spigot start
2136
2136
public class Spigot extends Entity.Spigot {
2137
2137
2138
- @@ -1617 ,11 +1913 ,13 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
2138
+ @@ -1624 ,11 +1920 ,13 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
2139
2139
throw new UnsupportedOperationException("Not supported yet.");
2140
2140
}
2141
2141
@@ -2149,7 +2149,7 @@ index e0f9ba3da29261823d48042b74a33acb9f48d597..fcab7ff11d06ae712d56d1eead5dca33
2149
2149
@Override
2150
2150
public void sendMessage(@NotNull net.md_5.bungee.api.chat.BaseComponent... components) {
2151
2151
throw new UnsupportedOperationException("Not supported yet.");
2152
- @@ -1632 ,7 +1930 ,9 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
2152
+ @@ -1639 ,7 +1937 ,9 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
2153
2153
*
2154
2154
* @param position the screen position
2155
2155
* @param component the components to send
@@ -2159,7 +2159,7 @@ index e0f9ba3da29261823d48042b74a33acb9f48d597..fcab7ff11d06ae712d56d1eead5dca33
2159
2159
public void sendMessage(@NotNull net.md_5.bungee.api.ChatMessageType position, @NotNull net.md_5.bungee.api.chat.BaseComponent component) {
2160
2160
throw new UnsupportedOperationException("Not supported yet.");
2161
2161
}
2162
- @@ -1642 ,7 +1942 ,9 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
2162
+ @@ -1649 ,7 +1949 ,9 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
2163
2163
*
2164
2164
* @param position the screen position
2165
2165
* @param components the components to send
@@ -2169,7 +2169,7 @@ index e0f9ba3da29261823d48042b74a33acb9f48d597..fcab7ff11d06ae712d56d1eead5dca33
2169
2169
public void sendMessage(@NotNull net.md_5.bungee.api.ChatMessageType position, @NotNull net.md_5.bungee.api.chat.BaseComponent... components) {
2170
2170
throw new UnsupportedOperationException("Not supported yet.");
2171
2171
}
2172
- @@ -1653 ,7 +1955 ,9 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
2172
+ @@ -1660 ,7 +1962 ,9 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
2173
2173
* @param position the screen position
2174
2174
* @param sender the sender of the message
2175
2175
* @param component the components to send
@@ -2179,7 +2179,7 @@ index e0f9ba3da29261823d48042b74a33acb9f48d597..fcab7ff11d06ae712d56d1eead5dca33
2179
2179
public void sendMessage(@NotNull net.md_5.bungee.api.ChatMessageType position, @Nullable UUID sender, @NotNull net.md_5.bungee.api.chat.BaseComponent component) {
2180
2180
throw new UnsupportedOperationException("Not supported yet.");
2181
2181
}
2182
- @@ -1664 ,7 +1968 ,9 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
2182
+ @@ -1671 ,7 +1975 ,9 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
2183
2183
* @param position the screen position
2184
2184
* @param sender the sender of the message
2185
2185
* @param components the components to send
0 commit comments