Add since to deprecated for removals (#10848)
This commit is contained in:
parent
3df0d9a457
commit
a992033d60
29 changed files with 99 additions and 96 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue