provide Extra Models
abstract void provideExtraModels(ResourceManager manager, Consumer<Identifier> out)
Content copied to clipboard
Provides an opportunity inform the game that you would like it to load and bake a model,even if that model is not used by any blocks or items.
Parameters
out
Accepts paths to be loaded. Arguments that are ModelIdentifier will beloaded through the blockstate JSON system or, if the variant is {@code inventory}
, the item model folder.Otherwise, the argument is directly loaded as a JSON.For example,
new Identifier("mymod", "foo/bar")
/assets/mymod/models/foo/bar.json
Sources
jvm source
Link copied to clipboard