Skip to content

IUnbakedModel.func_187965_e: getOverrideLocations -> getModels #804

@williewillus

Description

@williewillus

IUnbakedModel.func_187965_e: getOverrideLocations -> getModels

This is not just the override locations for items, this is all model paths that this IUnbakedModel depends on itself.

Why:

  • In vanilla ModelBlock, not only are override locations added, but also the parent model
  • In vanilla VariantList, which represents a model that dispatches between several weighted random submodels, it returns all of its submodels for this method.
  • When baking models, ModelBakery loads everything returned from this method

Suggesting getModels to match getTextures, but personally i think getDependencies is better.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions