0

Merge remote-tracking branch 'origin/rewrite' into anvil

This commit is contained in:
Andrew Brown
2012-02-26 21:10:23 -05:00
6 changed files with 69 additions and 2 deletions

View File

@@ -334,6 +334,21 @@ values. The valid configuration keys are listed below.
This is a where a specific texture pack can be found to be used during this render.
It can be either a folder or a directory. Its value should be a string.
``crop``
You can use this to render a small subset of your map, instead of the entire
thing. The format is (min x, min z, max x, max z).
(The coordinates are block coordinates. The same you get with the debug menu
in-game)
Example that only renders a 1000 by 1000 square of land about the origin::
renders['myrender'] = {
'world': 'myworld',
'title': "Cropped Example",
'crop': (-500, -500, 500, 500),
}
.. _customrendermodes:
Custom Rendermodes and Rendermode Primitives