Finish converting most of the undeprecated api to jspecify
This commit is contained in:
parent
29a25df60e
commit
0adf5876db
45 changed files with 782 additions and 718 deletions
|
@ -15,8 +15,9 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
+import org.bukkit.block.BlockFace;
|
||||
+import org.bukkit.block.TileState;
|
||||
+import org.bukkit.block.data.BlockData;
|
||||
+import org.jetbrains.annotations.NotNull;
|
||||
+import org.jspecify.annotations.NullMarked;
|
||||
+
|
||||
+@NullMarked
|
||||
+public interface MovingPiston extends TileState {
|
||||
+
|
||||
+ /**
|
||||
|
@ -24,7 +25,6 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
+ *
|
||||
+ * @return the pushed block
|
||||
+ */
|
||||
+ @NotNull
|
||||
+ BlockData getMovingBlock();
|
||||
+
|
||||
+ /**
|
||||
|
@ -33,7 +33,6 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
+ *
|
||||
+ * @return the direction
|
||||
+ */
|
||||
+ @NotNull
|
||||
+ BlockFace getDirection();
|
||||
+
|
||||
+ /**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue