Gdpc

Latest version: v7.3.0

Safety actively analyzes 641872 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

7.3.0

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

**Additions:**
- Added ZERO_2D/ZERO_3D/ZERO constants to `vector_tools`. (Thanks [Flashing-Blinkenlights](https://github.com/Flashing-Blinkenlights)!)
- Added various ordered vector list constants to `vector_tools`. (Thanks [Flashing-Blinkenlights](https://github.com/Flashing-Blinkenlights)!)
- Added `utils.rotateSequence`. (Thanks [Flashing-Blinkenlights](https://github.com/Flashing-Blinkenlights)!)

**Fixes:**
- Made some previously mutable constants immutable. (Thanks [Flashing-Blinkenlights](https://github.com/Flashing-Blinkenlights)!)

7.2.0

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

**Additions:**
- Added `vector_tools.rotate2Ddeg` and `rotate3Ddeg`. (Thanks [Flashing-Blinkenlights](https://github.com/Flashing-Blinkenlights)!)
- Added many new constants to `vector_tools`. (Thanks [Flashing-Blinkenlights](https://github.com/Flashing-Blinkenlights)!)

**Fixes:**
- Added missing return type hints to many functions in `vector_tools`. (Thanks [Flashing-Blinkenlights](https://github.com/Flashing-Blinkenlights)!)

7.1.0

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

**Additions**
- Added `interface` bindings for GDMC-HTTP `GET /entities` and `GET /players`. (Thanks [Niels-NTG](https://github.com/Niels-NTG)!)

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()` 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 `Protocol`s, making them play nicer with static type checkers (thanks [boerdereinar](https://github.com/boerdereinar)!). It is highly unlikely that this will affect your code.

**Additions:**
- Added `interface` functions for the GDMC-HTTP `/structure` endpoint. (Thanks [Niels-NTG](https://github.com/Niels-NTG) and [ZeLiu1](https://github.com/ZeLiu1)!)
- Made `Rect` and `Box` hashable. (Thanks [Niels-NTG](https://github.com/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](https://github.com/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 `Iterable`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](https://minecraft.wiki).

6.1.1

Compatible with GDMC-HTTP **>=1.0.0, <2.0.0**.

**Fixes:**
- Fixed `Block.fromBlockStateTag()` -- and therefore, `WorldSlice.getBlock()` -- crashing when retrieving certain block entities. (Discovered by [Phobos97](https://github.com/Phobos97).)

6.1.0

Compatible with GDMC-HTTP **>=1.0.0, <2.0.0**.

**Additions:**
- Added sphere and ellipsoid functions to `vector_tools` and `geometry`. (Thanks [cmoyates](https://github.com/cmoyates)!)

**Fixes:**
- Fixed in-buffer block overwrites not going to the end of the buffer, which could sometimes cause incorrect behavior. (Discovered by [Phobos97](https://github.com/Phobos97).)

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.