David Vierra
f6eadfac1e
Fixed: import statement automatically inserted by PyCharm was relative to the wrong source root. (again.)
2013-01-24 12:41:02 -10:00
David Vierra
52b29e8c91
Fixed: ValueError when repairing region file
...
readChunk no longer returns a (format, compressedData) pair
2013-01-13 13:24:45 -10:00
David Vierra
598ff5df42
materials.idStr now maps block IDs to idStr.
...
idStr is not unique now and was never used by MCEdit before.
2013-01-12 12:01:50 -10:00
David Vierra
fd1c64298e
Added: idStr in materials.yaml is now minecraft's internal name for each block.
...
This name is used for unstitched texture files so we'll be needing it soon.
2013-01-12 11:57:13 -10:00
David Vierra
2725e1e94f
Added: Biomes are now exported into schematic files.
...
Biomes array is indexed z, x
When importing, biomes are only copied on request.
2013-01-11 17:38:06 -10:00
David Vierra
5865930613
Correct lighting values for many blocks. Add Locked Chest.
2013-01-10 16:33:16 -10:00
David Vierra
c4da23dfb2
Add Vector.intfloor
2013-01-10 16:06:49 -10:00
David Vierra
e0d999c9af
Add Vector.normalize
2013-01-10 16:06:48 -10:00
David Vierra
b511bb6d3d
Add method Vector.length
2013-01-10 16:06:48 -10:00
David Vierra
86640ec61a
Fixed: Remove self from TAG_Compound's key not found error message
...
String formatting was taking forever.
2013-01-10 16:04:41 -10:00
David Vierra
e8364f872e
Added: Division and scalar multiplication to Vector
2013-01-10 16:04:41 -10:00
David Vierra
6ed8c45e4b
Fixed: TileEntity.copyWithOffset adjusts mob position data for mob spawner blocks
2013-01-09 01:18:37 -10:00
David Vierra
a840df700a
Fixed: ValueError in chunk copy when selection is chunk aligned but offset from destination level
2013-01-08 23:06:30 -10:00
David Vierra
f428245dc6
Fixed ValueError: shape mismatch when rotating/flipping schematics.
...
Caused by _Blocks having its axes swapped from the old Blocks
2013-01-08 22:18:16 -10:00
David Vierra
d6196eb136
TileEntity.copyWithOffset now adjusts the coordinates of teleport command blocks.
2013-01-08 21:59:27 -10:00
David Vierra
b824cfbfaf
Increase block limit to 4096. Change Schematic format slightly to store extended blockIDs.
...
InfdevOldWorld now allocates Blocks as a 16-bit array and reads Add into the top 8 bits if present. MCSchematic also allocates Blocks as uint16 and uses WorldEdit's extension to the schematic format to store the Add arrays.
Conflicts:
test/extended_id_test.py
2013-01-08 11:27:59 -10:00
David Vierra
3095eacaa3
Tests now import pymclevel modules relative to pymclevel. This removes the need to fiddle with PYTHONPATH, so run_tests.sh is removed.
2013-01-07 13:53:10 -10:00
David Vierra
1e649dc2e7
Fixed: File already exists error when deleting and recreating unsavedWorkFolder
2013-01-02 16:15:45 -10:00
David Vierra
c19ba58452
Rename Block 36 to Piston Movement Placeholder
2013-01-01 00:53:38 -10:00
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