summaryrefslogtreecommitdiffstats
path: root/src/main/java/org
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org')
-rw-r--r--src/main/java/org/bukkit/BlockChangeDelegate.java2
-rw-r--r--src/main/java/org/bukkit/World.java2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/BlockChangeDelegate.java b/src/main/java/org/bukkit/BlockChangeDelegate.java
index e6b9f0e6..3f1afd9c 100644
--- a/src/main/java/org/bukkit/BlockChangeDelegate.java
+++ b/src/main/java/org/bukkit/BlockChangeDelegate.java
@@ -4,7 +4,9 @@ package org.bukkit;
* A delegate for handling block changes. This serves as a direct interface
* between generation algorithms in the server implementation and utilizing
* code.
+ * @deprecated rarely used API that was largely for implementation purposes
*/
+@Deprecated
public interface BlockChangeDelegate {
/**
diff --git a/src/main/java/org/bukkit/World.java b/src/main/java/org/bukkit/World.java
index b6b90f39..c8344c6d 100644
--- a/src/main/java/org/bukkit/World.java
+++ b/src/main/java/org/bukkit/World.java
@@ -358,7 +358,9 @@ public interface World extends PluginMessageRecipient, Metadatable {
* @param delegate A class to call for each block changed as a result of
* this method
* @return true if the tree was created successfully, otherwise false
+ * @deprecated rarely used API that was largely for implementation purposes
*/
+ @Deprecated
public boolean generateTree(Location loc, TreeType type, BlockChangeDelegate delegate);
/**