Skip to content
This repository has been archived by the owner on Mar 20, 2020. It is now read-only.

Wurstmineberg Minecraft API 2.3.0 — block info

Compare
Choose a tag to compare
@fenhl fenhl released this 20 Apr 22:56
· 44 commits to master since this release

This release merges the /v2/world/<world>/chunks/overworld/column/<x>/<z>.json, /v2/world/<world>/chunks/nether/column/<x>/<z>.json, and /v2/world/<world>/chunks/end/column/<x>/<z>.json endpoints into a single /v2/world/<world>/chunks/<dimension>/column/<x>/<z>.json endpoint, which accepts the following values for <dimension>:

  • overworld or 0 for the Overworld
  • nether or -1 for the Nether
  • end or 1 for the End

The /v2/world/<world>/chunks/<dimension>/chunk/<x>/<y>/<z>.json endpoints have been merged similarly. This is a fully backwards-compatible change.

Additionally, there is a new /v2/world/<world>/chunks/<dimension>/block/<x>/<y>/<z>.json endpoint which outputs data about a single block in the same format the chunk/<x>/<y>/<z>.json endpoint uses for entire chunk sections. The coordinates are block coordinates, not chunk coordinates as with the other endpoints in /v2/world/<world>/chunks/.

Additionally, the following minor changes have been made:

  • The documentation page for version 1 of the API now includes a deprecation notice.
  • The most recent release number is now included on the documentation page for version 2 of the API even when not on the master branch.
  • The /v2/ endpoints now correctly handle legacy Minecraft accounts (that is, accounts which were created before the introduction of Mojang accounts and have not been migrated).