geforkt von Mirrors/Paper
[ci skip] Add missing deprecations for legacy MaterialData api (#9253)
Dieser Commit ist enthalten in:
Ursprung
82325a9a90
Commit
e36eed4507
@ -926,6 +926,29 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ //@Deprecated // Paper
|
||||
int getMapId();
|
||||
|
||||
/**
|
||||
diff --git a/src/main/java/org/bukkit/material/Openable.java b/src/main/java/org/bukkit/material/Openable.java
|
||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||
--- a/src/main/java/org/bukkit/material/Openable.java
|
||||
+++ b/src/main/java/org/bukkit/material/Openable.java
|
||||
@@ -0,0 +0,0 @@
|
||||
package org.bukkit.material;
|
||||
|
||||
+@Deprecated // Paper
|
||||
public interface Openable {
|
||||
|
||||
/**
|
||||
diff --git a/src/main/java/org/bukkit/material/Redstone.java b/src/main/java/org/bukkit/material/Redstone.java
|
||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||
--- a/src/main/java/org/bukkit/material/Redstone.java
|
||||
+++ b/src/main/java/org/bukkit/material/Redstone.java
|
||||
@@ -0,0 +0,0 @@ package org.bukkit.material;
|
||||
/**
|
||||
* Indicated a Material that may carry or create a Redstone current
|
||||
*/
|
||||
+@Deprecated // Paper
|
||||
public interface Redstone {
|
||||
|
||||
/**
|
||||
diff --git a/src/main/java/org/bukkit/material/Step.java b/src/main/java/org/bukkit/material/Step.java
|
||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||
@ -953,3 +976,15 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
public enum MushroomBlockTexture {
|
||||
|
||||
/**
|
||||
diff --git a/src/test/java/org/bukkit/materials/MaterialDataTest.java b/src/test/java/org/bukkit/materials/MaterialDataTest.java
|
||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||
--- a/src/test/java/org/bukkit/materials/MaterialDataTest.java
|
||||
+++ b/src/test/java/org/bukkit/materials/MaterialDataTest.java
|
||||
@@ -0,0 +0,0 @@ import org.bukkit.material.WoodenStep;
|
||||
import org.bukkit.material.types.MushroomBlockTexture;
|
||||
import org.junit.Test;
|
||||
|
||||
+@Deprecated // Paper
|
||||
public class MaterialDataTest {
|
||||
|
||||
@Test
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren