diff options
author | Anthony <azhang9@gmail.com> | 2012-09-20 13:13:09 -0700 |
---|---|---|
committer | Anthony <azhang9@gmail.com> | 2012-09-20 13:13:09 -0700 |
commit | f42d2358fdbe6260e7a0f29b3252417e7813564b (patch) | |
tree | 6930edb26d0a241632c413a88ebb882d41c33978 /README.md | |
parent | 6f961313822e837f96cf2d5b8fa3f2b521890c96 (diff) | |
parent | 474130d188abea38fae71a6f3dd4b517dad00b08 (diff) |
Merge pull request #12 from cornernote/master
added //metasave and //metaload (clean pull)
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 26 |
1 files changed, 26 insertions, 0 deletions
@@ -192,6 +192,20 @@ Load nodes from "(world folder)/schems/<file>.we" with position 1 of the current //load some random filename //load huge_base +### //metasave <file> + +Save the current WorldEdit region including metadata to "(world folder)/schems/<file>.wem". + + //metasave some random filename + //metasave huge_base + +### //metaload <file> + +Load nodes and metadata from "(world folder)/schems/<file>.wem" with position 1 of the current WorldEdit region as the origin. + + //metaload some random filename + //metaload huge_base + WorldEdit API ------------- WorldEdit exposes all significant functionality in a simple interface. Adding WorldEdit to the file "depends.txt" in your mod gives you access to all of the `worldedit` functions. These are useful if you're looking for high-performance node manipulation without all the hassle of writing tons of code. @@ -294,6 +308,18 @@ This function is deprecated, and should not be used unless there is a need to su Returns the number of nodes deserialized. +### worldedit.metasave(pos1, pos2, file) + +Saves the nodes and meta defined by positions `pos1` and `pos2` into a file + +Returns the number of nodes saved + +### worldedit.metaload(pos1, file) + +Loads the nodes and meta from `file` to position `pos1` + +Returns the number of nodes loaded + License ------- Copyright 2012 sfan5 and Anthony Zhang (Temperest) |