David Vierra
9a907d34e1
added off-color leaves
2011-11-11 13:04:50 -10:00
David Vierra
2cebca596f
add slot names for item-containing tile entities
2011-11-11 08:06:31 -10:00
David Vierra
c19e5a7e69
change default (absent) texture to a new pink block
2011-11-11 03:56:41 -10:00
David Vierra
76bb92324f
update the internal items_txt
2011-11-11 03:56:24 -10:00
David Vierra
608af8a8e3
add known entityIDs and add Piston and Cauldron structures
2011-11-11 03:56:09 -10:00
David Vierra
04b85ee62e
fix jarfile path encoding for windows, because Popen only accepts encoded strings
2011-11-10 15:01:10 -10:00
David Vierra
e1e0ae6152
use view('int8').clip(0, 15) to constrain light values more cheaply, and change the maximum() calls to use the out param to avoid extra allocations
2011-11-10 12:30:22 -10:00
David Vierra
22541f5bd4
generateLightsIter now yields more accurate progress estimates, plus progress info strings
2011-11-10 12:28:13 -10:00
David Vierra
e1c7020207
filenames may be unicode, so use unicode format strings
2011-11-10 03:28:50 -10:00
David Vierra
cf5b162d1d
tempWorldCache must be keyed on both the server version and the level's seed
2011-11-10 03:28:16 -10:00
David Vierra
1a6e9c1c66
unicode-format the path to the server jar, because python won't promote the format string to unicode for us :(
2011-11-08 09:04:44 -10:00
David Vierra
ce9414ec4d
fixed the name of indev diamond blocks
2011-11-08 09:04:19 -10:00
David Vierra
446a55156d
fix up entities in indev levels to have TAG_Double for motion and pos, to be compatible with modern levels. (xxx do this in copyBlocksFrom?)
2011-11-06 00:34:10 -10:00
David Vierra
856c9d7bf7
update to items.txt for 1.9pre5. (Thanks, copyboy!)
2011-11-06 00:33:30 -10:00
David Vierra
ab865675c4
Don't compute skylight in The End.
2011-11-02 11:39:54 -10:00
David Vierra
7b92998368
use numpy.clip to ensure a minimum light absorption of 1. remove any extra +1 and -1 terms that previously adjusted for that minimum.
2011-11-02 11:39:31 -10:00
David Vierra
7e299b3c8c
leaves' Decaying and Permanent bits were swapped
2011-11-01 00:05:10 -10:00
David Vierra
b39cb3e7e6
need to return -1 from __cmp__ to return "less than"
2011-11-01 00:04:35 -10:00
David Vierra
464ecd818b
add unnamed data variants for Crops, to set the textures
2011-10-30 20:46:23 -10:00
David Vierra
777ec18ce2
fix graphics for slab and double slab variants
2011-10-30 20:06:12 -10:00
David Vierra
41fe391c2a
can only compare Block against another Block (for now)
2011-10-30 20:05:50 -10:00
David Vierra
214c5a547c
Pocket Edition: Red Rose is now Cyan Flower
2011-10-29 19:06:04 -10:00
David Vierra
58514cca27
fix stone step graphics, change "Grey" spelling to "Gray" as it is in in game, and add "aka: Aqua Wool" to Light Blue Wool to create the connection
2011-10-29 18:56:18 -10:00
David Vierra
e3f90770f2
static block defs for indevMaterials
2011-10-29 18:19:28 -10:00
David Vierra
9a65c28829
MCMaterials' "type" array is 2D, so when Block.type is fetched, index again with blockData
2011-10-29 18:16:36 -10:00
David Vierra
fd6e0f8309
add indev materials and correct classic cloth colors
2011-10-29 18:15:37 -10:00
David Vierra
731390e40a
make MCMaterials an iterable over its own blocks
2011-10-29 18:15:06 -10:00
David Vierra
b82b617f8b
correctly set materials for extracted schematics (.materials= doesn't do it)
2011-10-29 18:14:34 -10:00
David Vierra
ba96a653af
store the yaml data on the MCMaterials object in addition to creating blocks from it, so we can check how much yaml data was loaded into one.
2011-10-29 15:10:52 -10:00
David Vierra
729008c2d3
show debug info when looking for .yaml files
2011-10-29 14:43:51 -10:00
David Vierra
bfc65ad41b
Ender Stone -> End Stone, Wool -> White Wool
2011-10-29 14:35:32 -10:00
David Vierra
5d99ead1b1
make AllStairs into a property
2011-10-29 14:35:19 -10:00
David Vierra
7aece200ea
create self.aka correctly as a 2D array
2011-10-28 16:55:16 -10:00
David Vierra
0e23672390
pocket.yaml: add leaf flavors and conversion hint for white wool -> light grey wool
2011-10-28 16:54:52 -10:00
David Vierra
8b8898c6df
Merge pull request #55 from hetmankp/master
...
More finegrained loggers (issue #53 )
2011-10-26 04:18:30 -07:00
David Vierra
882e1b36f7
tests now clean up after themselves
2011-10-25 15:35:54 -10:00
David Vierra
c5479867af
entity.py is imported by mclevelbase
2011-10-25 03:01:45 -10:00
David Vierra
916673db19
return a dummy item instead of raising an exception, like MCMaterials.blockWithID
2011-10-25 02:58:33 -10:00
David Vierra
4e1bcaeb5d
use SHGetSpecialFolderLocation in a second attempt to get a unicode string for the APPDATA folder (os.environ is broken on win32)
2011-10-25 02:56:56 -10:00
David Vierra
2ca14695f3
'blocks' command lists blocks nicely when given a single block ID
2011-10-25 02:55:21 -10:00
David Vierra
1b3cb5bbed
optimization: assume the server will generate at least 11x11 chunks for us.
2011-10-25 02:15:04 -10:00
David Vierra
babcd7a5f9
fix initial materials for schematics lacking a Materials tag; allows editing and saving these files
2011-10-25 02:14:05 -10:00
David Vierra
44b1857802
blocks are now defined in .yaml files. added a yaml library.
...
the .yaml format is an extended version of the one used by Minecraft X-Ray. fields are added for data variants, extra search terms, and lighting info. tables for converting blocks are now inferred from the block info: for each source block's name, it will search the destination's block info for names or aliases (aka) that match or contain the name.
the MCMaterials objects gained the [] operator, which can accept a block name, block id, or (id, data) pair.
2011-10-25 01:23:01 -10:00
David Vierra
1f7c0995b1
fix an incorrect auto-import
2011-10-16 17:53:08 -10:00
David Vierra
5ed1fc5bc3
fixed HeightMap and chunk header for pocket chunks
2011-10-16 14:17:40 -10:00
David Vierra
7d2ec07a1a
skip sky lighting in The End
2011-10-14 20:46:17 -10:00
David Vierra
b892d9bc95
remove aether from dimension names
2011-10-14 19:43:23 -10:00
David Vierra
c3206b236e
show server output using info()
2011-10-14 19:43:08 -10:00
David Vierra
119ec171de
add dimension name for The End
2011-10-14 18:00:30 -10:00
David Vierra
61812ad549
be sure to yield once before stopping iteration
2011-10-14 18:00:21 -10:00