Skip to content

Releases: Niels-NTG/gdmc_http_interface

GDMC-HTTP 0.7.0 (Minecraft 1.19.2)

28 Dec 22:26
96ed305
Compare
Choose a tag to compare

Changelog:

  • PUT /blocks endpoint can now accept a JSON-formatted request body as input using the request header "Content-Type": "application/json". The format is identical the response of the GET /blocks with the "Accept": "application/json" request header, with a few minor additional features:
    • For each placement instruction, x, y and z are optional. If omitted, it uses the coordinate set in the request's URL query as a fallback, or 0 if these aren't set.
    • For each placement instruction, x, y and z can be a integer ("x": 32) or use tilde ("x": "~32") or caret ("x": "^32") notation in a string.
    • Block state ("state") and block entity data ("data") can be an JSON object, a single string or can be omitted all together.
    • When placing blocks with PUT /blocks, the "shapes" of directly adjacent blocks are updated, unless the doBlockUpdates flag is explicitly disabled. This means that placing a fence block directly adjacent to an existing block changes the shape of the fence such that it makes the appropriate connections.
  • JSON response format of PUT /blocks has changed to a simple array of strings.
  • For GET /chunks, the binary format is now the default unless the "Accept" header is set to "application/json" or "text/plain".
  • POST /structure can now accept both GZIP-compressed and uncompressed NBT files.
  • GET /structure can now output GZIP-compressed (default) or uncompressed NBT files. The latter can be achieved by setting the request header "Accept-Encoding": "*".
  • /version now returns a 405 is any other HTTP method besides GET is used.
  • Improvements to code readability.
  • Minor improvements to performance.

GDMC-HTTP 0.6.5 (Minecraft 1.19.2)

21 Dec 23:03
Compare
Choose a tag to compare

Changelog:

  • Add GET /structure endpoint, for generating an NBT-formatted file of an area of blocks in the world.
  • Add POST /structure endpoint, for placing an NBT-formatted file of a structure into the world.

GDMC-HTTP 0.6.4 (Minecraft 1.19.2)

17 Dec 14:55
Compare
Choose a tag to compare

Changelog:

  • Enable GET /chunks to return a JSON-formatted response when the request header Accept is set to application/json.

GDMC-HTTP 0.6.3 (Minecraft 1.19.2)

17 Dec 14:11
Compare
Choose a tag to compare

Changelog:

  • Allow negative values for range coordinates in all endpoints that take the dx, dy and dz parameters.

GDMC-HTTP 0.6.2 (Minecraft 1.19.2)

16 Dec 22:10
Compare
Choose a tag to compare

Changelog:

  • Fix plain text response for GET /blocks endpoint

GDMC-HTTP 0.6.1 (Minecraft 1.19.2)

16 Dec 21:14
Compare
Choose a tag to compare

Changelog:

  • Add GET /biomes endpoint to request biome of a location in the world.
  • Minor performance enhancements.

GDMC-HTTP 0.6.0 (Minecraft 1.19.2)

16 Dec 15:37
0994625
Compare
Choose a tag to compare

Changelog:

  • GET /blocks can return multiple blocks within a given area.
  • JSON response format of GET /blocks is now a JSON array instead of a single object.
  • Response of GET /blocks now always includes a block's position in front of its material.
  • Response of GET /blocks now can include tile entity data associated with a block (eg. contents of a chest).
  • Endpoint OPTIONS /blocks has been removed.
  • PUT /blocks can now also process block entity data (eg. chest contents, a book on a lectern, armor on an armor stand, etc.).
  • Upgrade to Forge 1.19.2-43-2.0.
  • Some minor performance improvements.

GDMC-HTTP 0.5.3 (Minecraft 1.19.2)

13 Dec 19:40
Compare
Choose a tag to compare

Changelog:

  • Implement parameter for specify target dimension (overworld, nether, end, etc.) for the /blocks, /command and /chunks endpoints. For example PUT /blocks?dimension=nether places blocks in the nether instead of the overworld. If parameter is omitted it defaults to the overworld.
  • Fix relative position placement for blocks with a ~<int> position when placing blocks with the PUT /blocks endpoint.
  • Implement OPTIONS method for the /blocks endpoint.

GDMC-HTTP 0.5.1 (Minecraft 1.19.2)

09 Dec 17:41
Compare
Choose a tag to compare

Changelog:

  • Add GET /version endpoint, to get the current Minecraft version

GDMC-HTTP 0.5.0 (Minecraft 1.19.2)

06 Dec 22:44
7d0063b
Compare
Choose a tag to compare

Changelog:

  • Adds compatibility for Minecraft version 1.19.2