tutorial:dynamic_model_generation
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tutorial:dynamic_model_generation [2021/08/07 19:08] – Fix some code errors lvanderzande | tutorial:dynamic_model_generation [2022/11/05 12:05] (current) – jab125 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | :!: //This page has been replaced by the Fabric Data Generation API tutorials, [[tutorial: | ||
| + | |||
| ====== Dynamic Model Generation ====== | ====== Dynamic Model Generation ====== | ||
| Dynamically generated models can mainly be used to add models to items or blocks that are generated, or if you want to auto-create them for a large number of items or blocks. | Dynamically generated models can mainly be used to add models to items or blocks that are generated, or if you want to auto-create them for a large number of items or blocks. | ||
| Line 55: | Line 57: | ||
| model.id = id.toString(); | model.id = id.toString(); | ||
| cir.setReturnValue(model); | cir.setReturnValue(model); | ||
| - | cir.cancel(); | ||
| } | } | ||
| } | } | ||
| </ | </ | ||
tutorial/dynamic_model_generation.1628363303.txt.gz · Last modified: 2021/08/07 19:08 by lvanderzande