🦈 GET ROTATED Idiot 🦈

This commit is contained in:
quat1024
2023-06-30 04:59:10 -04:00
parent e1408c5a7a
commit 338e45d016
8 changed files with 64 additions and 150 deletions

View File

@@ -16,14 +16,13 @@ Template blocks can be placed in the world, then right-clicked with a full-size
## Todo
* Fix the item model lol, broke it with the new system (might need a ModelLoadingRegistry registerVariantProvider as a last resort)
* Re-generalize the model system (I removed a layer of indirection while rewriting it, so it's just slopes now)
* See what I can do about using the vanilla rotation system (`ModelBakeSettings.getRotation`) instead of manually rotating the `Mesh`
* A simplification of the mesh system would *definitely* reduce the friction of adding new meshes (see all the `paintXxx` stuff in `SlopeMeshTransformer`, it's fairly ugly)
* Upside-down slopes would be nice...
* (if i may): Packages-ish "retexturing" of json blockmodels
* Upside-down slopes would be nice...
* Pass UVs as part of the mesh and retexture them at runtime too
## Notes for addon developers
To create your block, instantiate or extend `TemplateBlock`. Pass your `Block.Settings` through `TemplateBlock.configureSettings` to wire up the "click for glowstone" feature. Create an `ItemBlock` as normal, and create a `BlockEntityType` by instantiating or extending `TemplateEntity`.
Next, wire up the custom model. im going to refactor this in like 5 seconds so im not documenting it >:).
Next, wire up the custom model todo document this, it's easy