-
Notifications
You must be signed in to change notification settings - Fork 0
Create Functions
Changxing Cao edited this page Aug 24, 2018
·
9 revisions
Notice our cmd is used to set a block with left-bottom (x1,y1,z1) and right-up(x2,y2,z2) box.
Your AI function is to generate a new intelligent map in this customized block.
under src/main/java/ccx/build folder
write under the file BuildBlocks.java to create your own world.
- We use the cmd
"cmd GOLD_BLOCK(Material) buildHouse(Function_name) 20 20 20 (len wid height)"
to create House groups having certain length/width/height.
- We use another cmd
"build x1 y1 z1 x2 y2 z2"
to create Blocks having certain coordinate.
The Function is under
You can easily change function with Command_cmd.java to create your own command.