mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-06 23:22:10 -07:00
Add since to deprecated for removals (#10848)
This commit is contained in:
@@ -867,7 +867,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ * @param onBack is on its back
|
||||
+ * @deprecated use {@link #setOnBack(boolean)}
|
||||
+ */
|
||||
+ @Deprecated(forRemoval = true)
|
||||
+ @Deprecated(forRemoval = true, since = "1.19")
|
||||
+ default void setIsOnBack(boolean onBack) {
|
||||
+ this.setOnBack(onBack);
|
||||
+ }
|
||||
@@ -878,7 +878,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ * @param sitting is currently sitting
|
||||
+ * @deprecated use {@link #setSitting(boolean)}
|
||||
+ */
|
||||
+ @Deprecated(forRemoval = true)
|
||||
+ @Deprecated(forRemoval = true, since = "1.19")
|
||||
+ default void setIsSitting(boolean sitting) {
|
||||
+ this.setSitting(sitting);
|
||||
+ }
|
||||
@@ -1478,7 +1478,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ * @return ticks left on cooldown
|
||||
+ * @deprecated Hopper minecarts don't have cooldowns anymore
|
||||
+ */
|
||||
+ @Deprecated(forRemoval = true)
|
||||
+ @Deprecated(forRemoval = true, since = "1.19.4")
|
||||
+ int getPickupCooldown();
|
||||
+
|
||||
+ /**
|
||||
@@ -1487,7 +1487,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ * @param cooldown cooldown length in ticks
|
||||
+ * @deprecated Hopper minecarts don't have cooldowns anymore
|
||||
+ */
|
||||
+ @Deprecated(forRemoval = true)
|
||||
+ @Deprecated(forRemoval = true, since = "1.19.4")
|
||||
+ void setPickupCooldown(int cooldown);
|
||||
+ // Paper end
|
||||
}
|
||||
|
Reference in New Issue
Block a user