David Vierra
76472aeff5
Merge pull request #125
2013-01-01 00:51:55 -10:00
David Vierra
391883fa2c
End Portal Frames are transparent. Fixes #121
2013-01-01 00:49:23 -10:00
David Vierra
fda71ca174
Update NOTEX for 1.4.6 terrain.png
2012-12-26 18:21:35 -10:00
David Vierra
307dfcbc80
Ignore profiling outputs
2012-12-25 13:11:37 -10:00
David Vierra
a84bb904b3
Change coordinates of purple block texture to a different unused block.
2012-12-25 13:11:06 -10:00
David Vierra
76e990e4d9
MCJavaLevel: Fix AttributeError in saveInPlace
...
Caused by incomplete removal of 'compressed' flags.
2012-12-25 13:11:05 -10:00
David Vierra
06f7958532
Added: Nether Brick Slabs
2012-12-25 13:11:05 -10:00
David Vierra
b653981ed9
Merge pull request #124
2012-12-25 13:10:39 -10:00
DiEvAl
b2af2d8219
Added block 36
2012-12-13 16:49:13 +02:00
dratini0
9994317248
Cleaned up pocket.yaml
...
Removed whitespace from empty lines and commented out pc-only block definitions, as they were out of date, and it will be easier to just copy any new blocks from the pc definition file.
2012-12-12 20:08:03 +01:00
dratini0
71c9935258
Finished adding new materials (based on wiki and inventory)
2012-12-12 19:56:34 +01:00
dratini0
66d8c022fd
Added some of the new blocks. Nether reactor related still ramaining, and maybe grass.
2012-12-11 22:23:37 +01:00
David Vierra
11aac46ef2
Tests: Add quick test for session locks.
2012-12-03 00:00:23 -10:00
David Vierra
9dce3120f6
Reraise ChunkNotPresent when loading chunk data instead of wrapping it in ChunkMalformed.
2012-12-02 12:47:15 -10:00
David Vierra
dd3d051112
Cleanup: Finding directories in mclevelbase.py
2012-12-02 12:47:15 -10:00
David Vierra
250f479132
Fixed: Fixed mcedit/mcedit#203 (Pocket Edition levels not relighting)
2012-12-02 12:47:14 -10:00
David Vierra
e9b72b3151
mce.py heightmap is less spammy.
2012-12-02 12:47:14 -10:00
David Vierra
24204a5cd2
Tests: run_regression_test.py now uses testfiles/AnvilWorld instead of the older alpha.tar.gz.
...
session.lock is ignored when computing checksums.
Test checksums updated.
2012-12-02 12:47:09 -10:00
David Vierra
d787801d05
Fixed: mce.py degrief works again.
2012-12-01 17:38:08 -10:00
David Vierra
328ffa1b07
Fixed: Fix #144 in cases where the entity's Pos is NaN but the entity also has xTile, yTile, zTile fields.
2012-12-01 17:37:47 -10:00
David Vierra
2745b7e542
Fixed: MCServerChunkGenerator now only holds the session lock while changing the spawn point.
...
Holding the session lock forever in the temp world cache isn't possible, so the temp worlds are opened read-only for copying chunks and read-write for updating the spawn point.
2012-12-01 16:49:25 -10:00
David Vierra
5e19f74ca5
Fixed: Dimensions check the parent world's session instead of creating their own. (xxx)
2012-12-01 15:46:57 -10:00
David Vierra
a9fdcee89e
Added: Infinite worlds can now be opened read-only. This doesn't acquire the session lock.
2012-12-01 15:46:50 -10:00
David Vierra
4d1d96863b
Catch struct errors when checking session lock.
2012-11-30 16:35:39 -10:00
David Vierra
e0f1ca1799
Fixed: Session lock is checked before all chunk writes.
2012-11-30 16:20:24 -10:00
David Vierra
761c742bf8
Info: Count chunks in unsavedWorkFolder when showing "Saved # chunks" and show dimension number also.
2012-11-28 19:37:17 -10:00
David Vierra
de36a8d507
Fixed: Chunks loaded from temp folder must be marked dirty to ensure they get saved.
2012-11-28 19:36:34 -10:00
David Vierra
fa45876986
Fixed: Mistake in BoundingBox.expand
2012-11-28 00:17:13 -10:00
David Vierra
7cdcc2b2be
Fixed: Raise ChunkMalformed for errors reading the data and instantiating the AnvilChunkData also.
2012-11-26 12:05:14 -10:00
David Vierra
603e41283f
Fixed: Make sure chunk data is at least 5 bytes long for the chunk header.
2012-11-26 02:10:39 -10:00
David Vierra
d1f000393c
Fixed: MCInfdevOldLevel now acquires and checks the world's session lock.
2012-11-25 12:33:45 -10:00
David Vierra
dfed650651
Fixed TypeError in extractChunks.
2012-11-23 02:26:37 -10:00
David Vierra
8dc4a7fb08
Fixed: UnicodeEncodeError in MCAlphaDimension.__str__
2012-11-16 18:28:16 -10:00
David Vierra
23b77c7bdb
Cleanup: Remove redundant HeightMap property
2012-11-16 14:42:46 -10:00
David Vierra
ccce8cdc73
Fixed: zlib compression level used in region files is now 2.
...
This is much faster than the default compression level, 9.
2012-11-14 02:25:44 -10:00
David Vierra
613d7b3ef5
Cleanup: Rewrite adjustCopyParameters in terms of BoundingBox intersection.
2012-11-14 00:24:35 -10:00
David Vierra
3c51ed835e
Cleanup: Check whether a point is in the level's bounds using in self.bounds
2012-11-14 00:24:12 -10:00
David Vierra
a43cfa1c11
Fixed: copyChunksFrom correctly calls copyBlocksFrom on the world.
...
The chunks don't copy when copyBlocksFrom is called on them directly because chunk.getChunk doesn't return a usable FakeChunk.
2012-11-14 00:23:34 -10:00
David Vierra
57c95b8e57
Fixed: AnvilWorldFolder.getFolderPath uses os.makedirs
to make all enclosing folders.
2012-11-13 09:22:55 -10:00
David Vierra
294c8ec142
MCServerChunkGenerator: Support Forge Mod Loader.
...
Fixes #122 . Credit goes to @cjkreklow
2012-11-13 09:22:16 -10:00
David Vierra
03566f957f
Added: Add copyChunkFrom to MCInfdevOldLevel and MCRegionFile.
...
This function copies a single chunk from the same location in another world. This is much faster than using copyBlocksFrom because it doesn't have to adjust entity locations or even fully load the chunk if it's not necessary.
2012-11-12 23:56:31 -10:00
David Vierra
ec52850bd6
RegionFile: Now raises ChunkNotPresent on reading a missing chunk.
2012-11-12 18:02:08 -10:00
David Vierra
ed6d087c49
Fixed: Use atexit to delete temporary schematic on exit.
2012-11-12 16:57:52 -10:00
David Vierra
387a70b7e0
Fixed: BoundingBox honors its 'type' attribute again.
2012-11-09 00:34:10 -10:00
David Vierra
e82c9741cc
Fixed: ZipSchematic implements saveToFile again
2012-11-08 23:32:34 -10:00
David Vierra
433fa0f94f
Fixed: Players were being loaded multiple times, once for each dimension
2012-11-08 23:31:24 -10:00
David Vierra
89648d77a2
Revert "Support dimensions with arbitrary directory names."
...
This reverts commit 90460f89db7ff340c6ebb166c555fd77d302c366.
2012-11-07 22:41:31 -10:00
David Vierra
e904341eb7
Biomes: Add biome types.
2012-11-07 04:27:50 -10:00
David Vierra
0d22baea91
Test: time_relight using a human-built structure and using natural terrain.
2012-11-07 02:45:27 -10:00
David Vierra
4569227304
Fixed: Bug in copyBlocks where entities and tile entities would be copied multiple times.
2012-11-07 00:36:38 -10:00