Class ConditionalModelLoader

java.lang.Object
net.neoforged.neoforge.client.model.ConditionalModelLoader
All Implemented Interfaces:
UnbakedModelLoader<UnbakedModel>

public final class ConditionalModelLoader extends Object implements UnbakedModelLoader<UnbakedModel>

Loads the model it is specified in only when all specified loading conditions are satisfied, otherwise loads the specified fallback model.

This is primarily intended for models which reference textures from other mods which may not be present.

See Also: