mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-19 13:38:44 +01:00
Deprecate BlockChangeDelegate
By: md_5 <git@md-5.net>
This commit is contained in:
parent
c7405129fa
commit
987a10e861
2 changed files with 4 additions and 0 deletions
|
@ -4,7 +4,9 @@ package org.bukkit;
|
||||||
* A delegate for handling block changes. This serves as a direct interface
|
* A delegate for handling block changes. This serves as a direct interface
|
||||||
* between generation algorithms in the server implementation and utilizing
|
* between generation algorithms in the server implementation and utilizing
|
||||||
* code.
|
* code.
|
||||||
|
* @deprecated rarely used API that was largely for implementation purposes
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public interface BlockChangeDelegate {
|
public interface BlockChangeDelegate {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -358,7 +358,9 @@ public interface World extends PluginMessageRecipient, Metadatable {
|
||||||
* @param delegate A class to call for each block changed as a result of
|
* @param delegate A class to call for each block changed as a result of
|
||||||
* this method
|
* this method
|
||||||
* @return true if the tree was created successfully, otherwise false
|
* @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);
|
public boolean generateTree(Location loc, TreeType type, BlockChangeDelegate delegate);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue