David Vierra
85806124c2
Try to get travis-ci going
2013-10-13 11:53:03 -10:00
David Vierra
d094f2eade
get/setPlayerPosition now return the position of the player's eye instead of his feet.
2013-10-07 18:43:27 -10:00
David Vierra
0a00617407
Merge pull request #138
2013-10-07 18:21:33 -10:00
David Vierra
8e5b7d9ddd
Raise a ChunkTooBig error when trying to save a chunk that exceeds region file allocation limits.
2013-10-06 13:18:46 -10:00
David Vierra
c7a94c54eb
Added block IDs, names, and lighting info for blocks #159-175 (Stained Clay and up)
...
Renamed Flower to Dandelion
2013-09-20 11:23:19 -10:00
MestreLion
da3a1197d6
update for Minecraft 1.6.2
2013-08-14 00:07:43 -03:00
David Vierra
04fc6f91ec
Revert "Fixed: TileEntity.copyWithOffset adjusts mob position data for mob spawner blocks"
...
This reverts commit 6ed8c45e4b2db4b1482f875f815fc3d49c3f91e5.
2013-05-15 16:52:48 -10:00
David Vierra
7d658c105c
Revert "Fixed: Incorrect SpawnPotentials structure when adjusting spawn positions during copy and import."
...
This reverts commit 66c934725f1daac641d82e452e1f6a1a2f432815.
2013-05-15 16:52:18 -10:00
David Vierra
66f7be253c
Debug: Move static def generating code into a function.
...
Fixes #136
2013-04-22 13:20:58 -10:00
David Vierra
66c934725f
Fixed: Incorrect SpawnPotentials structure when adjusting spawn positions during copy and import.
...
Described in mcedit/mcedit#347
2013-04-20 16:02:10 -10:00
David Vierra
3dcd449e68
Added: Block rotation for several new blocks.
2013-03-24 18:53:12 -10:00
David Vierra
d02d44641e
Static defs for blocks > 115
2013-03-24 17:16:40 -10:00
David Vierra
cc28986b1e
Added: Block names for Minecraft 1.5
2013-03-11 13:16:21 -10:00
David Vierra
a97ce1c8c6
mce.py: dumpsigns: Don't decode sign text now that TAG_String automatically decodes it.
2013-03-09 20:50:25 -10:00
David Vierra
c830ee6d71
Fixed: Schematic entities have wrong positions after rotating.
...
It is probably bad to cache _fakeEntities in the first place, but clear it when transforming the schematic.
Fixes mcedit/mcedit#292
2013-02-15 18:33:00 -10:00
David Vierra
57e5188851
Debug: Change loggers to use __name__ instead of __file__
2013-02-11 13:14:08 -10:00
David Vierra
1674f6f055
Fixed: Wooden buttons (id 143) not rotating. Fixes mcedit/mcedit#278
2013-02-01 22:35:50 -10:00
David Vierra
b0fd34df32
Fixed: Off-by-one error in schematic export with extended IDs.
2013-02-01 12:46:43 -10:00
David Vierra
c60c3f25ed
Added: RegionFile now touches the chunk's timestamp field whenever a chunk is saved.
2013-01-31 13:11:22 -10:00
David Vierra
ef4c1f455f
Fixed: Error when exporting object with add blocks set.
2013-01-30 23:47:00 -10:00
David Vierra
72b874c82e
Fixed: Error when rolling an object.
...
Need to pass None to dict.pop to avoid the error.
2013-01-30 23:40:18 -10:00
David Vierra
2e43477ae1
Fixed: Biomes is a byte array, not an int array.
2013-01-29 10:08:38 -10:00
David Vierra
2420f33514
Fixed: Error when importing rotated schematic and copying biomes.
...
Biomes array is transformed along with the Blocks array, except for roll() which discards it.
2013-01-26 23:47:38 -10:00
David Vierra
2cfc87753c
Test: Schematic.testRotate now fails when importing rotated biomes
2013-01-26 23:47:37 -10:00
David Vierra
1f22806ad5
Fixed: Anvil chunks are given a Biomes array when created, and if they don't already have one.
2013-01-26 23:47:37 -10:00
David Vierra
3cb407a2a6
Add built docs to gitignore
2013-01-26 23:47:37 -10:00
David Vierra
8e4a87157a
Fixed: mce.py analyze is now 4096 block ID aware.
2013-01-24 12:51:30 -10:00
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