From 121d640afaad5f842b5e2d45fc3c81b0cbc974fb Mon Sep 17 00:00:00 2001 From: SmylerMC Date: Sun, 12 Nov 2023 22:31:14 +0100 Subject: [PATCH] Release 0.8.0 --- CHANGELOG.md | 9 +++++++++ litemapy/info.py | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d191582..c8f157d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +### 0.8.0b0 +* Breaking change: the `BlockState` constructor no longer takes properties as a single `properties` argument. +Each property must be supplied as its own keyword argument instead. +E.g. `BlockState("minecraft:acacia_log", facing="west")` +* Added `BlockState.with_properties()` and `BlockState.with_blockid()` to create copies of block states +but with different ids and properties. +* Added `Region.filter()` to allow for efficient block replacement. +* Schematic palettes are now always optimized before saving + ### 0.7.0b0: * Method to convert regions to the sponge schematic NBT format * Fix crash with litematics created by newer versions of Litematica "id -> The required key is missing in the (Tile)Entity's NBT Compound", diff --git a/litemapy/info.py b/litemapy/info.py index 75d7a55..5d0611b 100644 --- a/litemapy/info.py +++ b/litemapy/info.py @@ -3,4 +3,4 @@ MC_DATA_VERSION = 2975 # Minecraft 1.18.2 (https://minecraft.wiki/w/Data_version) DEFAULT_NAME = "Unnamed" # Default name given to schematics and regions if unspecified LITEMAPY_NAME = "Litemapy" # Used to identify schematic created with Litemapy in metadata -LITEMAPY_VERSION = "0.7.2b0" # Unique version string +LITEMAPY_VERSION = "0.8.0b0" # Unique version string