mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-24 00:33:49 -07:00
@@ -57,8 +57,8 @@ public class CauldronLevelChangeEvent extends BlockEvent implements Cancellable
|
||||
* Gets the old level of the cauldron.
|
||||
*
|
||||
* @return old level
|
||||
* @deprecated not all cauldron contents are Levelled
|
||||
* @see #getBlock()
|
||||
* @deprecated not all cauldron contents are Levelled
|
||||
*/
|
||||
@Deprecated
|
||||
public int getOldLevel() {
|
||||
@@ -70,8 +70,8 @@ public class CauldronLevelChangeEvent extends BlockEvent implements Cancellable
|
||||
* Gets the new level of the cauldron.
|
||||
*
|
||||
* @return new level
|
||||
* @deprecated not all cauldron contents are Levelled
|
||||
* @see #getNewState()
|
||||
* @deprecated not all cauldron contents are Levelled
|
||||
*/
|
||||
@Deprecated
|
||||
public int getNewLevel() {
|
||||
@@ -83,8 +83,8 @@ public class CauldronLevelChangeEvent extends BlockEvent implements Cancellable
|
||||
* Sets the new level of the cauldron.
|
||||
*
|
||||
* @param newLevel new level
|
||||
* @deprecated not all cauldron contents are Levelled
|
||||
* @see #getNewState()
|
||||
* @deprecated not all cauldron contents are Levelled
|
||||
*/
|
||||
@Deprecated
|
||||
public void setNewLevel(int newLevel) {
|
||||
|
@@ -165,8 +165,8 @@ public class InventoryClickEvent extends InventoryInteractEvent {
|
||||
/**
|
||||
* Gets the inventory corresponding to the clicked slot.
|
||||
*
|
||||
* @see InventoryView#getInventory(int)
|
||||
* @return inventory, or null if clicked outside
|
||||
* @see InventoryView#getInventory(int)
|
||||
*/
|
||||
@Nullable
|
||||
public Inventory getClickedInventory() {
|
||||
|
@@ -47,9 +47,9 @@ public class AsyncPlayerPreLoginEvent extends Event {
|
||||
* Gets the current result of the login, as an enum
|
||||
*
|
||||
* @return Current Result of the login
|
||||
* @see #getLoginResult()
|
||||
* @deprecated This method uses a deprecated enum from {@link
|
||||
* PlayerPreLoginEvent}
|
||||
* @see #getLoginResult()
|
||||
*/
|
||||
@Deprecated
|
||||
@NotNull
|
||||
@@ -70,9 +70,9 @@ public class AsyncPlayerPreLoginEvent extends Event {
|
||||
* Sets the new result of the login, as an enum
|
||||
*
|
||||
* @param result New result to set
|
||||
* @see #setLoginResult(Result)
|
||||
* @deprecated This method uses a deprecated enum from {@link
|
||||
* PlayerPreLoginEvent}
|
||||
* @see #setLoginResult(Result)
|
||||
*/
|
||||
@Deprecated
|
||||
public void setResult(@NotNull final PlayerPreLoginEvent.Result result) {
|
||||
@@ -123,9 +123,9 @@ public class AsyncPlayerPreLoginEvent extends Event {
|
||||
*
|
||||
* @param result New result for disallowing the player
|
||||
* @param message Kick message to display to the user
|
||||
* @see #disallow(Result, String)
|
||||
* @deprecated This method uses a deprecated enum from {@link
|
||||
* PlayerPreLoginEvent}
|
||||
* @see #disallow(Result, String)
|
||||
*/
|
||||
@Deprecated
|
||||
public void disallow(@NotNull final PlayerPreLoginEvent.Result result, @NotNull final String message) {
|
||||
|
@@ -122,9 +122,9 @@ public class PlayerCommandPreprocessEvent extends PlayerEvent implements Cancell
|
||||
* UnsupportedOperationException} if the event caller provides an
|
||||
* unmodifiable set.
|
||||
*
|
||||
* @return All Players who will see this chat message
|
||||
* @deprecated This method is provided for backward compatibility with no
|
||||
* guarantee to the effect of viewing or modifying the set.
|
||||
* @return All Players who will see this chat message
|
||||
*/
|
||||
@NotNull
|
||||
@Deprecated
|
||||
|
@@ -19,9 +19,8 @@ public class PlayerLocaleChangeEvent extends PlayerEvent {
|
||||
}
|
||||
|
||||
/**
|
||||
* @see Player#getLocale()
|
||||
*
|
||||
* @return the player's new locale
|
||||
* @see Player#getLocale()
|
||||
*/
|
||||
@NotNull
|
||||
public String getLocale() {
|
||||
|
Reference in New Issue
Block a user