905 Commits

Author SHA1 Message Date
David Vierra
91c4ef36cb just print the block match message when a bad block is given 2010-09-19 15:32:49 -10:00
David Vierra
c7a0d3c8fe Merge branch 'master' of git@github.com:codewarrior0/pymclevel.git 2010-09-19 15:18:48 -10:00
David Vierra
8d6cc52f06 allow exact matches for block search 2010-09-19 15:18:01 -10:00
David Vierra
aae47fe2d9 added sample usage to readme 2010-09-19 15:11:37 -10:00
Nelson Minar
5cd2869717 very simple top level package so apps can import the whole directory 2010-09-20 09:09:50 +08:00
David Vierra
6d41466ae9 better block search for 'blocks' command 2010-09-19 15:04:38 -10:00
David Vierra
1bdd5ecffa print partial matches better, without future block spam 2010-09-19 15:04:23 -10:00
David Vierra
e2c27b7b63 added chest and spawner schematics 2010-09-19 14:53:30 -10:00
David Vierra
18435c3b7a empty line before command output 2010-09-19 13:43:47 -10:00
David Vierra
69c29a08a8 better handle bad block names 2010-09-19 13:43:40 -10:00
David Vierra
3993f041ea new readme 2010-09-19 04:51:59 -10:00
David Vierra
ecaedf8450 only display replace summary after replacing 2010-09-19 04:40:11 -10:00
David Vierra
f0deb29d53 stop after one word matches, too 2010-09-19 04:39:58 -10:00
David Vierra
75a29aeaea enforce data types in __init__ 2010-09-19 04:34:21 -10:00
David Vierra
0e43264748 more efficient block replace, doesn't trigger relights unnecessarily 2010-09-19 04:34:08 -10:00
David Vierra
df197446a8 scanning 2010-09-19 04:33:40 -10:00
David Vierra
fdb14f0517 don't override previous needsLighting flag 2010-09-19 04:33:33 -10:00
David Vierra
e8cc90f172 raise Not Found on empty filename 2010-09-19 04:33:18 -10:00
David Vierra
c98467e876 added deleteChunksInBox, renamed corresponding create... 2010-09-19 04:33:03 -10:00
David Vierra
39d0cf193c multiplayer support 2010-09-19 04:32:24 -10:00
David Vierra
417a75901d command-line world editor 2010-09-19 04:31:36 -10:00
David Vierra
b383d17ffe command line map editor! 2010-09-18 01:58:14 -10:00
David Vierra
d01f347d4a fixed more names 2010-09-18 01:57:52 -10:00
David Vierra
c932ec015c adjust bounds for schematic extraction, at least vertically xxx 2010-09-18 01:55:48 -10:00
David Vierra
17eadb8e33 oops wrong name 2010-09-18 01:55:25 -10:00
David Vierra
d08429643d clarify the temp variable for decompression here 2010-09-18 01:55:11 -10:00
David Vierra
e254ceaae6 detect INVEdit inv files as chest schematics 2010-09-18 01:54:59 -10:00
David Vierra
97650fc6ad increase height of placebo chunks 2010-09-18 01:54:20 -10:00
David Vierra
9718efed56 this is a better guess, it's the actual size of Classic Huge levels 2010-09-18 01:53:11 -10:00
David Vierra
1541da38b2 put adjustments to copy block params into its own func... xxx clean this up even more 2010-09-18 01:52:55 -10:00
David Vierra
e888709165 lighting calc checks chunks to see if they really need another pass, and splits up work into batches to avoid memory errors 2010-09-18 01:52:11 -10:00
David Vierra
5908c3ed62 added a routine to compute the world's bounding box for alpha levels 2010-09-18 01:51:07 -10:00
David Vierra
5ed123f808 removed needsCompression flag, now look at root_tag to see if we need to compress 2010-09-18 01:49:56 -10:00
David Vierra
5cf7bdd759 added lighting values for fire, red ore, and brown shrooms 2010-09-18 01:48:38 -10:00
David Vierra
ea7943c1ce replace with stationary water to avoid MC crash 2010-09-18 01:46:51 -10:00
David Vierra
0777c250fc renamed some materials to be easier to search 2010-09-18 01:46:40 -10:00
David Vierra
36be326d1e allow setting min and max 2010-09-18 01:46:18 -10:00
David Vierra
1d90ea01fd enforce int type for size and origin 2010-09-18 01:46:05 -10:00
David Vierra
34a08d8550 added block rotation mappings for more block types 2010-09-18 01:45:27 -10:00
David Vierra
c1a9436aa1 better save locations for non-windows platforms 2010-09-06 15:49:18 -10:00
David Vierra
b614f2a0be testing 2010-09-06 15:43:57 -10:00
unknown
4504a2ba31 this needs to be a TAG_Short 2010-09-06 15:42:26 -10:00
unknown
e93a0279d9 handle bad chunks a bit better 2010-09-06 15:42:11 -10:00
unknown
d4314d0d3e calculate light more aggressively 2010-09-06 15:41:46 -10:00
unknown
4968539a5e xxx needed for fake whiteLight recalc 2010-09-06 15:41:27 -10:00
unknown
dc3827a026 moved block rotation formulas to separate file 2010-09-06 15:40:42 -10:00
unknown
afa7b2cd75 added roll and flip to schematics 2010-09-06 15:40:13 -10:00
unknown
d3b6fd2a47 begin changing materials to alphaMaterials xxxx 2010-09-06 15:40:01 -10:00
unknown
acb60550f2 add blocksToReplace to fillBlocks and add tests for fillBlocks 2010-09-06 15:39:42 -10:00
unknown
0f70421fde compute a fake whiteLight array depending on the level's size 2010-09-06 15:35:54 -10:00