Search in sources :

Example 1 with ModelCrate

use of forestry.storage.models.ModelCrate in project ForestryMC by ForestryMC.

the class ProxyStorageClient method registerCrateModel.

@Override
public void registerCrateModel() {
    ModelResourceLocation modelLocation = new ModelResourceLocation("forestry:crate-filled", "crate-filled");
    ModelEntry modelEntry = new ModelEntry(modelLocation, new ModelCrate());
    ModelManager.getInstance().registerCustomModel(modelEntry);
}
Also used : ModelEntry(forestry.core.models.ModelEntry) ModelCrate(forestry.storage.models.ModelCrate) ModelResourceLocation(net.minecraft.client.renderer.block.model.ModelResourceLocation)

Aggregations

ModelEntry (forestry.core.models.ModelEntry)1 ModelCrate (forestry.storage.models.ModelCrate)1 ModelResourceLocation (net.minecraft.client.renderer.block.model.ModelResourceLocation)1