7.0.0
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()
andplaceSign()
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
Protocol
s, 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
andBox
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 acceptIterable
arguments failing when receiving aSet
. In particular, this fixescircle(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-sizableIterable
s. - 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.