Deprecate BlockChangeDelegate

This commit is contained in:
md_5 2017-12-03 14:15:39 +11:00
parent 7c0264b921
commit 69e52f64f9
2 changed files with 4 additions and 0 deletions

View file

@ -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 {
/**

View file

@ -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);
/**