gdmc_http_client_python
gdmc_http_client_python copied to clipboard
A few python scripts demostrating how to interface with the http interface Minecraft mod
The Minecraft Wiki maintainers have decided to move away from Fandom. More information can be found here: https://minecraft.wiki/w/Minecraft_Wiki:Moving_from_Fandom. This PR updates all the URLs to the new domain: minecraft.wiki
the heightmap data structure is indexed 0..build_area_size. So when we use in_world coordinates to access the heightmap, it throws an error. This PR fixes that.
Line 57 in worldLoader.py is unable to read file buffer: `Error: Internal server error: java.util.ConcurrentModificationException Traceback (most recent call last): File "c:\Users\HSTE\GMDC_2022\examples\simple_village.py", line 64, in WORLDSLICE = WL.WorldSlice(STARTX, STARTZ, File...
Just a minor thing: the block `minecraft:stone_stairs` is not in `BLOCKS` in `lookup.py`. It is in `STAIRS` though. Hopefully this is of any use, otherwise feel free to ignore me.
**Feature branch: `None`** When using a buildarea with negative coordinates, a `ValueError: negative dimensions are not allowed` is thrown. ### Error: ```py Traceback (most recent call last): File "visualizeMap.py", line...
**Feature branch: `None`** Since quite a few of the block groups have common patterns (e.g. colours), it would be more robust to have these lists generated rather then static. ###...
**Feature branch: `None`** If you import sub-modules from the library (for example, GEO) without a minecraft world open, a large scary error message shows. Either you should be amble to...
**Feature branch: `None`** The cyclomatic complexity could be reduced to improve legibility and possibly speed (currently 21, 15 would be better).
**Feature branch: `None`** Currently testing is done by a single script and the tests cover very little functionality. Ideally we should make use of better-suited tools and extend the range...
**Feature branch: `None`** When an IndexError appears due to unloaded chunks, return a more user-friendly message.