geforkt von Mirrors/Paper
Fix minor issue with JavaDoc breaking doc deploys
Dieser Commit ist enthalten in:
Ursprung
5b123cd1d5
Commit
072faf2ae9
@ -5,7 +5,7 @@ Subject: [PATCH] Beacon API - custom effect ranges
|
|||||||
|
|
||||||
|
|
||||||
diff --git a/src/main/java/org/bukkit/block/Beacon.java b/src/main/java/org/bukkit/block/Beacon.java
|
diff --git a/src/main/java/org/bukkit/block/Beacon.java b/src/main/java/org/bukkit/block/Beacon.java
|
||||||
index 6349fa9da3f96df3553fb9552c1cab95338cecb0..2c8fce5e1d6cf8dade37851f0bee4cff5d15ea78 100644
|
index 6349fa9da3f96df3553fb9552c1cab95338cecb0..78475fc6faff0f295828d7b53792001d51aa2889 100644
|
||||||
--- a/src/main/java/org/bukkit/block/Beacon.java
|
--- a/src/main/java/org/bukkit/block/Beacon.java
|
||||||
+++ b/src/main/java/org/bukkit/block/Beacon.java
|
+++ b/src/main/java/org/bukkit/block/Beacon.java
|
||||||
@@ -64,4 +64,26 @@ public interface Beacon extends TileState, Lockable, Nameable {
|
@@ -64,4 +64,26 @@ public interface Beacon extends TileState, Lockable, Nameable {
|
||||||
@ -17,7 +17,7 @@ index 6349fa9da3f96df3553fb9552c1cab95338cecb0..2c8fce5e1d6cf8dade37851f0bee4cff
|
|||||||
+ /**
|
+ /**
|
||||||
+ * Gets the effect range of this beacon.
|
+ * Gets the effect range of this beacon.
|
||||||
+ * A negative range value means the beacon is using its default range based on tier.
|
+ * A negative range value means the beacon is using its default range based on tier.
|
||||||
+ * @return Either the custom range set with {@link #setEffectRange(double) or the range based on the beacon tier.
|
+ * @return Either the custom range set with {@link #setEffectRange(double)} or the range based on the beacon tier.
|
||||||
+ */
|
+ */
|
||||||
+ double getEffectRange();
|
+ double getEffectRange();
|
||||||
+
|
+
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren