![]() count, newpos1, newpos2 = anspose(pos1, pos2, axis1, axis2) Returns the number of nodes stretched, the new scaled position 1, and the new scaled position 2. and stretchz along the X, Y, and Z axes, respectively, with pos1 as the origin. Stretches the region defined by positions pos1 and pos2 by an factor of positive integers stretchx, stretchy. count, newpos1, newpos2 = worldedit.stretch(pos1, pos2, stretchx, stretchy, stretchz) Note that the offset vector needs to be big enough that there is no overlap. count = worldedit.stack2(pos1, pos2, direction, amount)ĭuplicates the region defined by positions pos1 and pos2 amount times with offset vector direction. ![]() count = worldedit.stack(pos1, pos2, axis, count)ĭuplicates the region defined by positions pos1 and pos2 along the axis axis ("x" or "y" or "z") count times. Moves the region defined by positions pos1 and pos2 along the axis axis ("x" or "y" or "z") by amount nodes. count = worldedit.move(pos1, pos2, axis, amount) Note that the offset needs to be big enough that there is no overlap. count = py2(pos1, pos2, off)Ĭopies the region defined by positions pos1 and pos2 by the offset vector off. count = py(pos1, pos2, axis, amount)Ĭopies the region defined by positions pos1 and pos2 along the axis axis ("x" or "y" or "z") by amount nodes. Replaces all nodes other than searchnode with replacenode in a region defined by positions pos1 and pos2. count = worldedit.replaceinverse(pos1, pos2, searchnode, replacenode) ![]() Replaces all instances of searchnode with replacenode in a region defined by positions pos1 and pos2. count = worldedit.replace(pos1, pos2, searchnode, replacenode) Sets the param2 values of all nodes in a region defined by positions pos1 and pos2 to param2. If node_name is a list of nodes, each set node is randomly picked from it. To clear a region, use "air" as the value of node_name. ![]() Sets a region defined by positions pos1 and pos2 to node_name. ManipulationsĬontained in a, this module allows several node operations to be applied over a region. value = worldedit.version_stringĬontains the current version of WorldEdit in the form of a string "MAJOR_INTEGER.MINOR_INTEGER", where MAJOR_INTEGER is the major version (the number before the period) as an integer, and MINOR_INTEGER is the minor version (the number after the period) as an integer. This is intended for version checking purposes. General value = worldedit.versionĬontains the current version of WorldEdit in a table of the form, where MAJOR_INTEGER is the major version (the number before the period) as an integer, and MINOR_INTEGER is the minor version (the number after the period) as an integer. The only file that cannot be removed is a, which is necessary for the mod to run.įor more information, see the README. If needed, individual modules such as a can be removed without affecting the rest of the program. Each module is contained within a single file. The WorldEdit API is composed of multiple modules, each of which is independent and can be used without the other. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |