0
Commit Graph

301 Commits

Author SHA1 Message Date
Danial Nickford
9b5f03bb2a fix ladder, chest, ender chest, trapped chest + orientation 2018-09-20 08:28:08 +12:00
Danial Nickford
c9e9d17e5b Add more blocks 2018-09-19 09:55:42 +12:00
Danial Nickford
c7b20643cd add banners, rearrange colored blocks by id
- add colored banners,
- rearrange the colored blocks by item id
2018-09-19 08:57:37 +12:00
Danial Nickford
786c007a75 update block properties
- powered repeaters, comparators
- lit redstone lamps/ores
- inverted daylight detector
- powered redstone wire
2018-09-19 08:56:25 +12:00
Danial Nickford
0e8aa53e7e update 1.13 underwater blocks to be water instead of air 2018-09-19 08:54:05 +12:00
Danial Nickford
a061eb9f56 remove items (not blocks) 2018-09-19 08:52:37 +12:00
Danial Nickford
2432f133c3 add & fix some blocks
add the following blocks:
- powered rails
- redstone wall torch
- attached pumpkin stem
- purpur pillar
- purpur slab
- end stone bricks
- oak gate
- observer

Fix the following blocks:
- beetroots
- pumpkin stem (was showing as attached stem)
- end rod (was showing as path block)
- colored shulker boxes (was showing as observer)
- light gray glazed terracotta
2018-09-19 08:51:34 +12:00
Danial Nickford
f45132121c remove extra whitespace 2018-09-19 08:34:24 +12:00
jspanos71
e715d491d1 Add concrete powder and other misc. blocks (#4)
* Add concrete powder and other blocks.
Add visual studio items to gitignore

* Add concrete powder and other blocks.
Add visual studio items to gitignore

* fix whitespace

* wtf... python?

* Update prismarine block ids

* dedupe dictionary

* Add mushroom items back to dictionary

* Change tabs to spaces
2018-08-24 07:55:36 -05:00
Aaron Griffith
724796959d Merge remote-tracking branch 'softer/minecraft113' into minecraft113 2018-08-18 23:01:42 -04:00
gmcnew
ca02558206 Forward compatibility 2018-08-11 14:23:42 +00:00
gmcnew
9293fc8751 Reenable support for old 1.12-era chunks 2018-08-11 00:40:14 +00:00
Softer
60f712ca25 More blocks added 2018-08-08 16:12:37 +03:00
Softer
b979939ad8 Merge branch 'minecraft113' of https://github.com/gmcnew/Minecraft-Overviewer into minecraft113 2018-08-08 14:51:26 +03:00
Andrew Chin
28dd0589b3 ignore "decorated" chunks
This seems to fix lighting problems by ignoring chunks with no lighting (wiki suggests that "decorating" happens before "lighting")
2018-08-07 20:24:42 -04:00
Aaron Griffith
e6ea08021e Always interpret long_array as 64-bit
previously, some arrays could (by chance) be interpreted as smaller integers
2018-08-07 20:09:30 -04:00
gmcnew
7236aefc94 Misc fixes 2018-08-07 22:52:32 +00:00
Softer
58db16a604 More blocks... 2018-08-07 23:07:39 +03:00
gmcnew
4661a1ac07 Add support for remaining palette sizes. 2018-08-07 03:11:48 +00:00
gmcnew
903d4a8b0d Support 9-bit palettes. 2018-08-07 02:44:57 +00:00
gmcnew
8c366936bf More block mappings! 2018-08-07 02:38:30 +00:00
gmcnew
7a4811b807 Lots more block mappings 2018-08-06 04:03:52 +00:00
gmcnew
e10b2f8960 Translate to old map format
For now, this will only work with palette indices up to 8 bits.
(Support for palette indices up to 12 bits should follow.)
2018-08-05 23:57:12 +00:00
gmcnew
bcc0027baa Reverse version-check logic 2018-08-02 02:28:36 +00:00
Nicolas F
ebdc4016d7 world: Don't call sys.exit here, raise something
A world being unsupported may not be a fatal application error in
all instances where this codepath in world.py is used, hence
throwing an exception is more sensible.
2018-05-09 14:25:05 +02:00
rymate1234
c6922386a5 Use sys.exit(1) to exit rather than throwing a ValueError 2018-03-12 23:47:50 +00:00
rymate1234
80cc71325e Throw an error if the overviewer is running on a world saved on versions of Minecraft newer than snapshot 17w47a 2018-03-12 23:43:07 +00:00
Nicolas F
d2976625b3 world: remove redundant hashing
This is probably a leftover from the memcached thing. There is no
need to hash a key to be used for hashmap access, as the hashmap
itself hashes it already, and probably with a hash more appropriate
for the situation.
2017-03-16 16:26:10 +01:00
Nicolas F
f1909e9684 Remove memcached support
Apparently we had memcached support. It was never worth it, and put
a weird md5 hash calculation in the path of regular caching. Seeing
as it was completely undocumented, I doubt anyone has ever used it.
2017-03-16 14:45:19 +01:00
Thomas Lake
1803178bc8 Need to catch CorruptNBTError in both paths 2016-12-20 12:23:41 +00:00
Andrew Chin
3938d1889c Better error handling of errors when a world fails to open.
A common case is a corrupt (or empty) level.dat file.  This condition
wasn't properly caught, yielding a less-than-useful stack trace.  Even
more concerning is that this could happen when a user is just running
"overviewer.py" to get a world listing.

This has been fixed to improve the user experience
2016-12-19 10:50:01 -05:00
Nicolas F
7dcf40fc20 Add region directory to corruption warnings
Fixes issue #1251
2015-10-18 21:33:08 +02:00
Andrew Chin
97e5985933 Allow worlds with a version of zero (temp fix for #1194) 2015-01-03 11:56:51 -05:00
CounterPillow
c15b9383c8 Remove broken special case for ancient worlds
And to whoever wrote that thing: "World10" is not 6 characters
long, so the workaround was broken anyway.
2014-06-03 18:08:27 +02:00
Andrew Chin
90071e999f Merge #1055 -- Prevent opening and parsing files which haven't been modified since the last time that the render was done. 2014-03-30 18:21:08 -04:00
Andrew Chin
c7ee8560d3 Fixes for locale issues
There were some problems when a level.dat contained a non-ascii name, or
when a level.dat lived in a directory with a non-ascii name.

Paths returned by os.listdir are encoded, so we need to decode them
before printing them.  When calculating the max length of the enumerated
world names, were we for some reason calling str() before taking the
len().  The had the effect of converting unicode strings into
non-unicode strings, which is not the correct thing to do.
2014-02-16 13:35:16 -05:00
Patrick-Emmanuel Boulanger-Nadeau
c438a37b29 Default value is compatible with the expecteed result in fetching the region for a path 2014-01-20 16:30:08 -05:00
Patrick-Emmanuel Boulanger-Nadeau
4579998663 Prevent opening and parsing files which haven't been modified since the last time that the render was done 2014-01-20 15:34:36 -05:00
Andrew Chin
f35859e026 If numpy has a problem reshaping data, issue a warning instead of crashing
Addresses #1038
2013-12-13 18:56:26 -05:00
Aaron Griffith
df732bfa25 Revert "Merge remote-tracking branch 'exhuma/master', PR #963"
This reverts commit e26727943f, reversing
changes made to 7bbb077704.
2013-12-02 07:40:00 -05:00
Michel Albert
4112b5a72e Using a dedicated logger inside overviewer_core. 2013-07-28 15:04:51 +02:00
Andrew Brown
80bf4ec806 Edited the texture-finding code for 1.6
Now correctly avoids globbing problems. Removed a bit of irrelevant code
for old style minecraft.jar. Tweaked error messages for resource packs
instead of texture files.
2013-07-04 17:58:00 -04:00
Andrew Chin
9452af8898 Added some debug stuff
Hopefully this will be useful in tracking down dimension/rendermode
issues
2013-03-26 22:09:40 -04:00
Andrew Chin
dd6538b55e Print out regionset type when run with -v 2013-03-13 21:23:52 -04:00
Andrew Chin
571f479636 Merge PR #899
Closes #898
2013-03-13 21:11:40 -04:00
Nicolas Frattaroli
44f624f64f Fixed paths with square brackets in them. 2013-03-13 20:59:53 -04:00
Christoph Burschka
d32b247db7 Follow symbolic links while finding region sets. 2013-03-10 20:24:21 +01:00
Andrew Chin
94f51136b1 Fix spawn markers
(Fallout from the arbitrary dimension name change)
2013-02-03 14:56:00 -05:00
Andrew Chin
40becc9f59 Make sure that regionset.type always has a value 2013-01-31 16:39:10 -05:00
Aaron Griffith
77fff9fa25 specifying a directory name for a dimension should work now 2013-01-06 00:43:52 -05:00