| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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.
| Method Summary | |
|---|---|
 int | 
getHeight()
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)
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  | 
| Method Detail | 
|---|
@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 coordinate
int getHeight()
boolean isEmpty(int x,
                int y,
                int z)
x - X coordinatey - Y coordinatez - Z coordinate
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||