Danial Nickford
f45132121c
remove extra whitespace
2018-09-19 08:34:24 +12:00
Leigh Oliver
f4e5b54651
Fixed behaviour of 'defaultZoom' property.
...
The initial map view was not affected by the 'defaultZoom' property in the config file. This has been fixed, by passing the value into 'centers' collection, when it is initially created. Additionally, the 'defaultZoom' config property is passed to the first overviewer.map.setView statement, to ensure correct zoom level on the initial page load.
2018-09-13 11:02:11 +10:00
Andrew Chin
e76d364b1e
NBT: Use a replacement strategy to deal with undecodable data.
...
The NBT spec requires that all strings are UTF-8 encoded. However in
practice, non-UTF-8 data can get into a level.dat file (generally via
some weird user-supplied characters in signs. This results in the
following error:
CorruptNBTError: could not parse nbt: 'utf8' codec can't decode byte
0xc0 in position 3: invalid start byte
This happens often enough that we should just ignore this error by using
the 'replace' strategy to replace the invalid data
2018-09-06 22:20:09 -04: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
Aaron Griffith
203715d05e
do not render internal faces for water
...
This is closer to the old water rendering method, and better allows
users to see underwater structures.
2018-08-15 17:11:09 -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
b7bf62b350
A 1.13-compatible texture pack is required
2018-08-07 04:31:29 +00: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
a61131dc4f
Allow new NBT type 12 (long array) to be read
2018-08-04 22:03:44 +00:00
gmcnew
be5f4c6ed0
Finish updating texture names
2018-08-03 01:11:18 +00:00
gmcnew
3a25138158
Minor texture fixes
2018-08-02 02:31:09 +00:00
gmcnew
bcc0027baa
Reverse version-check logic
2018-08-02 02:28:36 +00:00
gmcnew
9427566fec
Partial texture path fixes
2018-08-02 02:25:10 +00:00
Vladislav Glinsky
7de8fa4f17
Fix missing titles for markers
2018-07-31 00:41:00 +03:00
Nicolas F
39d9dba814
Merge branch 'whitespaces' of https://github.com/r15ch13/Minecraft-Overviewer into r15ch13-fixes
2018-06-14 13:54:34 +02:00
Richard Kuhnt
bc37eaef81
Remove trailing whitespaces
2018-06-13 20:30:59 +02:00
Richard Kuhnt
c6e674e6ce
Remove jQuery and underscore dependencies
...
- replace $.each with .forEach
- replace _.each with .forEach
- replace _.isFunction with typeof comparison
2018-06-13 20:11:46 +02:00
Richard Kuhnt
f58e5bd626
Use <noscript> to display message when JavaScript is disabled
2018-06-13 18:57:37 +02:00
Aaron Griffith
befb25a8f8
Merge pull request #1441 from kkuhn3/inverted_daylight_sensor
...
issues-1411: Block Addition: Add inverted daylight sensor.
2018-06-06 12:46:22 -04:00
Nicolas F
a129274aa1
Remove broken marker centreing code
...
Apparently, having an image's origin be in the center is too
advanced of a concept for The Web™. I guess we can't do this then.
2018-05-09 16:22:21 +02:00
Nicolas F
6fbced79bf
Fix custom icons not showing up properly
...
Individual POIs such as player POIs can have their own icon per
POI, so we should respect that.
2018-05-09 15:45:31 +02:00
Nicolas F
cf5a14a088
Increase the Overviewer C extension version
2018-05-09 14:36:11 +02:00
Mitchell Skaggs
717fcdc5fe
Add 3 more touch-up points for smooth lighting
...
Closes #1370
2018-05-09 14:36:11 +02: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
Andrew Chin
b9be8f8ffd
Fixes and improvements to leaflet marker support
2018-05-06 13:47:51 -04:00
Andrew Chin
753191f68e
Merge #1311 into master
2018-05-06 13:47:17 -04:00
Nicolas F
12c12d128f
Set the attribution prefix
2018-05-06 17:44:07 +02:00
Nicolas F
05cc9e60e7
Don't collapse marker group control
2018-05-06 17:12:03 +02:00
Nicolas F
23ea1918ea
Update leaflet to 1.3.1
2018-05-06 17:11:46 +02:00
Nicolas F
ea33ebe2fb
Assume 32x32 marker size so they get centred
...
Maybe expose this as an option to the markers dict later, with
the anchor as an option too.
2018-05-06 16:59:27 +02:00
Nicolas F
614663f601
Show marker group display names
2018-05-06 16:53:32 +02:00
Karl Kuhn
e71a843df2
issues-1411: Block Addition: Add inverted daylight sensor.
2018-04-11 11:10:09 -04: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
Kevin Chang
e996bd1e47
fix pillow no longer allowing RGBA JPEG
2018-02-22 15:38:29 -08:00
Aaron Griffith
22b9ab3f63
Merge many branches into master.
...
Branches:
* mioux/sensor-false #1359
* bobfrankly/Terracotta_Texture_Fix #1408
* bobfrankly/Documentation #1407
* lyknode/fix-slime-algo #1400
* 3decibels/uuidcache_expire #1359
2017-08-24 18:22:35 -04:00
Sylvain Rumeu
9cf068973d
Removing deprecated option in index.html : ?sensor=false
2017-08-24 18:19:58 -04:00
BobFrankly
16d8845eb6
Terracotta texture rotation fix
...
Terracotta blocks have differing rotations on each side, necessitating different handling for each directional map render. This fix was aligned against "Light Grey Glazed Terracotta", I'm presuming the rest of the colors follow.
2017-08-24 06:51:46 -07:00