From 911db95dd026194ee6324c83e8f183479242f2b5 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Mon, 9 Dec 2024 17:08:12 +0100 Subject: WIP: Automatically generate fake item asset entries for skyblock items --- src/texturePacks/README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/texturePacks/README.md (limited to 'src/texturePacks/README.md') 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 @@ + + +# 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//items/` directly (not in the model folder) and can be used to select other models, similar to how predicates used to work -- cgit