[Bleeding] Added support for all TreeType entries to CraftWorld.generateTree(). Addresses BUKKIT-1161

This commit is contained in:
zml2008
2012-03-13 19:38:39 -07:00
committed by EvilSeph
parent 27acb4c41e
commit 8aee4c3f56
9 changed files with 71 additions and 23 deletions

View File

@@ -30,6 +30,14 @@ public class StructureGrowDelegate implements BlockChangeDelegate {
return true;
}
public boolean setTypeId(int x, int y, int z, int typeId) {
return setRawTypeId(x, y, z, typeId);
}
public boolean setTypeIdAndData(int x, int y, int z, int typeId, int data) {
return setRawTypeIdAndData(x, y, z, typeId, data);
}
public int getTypeId(int x, int y, int z) {
return world.getBlockTypeIdAt(x, y, z);
}