@Deprecated
public interface BlockChangeDelegate
原文: A delegate for handling block changes. This serves as a direct interface between generation algorithms in the server implementation and utilizing code.
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getHeight()
已过时。
Gets the height of the world.
|
int |
getTypeId(int x,
int y,
int z)
已过时。
Magic value
|
boolean |
isEmpty(int x,
int y,
int z)
已过时。
Checks if the specified block is empty (air) or not.
|
boolean |
setRawTypeId(int x,
int y,
int z,
int typeId)
已过时。
Magic value
|
boolean |
setRawTypeIdAndData(int x,
int y,
int z,
int typeId,
int data)
已过时。
Magic value
|
boolean |
setTypeId(int x,
int y,
int z,
int typeId)
已过时。
Magic value
|
boolean |
setTypeIdAndData(int x,
int y,
int z,
int typeId,
int data)
已过时。
Magic value
|
@Deprecated
boolean setRawTypeId(int x,
int y,
int z,
int typeId)
It is safe to have this call World.setTypeId, but it may be slower than World.setRawTypeId.
x - X coordinatey - Y coordinatez - Z coordinatetypeId - New block ID@Deprecated
boolean setRawTypeIdAndData(int x,
int y,
int z,
int typeId,
int data)
It is safe to have this call World.setTypeId, but it may be slower than World.setRawTypeId.
x - X coordinatey - Y coordinatez - Z coordinatetypeId - New block IDdata - Block data@Deprecated
boolean setTypeId(int x,
int y,
int z,
int typeId)
This method cannot call World.setRawTypeId, a full update is needed.
x - X coordinatey - Y coordinatez - Z coordinatetypeId - New block ID@Deprecated
boolean setTypeIdAndData(int x,
int y,
int z,
int typeId,
int data)
This method cannot call World.setRawTypeId, a full update is needed.
x - X coordinatey - Y coordinatez - Z coordinatetypeId - New block IDdata - Block data@Deprecated
int getTypeId(int x,
int y,
int z)
x - X coordinatey - Y coordinatez - Z coordinateint getHeight()
boolean isEmpty(int x,
int y,
int z)
x - X coordinatey - Y coordinatez - Z coordinate