mirror of
https://github.com/PaperMC/Paper.git
synced 2025-07-31 12:12:08 -07:00
Begin update to 1.20.5
This commit is contained in:
@@ -452,42 +452,6 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
public byte getId() {
|
||||
return note;
|
||||
}
|
||||
diff --git a/src/main/java/org/bukkit/Particle.java b/src/main/java/org/bukkit/Particle.java
|
||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||
--- a/src/main/java/org/bukkit/Particle.java
|
||||
+++ b/src/main/java/org/bukkit/Particle.java
|
||||
@@ -0,0 +0,0 @@ public enum Particle implements Keyed {
|
||||
BLOCK_CRACK("block", BlockData.class),
|
||||
/**
|
||||
* Uses {@link BlockData} as DataType
|
||||
+ * @deprecated use {@link #BLOCK_CRACK}
|
||||
*/
|
||||
+ @Deprecated // Paper
|
||||
BLOCK_DUST("block", BlockData.class, false),
|
||||
WATER_DROP("rain"),
|
||||
MOB_APPEARANCE("elder_guardian"),
|
||||
@@ -0,0 +0,0 @@ public enum Particle implements Keyed {
|
||||
// ----- Legacy Separator -----
|
||||
/**
|
||||
* Uses {@link MaterialData} as DataType
|
||||
+ * @deprecated {@link MaterialData} is deprecated API
|
||||
*/
|
||||
+ @Deprecated // Paper
|
||||
LEGACY_BLOCK_CRACK(null, MaterialData.class, false),
|
||||
/**
|
||||
* Uses {@link MaterialData} as DataType
|
||||
+ * @deprecated {@link MaterialData} is deprecated API
|
||||
*/
|
||||
+ @Deprecated // Paper
|
||||
LEGACY_BLOCK_DUST(null, MaterialData.class, false),
|
||||
/**
|
||||
* Uses {@link MaterialData} as DataType
|
||||
+ * @deprecated {@link MaterialData} is deprecated API
|
||||
*/
|
||||
+ @Deprecated // Paper
|
||||
LEGACY_FALLING_DUST(null, MaterialData.class, false);
|
||||
|
||||
private final NamespacedKey key;
|
||||
diff --git a/src/main/java/org/bukkit/Registry.java b/src/main/java/org/bukkit/Registry.java
|
||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||
--- a/src/main/java/org/bukkit/Registry.java
|
||||
@@ -939,32 +903,6 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
-@Deprecated
|
||||
+@Deprecated(forRemoval = true) // Paper
|
||||
public interface SplashPotion extends ThrownPotion { }
|
||||
diff --git a/src/main/java/org/bukkit/entity/TextDisplay.java b/src/main/java/org/bukkit/entity/TextDisplay.java
|
||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||
--- a/src/main/java/org/bukkit/entity/TextDisplay.java
|
||||
+++ b/src/main/java/org/bukkit/entity/TextDisplay.java
|
||||
@@ -0,0 +0,0 @@ public interface TextDisplay extends Display {
|
||||
* Gets the text background color.
|
||||
*
|
||||
* @return the background color
|
||||
- * @deprecated API subject to change
|
||||
*/
|
||||
@Nullable
|
||||
- @Deprecated
|
||||
+ // @Deprecated // Paper - is stable API
|
||||
Color getBackgroundColor();
|
||||
|
||||
/**
|
||||
* Sets the text background color.
|
||||
*
|
||||
* @param color new background color
|
||||
- * @deprecated API subject to change
|
||||
*/
|
||||
- @Deprecated
|
||||
+ // @Deprecated // Paper - is stable API
|
||||
void setBackgroundColor(@Nullable Color color);
|
||||
|
||||
/**
|
||||
diff --git a/src/main/java/org/bukkit/entity/memory/MemoryKey.java b/src/main/java/org/bukkit/entity/memory/MemoryKey.java
|
||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||
--- a/src/main/java/org/bukkit/entity/memory/MemoryKey.java
|
||||
@@ -1651,32 +1589,28 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
*
|
||||
+ * @deprecated Use {@link ItemMeta#displayName()} and check if it is instanceof a {@link net.kyori.adventure.text.TranslatableComponent}.
|
||||
* @return true if this has a localized name
|
||||
* @deprecated meta no longer exists
|
||||
*/
|
||||
+ @Deprecated // Paper - Deprecate old localized API
|
||||
boolean hasLocalizedName();
|
||||
|
||||
/**
|
||||
@@ -0,0 +0,0 @@ public interface ItemMeta extends Cloneable, ConfigurationSerializable, Persiste
|
||||
* Plugins should check that hasLocalizedName() returns <code>true</code>
|
||||
* before calling this method.
|
||||
*
|
||||
+ * @deprecated Use {@link ItemMeta#displayName()} and cast it to a {@link net.kyori.adventure.text.TranslatableComponent}. No longer used by the client.
|
||||
* @return the localized name that is set
|
||||
* @deprecated meta no longer exists
|
||||
*/
|
||||
+ @Deprecated // Paper - Deprecate old localized API
|
||||
@NotNull
|
||||
@Deprecated(forRemoval = true)
|
||||
String getLocalizedName();
|
||||
|
||||
@@ -0,0 +0,0 @@ public interface ItemMeta extends Cloneable, ConfigurationSerializable, Persiste
|
||||
/**
|
||||
* Sets the localized name.
|
||||
*
|
||||
+ * @deprecated Use {@link ItemMeta#displayName(Component)} with a {@link net.kyori.adventure.text.TranslatableComponent}. No longer used by the client.
|
||||
* @param name the name to set
|
||||
* @deprecated meta no longer exists
|
||||
*/
|
||||
+ @Deprecated // Paper - Deprecate old localized API
|
||||
void setLocalizedName(@Nullable String name);
|
||||
|
||||
/**
|
||||
diff --git a/src/main/java/org/bukkit/inventory/meta/MapMeta.java b/src/main/java/org/bukkit/inventory/meta/MapMeta.java
|
||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||
--- a/src/main/java/org/bukkit/inventory/meta/MapMeta.java
|
||||
|
Reference in New Issue
Block a user