This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
this.fillWithBlocks(par1World, par3StructureBoundingBox, 1, 2, 0, 7, 4, 0, Block.planks.blockID, Block.planks.blockID, false); this.placeBlockAtCurrentPosition(par1World, Block.thinGlass.blockID, 0, 4, 2, 0, par3StructureBoundingBox);
Quote from mister_person Are you using eclipse? If you are, then you can just mouse over the function name and it'll tell you what it does.
I have a question; in the component files (ex. ComponentVillageHouse1) there are codes which place blocks to make structures. How do these work? What are the numbers for and how does it place blocks?
Example from ComponentVillageHouse1.java:
Would be thankful for help!
Oh, thank you!
boundingBox - box in wich will your structure build. it allow you to use "local" structure coordinates instead of world coordinates.
placeBlockAtCurrentPosition(world, blockID, blockMetadata, x, y, z, boundingBox);