Guide 1 Docs 2 Reference 3
1

models global

The models this pack makes. They go into the resource pack a client is handed when it joins, so new belongs at the top of the script: calling it from a callback is an error.

Docs: Entities

Functions 1

models.new(name: string, fn: (m: ModelBuild) -> ()) → Model

Makes a model named name from the parts fn builds and returns it. Call it at the top of the script; from a callback it is an error.