diff options
author | Linnea Gräf <nea@nea.moe> | 2024-12-09 17:08:12 +0100 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-12-09 17:08:12 +0100 |
commit | 911db95dd026194ee6324c83e8f183479242f2b5 (patch) | |
tree | b811871e05f04ea217b10cbac2f7910bbbdde51f /src/texturePacks/README.md | |
parent | 706a03807b12ddd5e7c46a72fc27aa30e1f9b60f (diff) | |
download | Firmament-911db95dd026194ee6324c83e8f183479242f2b5.tar.gz Firmament-911db95dd026194ee6324c83e8f183479242f2b5.tar.bz2 Firmament-911db95dd026194ee6324c83e8f183479242f2b5.zip |
WIP: Automatically generate fake item asset entries for skyblock items
Diffstat (limited to 'src/texturePacks/README.md')
-rw-r--r-- | src/texturePacks/README.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/texturePacks/README.md b/src/texturePacks/README.md new file mode 100644 index 0000000..8932817 --- /dev/null +++ b/src/texturePacks/README.md @@ -0,0 +1,13 @@ +<!-- +SPDX-FileCopyrightText: 2023 Linnea Gräf <nea@nea.moe> + +SPDX-License-Identifier: CC0-1.0 +--> + +# Technical Notes for the texture pack implementation + +Relevant classes: + +`ItemModelManager` can be used to select an `ItemModel`. This is done from the `ITEM_MODEL` component which is defaulted by the `Item` class. + +The list of available `ItemModel`s (as in `Identifier` -> `ItemModel` maps) is loaded by `BakedModelManager`. To this end, item models in particular are loaded from `ItemAssetsLoader#load`. Those `ItemAssets` are found in `assets/<ns>/items/` directly (not in the model folder) and can be used to select other models, similar to how predicates used to work |