David Vierra
8dd5f1a135
speed up generateChunksInLevelIter when chunks is very big. add minRadius and maxRadius parameters; assume server generates at least minRadius and then attempt to copy over maxRadius chunks
2011-11-19 09:54:05 -10:00
David Vierra
0318086838
check an environment variable for where to load yaml files from, so MCEdit can change it
2011-11-19 09:52:41 -10:00
David Vierra
3f327931cc
simulate the world for 15 seconds to process most of the tile ticks
2011-11-18 14:33:51 -10:00
David Vierra
43f0570c54
darkened tall grass
2011-11-17 20:43:29 -10:00
David Vierra
af4c11ea3f
removed nbt_length() and data= keyword argument to TAG_*, replacing them with load_from to pass around the data cursor
2011-11-17 20:43:21 -10:00
David Vierra
4c35acb49d
chain tracebacks for this ChunkMalformed exception
2011-11-17 20:42:24 -10:00
David Vierra
2809da320d
which() now checks %SYSTEMROOT% (because usually it's looking for java.exe which gets installed there). for some reason, PATH is absent from environ sometimes also.
2011-11-17 20:41:58 -10:00
David Vierra
4032053d53
copyBlocksFromInfinite now has an iterator form, so copyBlocksFromIter callers can show progress
2011-11-17 20:40:45 -10:00
David Vierra
e739afa53b
rearrange so __init__ is at the top of the class
2011-11-16 12:59:45 -10:00
David Vierra
6945b0185c
Merge pull request #60 from chungy/master
...
Rewrite gametype command in mce.py
2011-11-16 09:18:13 -08:00
David Vierra
c313d25ecd
add default name for dimensions
2011-11-14 10:18:09 -10:00
Mike Swanson
11aaca46a4
Change the help message to include gametype's new invokation.
2011-11-13 20:52:49 -08:00
Mike Swanson
59431458db
Fix typo in a comment in my previous commit.
2011-11-13 15:30:46 -08:00
David Vierra
27ee33dd33
handle items with stack size in parens - has normal stack size but INVEdit only gives you one instead of a full stack
2011-11-12 17:45:17 -10:00
Mike Swanson
4d5a8ebe7f
Refine gametype command to be more robust.
...
Now supports both single- and multi-player worlds, and it also
sets the player abilities added in Beta 1.9-pre5 to proper values
based on the gametype changed to. No longer will allow flying and
invulnerable players when switching to survival mode!
2011-11-12 17:43:35 -08:00
David Vierra
9a907d34e1
added off-color leaves
2011-11-11 13:04:50 -10:00
David Vierra
2cebca596f
add slot names for item-containing tile entities
2011-11-11 08:06:31 -10:00
David Vierra
c19e5a7e69
change default (absent) texture to a new pink block
2011-11-11 03:56:41 -10:00
David Vierra
76bb92324f
update the internal items_txt
2011-11-11 03:56:24 -10:00
David Vierra
608af8a8e3
add known entityIDs and add Piston and Cauldron structures
2011-11-11 03:56:09 -10:00
David Vierra
04b85ee62e
fix jarfile path encoding for windows, because Popen only accepts encoded strings
2011-11-10 15:01:10 -10:00
David Vierra
e1e0ae6152
use view('int8').clip(0, 15) to constrain light values more cheaply, and change the maximum() calls to use the out param to avoid extra allocations
2011-11-10 12:30:22 -10:00
David Vierra
22541f5bd4
generateLightsIter now yields more accurate progress estimates, plus progress info strings
2011-11-10 12:28:13 -10:00
David Vierra
e1c7020207
filenames may be unicode, so use unicode format strings
2011-11-10 03:28:50 -10:00
David Vierra
cf5b162d1d
tempWorldCache must be keyed on both the server version and the level's seed
2011-11-10 03:28:16 -10:00
David Vierra
1a6e9c1c66
unicode-format the path to the server jar, because python won't promote the format string to unicode for us :(
2011-11-08 09:04:44 -10:00
David Vierra
ce9414ec4d
fixed the name of indev diamond blocks
2011-11-08 09:04:19 -10:00
David Vierra
446a55156d
fix up entities in indev levels to have TAG_Double for motion and pos, to be compatible with modern levels. (xxx do this in copyBlocksFrom?)
2011-11-06 00:34:10 -10:00
David Vierra
856c9d7bf7
update to items.txt for 1.9pre5. (Thanks, copyboy!)
2011-11-06 00:33:30 -10:00
David Vierra
ab865675c4
Don't compute skylight in The End.
2011-11-02 11:39:54 -10:00
David Vierra
7b92998368
use numpy.clip to ensure a minimum light absorption of 1. remove any extra +1 and -1 terms that previously adjusted for that minimum.
2011-11-02 11:39:31 -10:00
David Vierra
7e299b3c8c
leaves' Decaying and Permanent bits were swapped
2011-11-01 00:05:10 -10:00
David Vierra
b39cb3e7e6
need to return -1 from __cmp__ to return "less than"
2011-11-01 00:04:35 -10:00
David Vierra
464ecd818b
add unnamed data variants for Crops, to set the textures
2011-10-30 20:46:23 -10:00
David Vierra
777ec18ce2
fix graphics for slab and double slab variants
2011-10-30 20:06:12 -10:00
David Vierra
41fe391c2a
can only compare Block against another Block (for now)
2011-10-30 20:05:50 -10:00
David Vierra
214c5a547c
Pocket Edition: Red Rose is now Cyan Flower
2011-10-29 19:06:04 -10:00
David Vierra
58514cca27
fix stone step graphics, change "Grey" spelling to "Gray" as it is in in game, and add "aka: Aqua Wool" to Light Blue Wool to create the connection
2011-10-29 18:56:18 -10:00
David Vierra
e3f90770f2
static block defs for indevMaterials
2011-10-29 18:19:28 -10:00
David Vierra
9a65c28829
MCMaterials' "type" array is 2D, so when Block.type is fetched, index again with blockData
2011-10-29 18:16:36 -10:00
David Vierra
fd6e0f8309
add indev materials and correct classic cloth colors
2011-10-29 18:15:37 -10:00
David Vierra
731390e40a
make MCMaterials an iterable over its own blocks
2011-10-29 18:15:06 -10:00
David Vierra
b82b617f8b
correctly set materials for extracted schematics (.materials= doesn't do it)
2011-10-29 18:14:34 -10:00
David Vierra
ba96a653af
store the yaml data on the MCMaterials object in addition to creating blocks from it, so we can check how much yaml data was loaded into one.
2011-10-29 15:10:52 -10:00
David Vierra
729008c2d3
show debug info when looking for .yaml files
2011-10-29 14:43:51 -10:00
David Vierra
bfc65ad41b
Ender Stone -> End Stone, Wool -> White Wool
2011-10-29 14:35:32 -10:00
David Vierra
5d99ead1b1
make AllStairs into a property
2011-10-29 14:35:19 -10:00
David Vierra
7aece200ea
create self.aka correctly as a 2D array
2011-10-28 16:55:16 -10:00
David Vierra
0e23672390
pocket.yaml: add leaf flavors and conversion hint for white wool -> light grey wool
2011-10-28 16:54:52 -10:00
David Vierra
8b8898c6df
Merge pull request #55 from hetmankp/master
...
More finegrained loggers (issue #53 )
2011-10-26 04:18:30 -07:00