mirror of
https://github.com/Jacobwasbeast/LegacyWeaveLoader.git
synced 2026-07-12 13:49:44 +00:00
feat(models): add block model boxes + picking
This commit is contained in:
@@ -39,3 +39,14 @@ Block and item models are supported using Java-style JSON assets:
|
||||
- **Entities (future):** `assets/examplemod/models/entity/{name}.json`
|
||||
|
||||
The `examplemod` namespace should match your mod ID (lowercase).
|
||||
|
||||
To drive an icon from a model JSON, use:
|
||||
|
||||
```csharp
|
||||
.Model("examplemod:block/ruby_ore")
|
||||
.Model("examplemod:item/ruby")
|
||||
```
|
||||
|
||||
WeaveLoader reads the model JSON and uses its texture for the icon.
|
||||
|
||||
For block items, WeaveLoader uses the block model by default. Item models are optional.
|
||||
|
||||
Reference in New Issue
Block a user