David Vierra
|
6cac9bb5fa
|
added FlipVertical to blockrotation.py, called it from MCSchematic.flipVertical
|
2011-08-08 12:45:10 -10:00 |
|
David Vierra
|
887092de05
|
add latest items courtesy of copyboy
|
2011-08-05 07:06:46 -10:00 |
|
David Vierra
|
aab4d07776
|
fix bug introduced by rearranged imports
|
2011-08-05 06:20:52 -10:00 |
|
David Vierra
|
72dc4374dd
|
change getChunks to return an iterator
|
2011-08-04 05:17:07 -10:00 |
|
David Vierra
|
aca3bf88e7
|
this is actually test output, not input
|
2011-08-04 05:16:42 -10:00 |
|
David Vierra
|
cb65e25c95
|
also sanitize grass with dirt above it.
|
2011-08-01 02:49:10 -10:00 |
|
David Vierra
|
f865c78e8d
|
add a test for setPlayerSpawnPosition
|
2011-07-30 00:51:04 -10:00 |
|
David Vierra
|
fc42fc4ab4
|
add profiling scripts
|
2011-07-30 00:50:13 -10:00 |
|
David Vierra
|
55a8505d53
|
add entities flag to copyBlocksFrom and extractSchematic, to avoid copying entities. TileEntities are always copied with the blocks. Paintings should probably be copied with them too.
|
2011-07-28 22:14:28 -10:00 |
|
David Vierra
|
744c782b93
|
add expand function to BoundingBox (needs to be immutable, maybe)
|
2011-07-27 04:39:14 -10:00 |
|
David Vierra
|
7ca143a87a
|
generateHeightmap should just call self.load() instead of checking root_tag
|
2011-07-27 04:38:51 -10:00 |
|
David Vierra
|
19daf35a9e
|
fix the return values of getChunkSlices so when an extra tall box is requested, the offset point and slices line up properly
|
2011-07-27 04:38:25 -10:00 |
|
David Vierra
|
bab9af4c6d
|
entity position is a TAG_Double
|
2011-07-24 22:36:09 -10:00 |
|
David Vierra
|
b664a2bf73
|
refactor some entity code out to entity.py
|
2011-07-24 14:23:27 -10:00 |
|
David Vierra
|
6e7c6f0ab3
|
create a method getRegionFile, which automatically loads a region file if present. fixes deleteChunk not deleting from unloaded regions
|
2011-07-24 01:13:11 -10:00 |
|
David Vierra
|
d74bf07343
|
TAG_Compound automatically wraps lists, tuples, and strings
|
2011-07-24 00:21:44 -10:00 |
|
David Vierra
|
daf593378b
|
put the extract methods back onto MCLevel
|
2011-07-23 22:21:28 -10:00 |
|
David Vierra
|
225f813d28
|
put everything through pydev's code auto-formatter
|
2011-07-23 21:59:18 -10:00 |
|
David Vierra
|
6b9e82c2e4
|
refactor level formats out to different files, add testing framework and test files
|
2011-07-23 19:58:11 -10:00 |
|
David Vierra
|
5b39487030
|
don't misuse TypeError here...this is an unexpected value
|
2011-07-22 22:56:18 -10:00 |
|
David Vierra
|
2e10c3b24a
|
extractAllChunks now saves them with "standard" gzip compression
|
2011-07-22 22:55:57 -10:00 |
|
David Vierra
|
5c56843a76
|
repair the shabby unit tests
|
2011-07-22 20:46:47 -10:00 |
|
David Vierra
|
f462469424
|
TAG_Short_Array used by cubic chunks
|
2011-07-22 20:34:49 -10:00 |
|
David Vierra
|
a6c0da238a
|
add pretty_string method to tags for indented output
|
2011-07-22 20:34:36 -10:00 |
|
David Vierra
|
694a5b8df7
|
refactoring compress methods in InfdevChunk, decompress methods in MCRegionFile, added extractAllChunks to MCRegionFile, refactored preloading code in MCInfdevOldLevel
|
2011-07-22 20:08:07 -10:00 |
|
David Vierra
|
db69f5bd98
|
set materials for fake chunks
|
2011-07-11 11:54:10 -10:00 |
|
David Vierra
|
0e6b3cfac9
|
sanitize both grass and snow layer. maybe more blocks in the future.
|
2011-07-06 10:03:25 -10:00 |
|
David Vierra
|
3087fa50d8
|
automatically change underground grass to dirt to avoid massive lag in minecraft.
|
2011-07-05 12:16:04 -10:00 |
|
David Vierra
|
346b0aab99
|
add chunkIsCompressed/Dirty, clean up chunkIsLoaded
|
2011-06-30 14:11:49 -10:00 |
|
David Vierra
|
91490dfd10
|
add fake chunkIsCompressed/Dirty for finite levels
|
2011-06-30 14:11:09 -10:00 |
|
David Vierra
|
c496c5f0ad
|
add fake chunkCount for fixed size levels
|
2011-06-30 14:10:36 -10:00 |
|
David Vierra
|
2cc8db124b
|
add blocks and rotations for the new Piston blocks
|
2011-06-30 13:30:13 -10:00 |
|
David Vierra
|
dd9fab9bac
|
playerSpawnPosition gets the world spawn by default
|
2011-06-16 13:47:58 -10:00 |
|
David Vierra
|
a5ff751de5
|
don't scan for sub-dimensions of an AlphaDimension in case of a messed up world folder
|
2011-06-15 17:07:45 -10:00 |
|
David Vierra
|
0fd54a2a00
|
need iteritems to loop through keys and values of a dict :\
|
2011-06-14 15:39:49 -10:00 |
|
David Vierra
|
875b0d0346
|
oooooopsie, this wouldn't have happened with a stronger type system
|
2011-06-14 15:36:23 -10:00 |
|
David Vierra
|
7adb20f4ed
|
add a getPlayerTag function, call it from getPlayer/SpawnPosition, and cache player tags to avoid rereading them too often
|
2011-06-14 06:11:52 -10:00 |
|
David Vierra
|
0e8752fcd4
|
added block rotations for trapdoors
|
2011-06-13 15:09:09 -10:00 |
|
David Vierra
|
7faf366e7c
|
satisfy the warning about "first parameter must be self"
|
2011-06-08 17:56:49 -10:00 |
|
David Vierra
|
d91ca462e1
|
avoid having uninitialized data in nbt.loadFile
|
2011-05-26 14:08:51 -10:00 |
|
David Vierra
|
6325035359
|
spruce and birch saplings were swapped
|
2011-05-26 14:08:29 -10:00 |
|
David Vierra
|
29b498d91b
|
added web, tall grass, shrub, april fools chest, and trapdoor
|
2011-05-26 14:03:06 -10:00 |
|
David Vierra
|
07245b867a
|
try even harder to find a matching item, by searching for damagevalue 0
|
2011-05-26 02:51:24 -10:00 |
|
David Vierra
|
20223cae8e
|
skip position-less entities in removeEntities too
|
2011-05-01 10:43:15 -10:00 |
|
David Vierra
|
9ca56ea596
|
dumpchests now observes items with differing damage values
|
2011-04-30 18:46:11 -10:00 |
|
David Vierra
|
216bd58ccf
|
avoid calculating skylight in the Nether, where it isn't needed
|
2011-04-30 17:18:36 -10:00 |
|
David Vierra
|
c27ad24f7f
|
this log is spammy, move it to debug level
|
2011-04-30 17:18:17 -10:00 |
|
David Vierra
|
19190964ba
|
update checksum for analyze output
|
2011-04-30 10:18:32 -10:00 |
|
David Vierra
|
02c2f117fd
|
dumpsigns writes to a file with explicit encoding
|
2011-04-30 10:18:21 -10:00 |
|
David Vierra
|
bf1002bf42
|
pass the compression format byte around through all of the region routines, since a chunk remembers its compress mode
|
2011-04-29 14:43:13 -10:00 |
|