Skip to content

7.0.0

Compare
Choose a tag to compare
@avdstaaij avdstaaij released this 22 Mar 21:21
· 16 commits to master since this release

Compatible with GDMC-HTTP >=1.0.0, <2.0.0 and Minecraft 1.20.2.

Breaking:

  • GDPC now assumes Minecraft 1.20.2 in places where the Minecraft version matters (see the change below).
  • Updated signData(), signBlock() and placeSign() to the Minecraft 1.20 format, which supports text on both sides of signs. The parameter names have changed, but the positions of the original parameters have not.
  • Changed the VecLike classes to Protocols, making them play nicer with static type checkers (thanks boerdereinar!). It is highly unlikely that this will affect your code.

Additions:

  • Added interface functions for the GDMC-HTTP /structure endpoint. (Thanks Niels-NTG and ZeLiu1!)
  • Made Rect and Box hashable. (Thanks Niels-NTG!)

Fixes:

  • Fixed Transform.inverted()/Transform.__invert__(), which were implemented incorrectly and did not actually give the inverse in some cases. (Discovered by xlenstra.)
  • Fixed certain vector_tools functions that accept Iterable arguments failing when receiving a Set. In particular, this fixes circle(filled=True) and related calls. (Discovered by AHumanIBelieve and ShinryuSHH on Discord.)
  • Fixed bookData() adding extra empty lines after full-width lines.
  • Fixed Transform.apply() failing when receiving a non-pyglm vector.
  • Fixed lineSequence functions failing for non-sizable Iterables.
  • Fixed filled3D(Array) functions failing when a bounding box is not passed.
  • Fixed WorldSlice crashing when the world has a non-standard height. (Discovered by MrSQ on Discord.)
  • Updated all Minecraft wiki links to use minecraft.wiki.