From 3d1d3615b466120e199f8f1bb40f59787a61dd01 Mon Sep 17 00:00:00 2001 From: object-Object Date: Sun, 7 Apr 2024 12:51:20 -0400 Subject: [PATCH] Update changelog and readme for textures and zh_cn update --- CHANGELOG.md | 21 +++++++++++++++++++++ README.md | 3 +-- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ef2bac23..cabd20be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,27 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and [Pydantic's HISTORY.md](https://github.com/pydantic/pydantic/blob/main/HISTORY.md), and this project *mostly* adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [UNRELEASED] + +### Added + +* New block rendering system, implemented entirely in Python! This replaces [minecraft-render-py](https://github.com/hexdoc-dev/minecraft-render-py) and removes hexdoc's Node.js dependency. Block renders should now be much closer to how items look in inventories ingame. + * Note: Animated models currently only render the first frame of the animation. + * Note: `minecraft-render` is still included as a dependency for backwards compatibility reasons. This will be removed in a future release. +* New command: `hexdoc render-model` +* New dependencies: `frozendict`, `moderngl[headless]`, `moderngl-window` + +### Changed + +* Update `zh_cn` translations, by @ChuijkYahus in [#69](https://github.com/hexdoc-dev/hexdoc/pull/69). +* Blockstates are no longer taken into account when selecting block models to render. + +### Removed + +* ⚠️ BREAKING: Removed `HexdocPythonResourceLoader`, as it was only needed for the old rendering system. +* ⚠️ BREAKING: Removed `HexdocAssetLoader.load_blockstates` and `HexdocAssetLoader.renderer_loader`. Several argument/return types have been changed from `IRenderClass` to `BlockRenderer`. +* Removed `hexdoc render-block` subcommands. + ## `1!0.1.0a11` ### Added diff --git a/README.md b/README.md index c630b78f..ed14adeb 100644 --- a/README.md +++ b/README.md @@ -18,9 +18,8 @@ This is the library that powers [Hex Casting](https://github.com/gamma-delta/Hex There are issues related to installing hexdoc with the following dependency versions: * Python 3.12+ on Windows: https://github.com/aio-libs/multidict/issues/887 -* Node.js 20+: https://github.com/stackgl/headless-gl/issues/268 -hexdoc is known to work with Python 3.11 and Node.js 18. +hexdoc is known to work with Python 3.11. ## Plugins