Mcresources

Latest version: v1.6.1

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

Scan your dependencies

Page 1 of 5

1.6.1

Changes

- Fix swapped `any_of`, `all_of` conditions.
- Re-add `loot_tables.alternatives` for use in loot entries.
- Fix tests not testing anything and always passing.

1.6.0

This update tracks 1.20.1, pack format 15.

Changes

- Add `py.typed` marker, as per PEP-561
- Add `mcresources.atlases` for the new atlas system.
- Add some helpers to advancements.
- Update `loot_tables` methods to use `any_of`, `all_of`, etc.
- Add `ResourceManagerblock_and_item_tag`

1.5.11

Changes

- Fix an issue where `rm.crafting_shapeless()` wouldn't allow the insertion of array based ingredients.
- Rename `loot_tables.not_condition()` to `inverted_condition()` and fix the condition name to match what actually exists in vanilla.

1.5.10

Changes

- Add additional tag variants for new world gen tags.
- Add `BlockContextwith_item_tag`
- Add `ensure_ascii` argument to `ResourceManager`, which is passed along to any generated JSON files.

1.5.9

Changes

- Fix an import error in `block_states` in 1.5.8

1.5.8

Changes

- Add support for optional tag entries. Suffixing any tag entry with a `?` will mark it as optional, and use the vanilla `{"required": False, "id": "minecraft:foo"}` syntax.
- Add an optional `prefix_path` parameter to `ResourceManager.data()`, allowing full control over the generated resource path.
- Rewrote the documentation. The [wiki](https://github.com/alcatrazEscapee/mcresources/wiki) should now be a (mostly) comprehensive overview of the pydoc comments in the source code, with full navigation and link support.

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.