@Deprecated
public interface BlockChangeDelegate
Modifier and Type | Method | Description |
---|---|---|
int |
getHeight() |
Deprecated.
Gets the height of the world.
|
int |
getTypeId(int x,
int y,
int z) |
Deprecated.
Magic value
|
boolean |
isEmpty(int x,
int y,
int z) |
Deprecated.
Checks if the specified block is empty (air) or not.
|
boolean |
setRawTypeId(int x,
int y,
int z,
int typeId) |
Deprecated.
Magic value
|
boolean |
setRawTypeIdAndData(int x,
int y,
int z,
int typeId,
int data) |
Deprecated.
Magic value
|
boolean |
setTypeId(int x,
int y,
int z,
int typeId) |
Deprecated.
Magic value
|
boolean |
setTypeIdAndData(int x,
int y,
int z,
int typeId,
int data) |
Deprecated.
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 coordinateCopyright © 2018. All rights reserved.