use of net.minecraft.client.renderer.block.model.BlockModel in project MinecraftForge by MinecraftForge.
the class SeparatePerspectiveModel method getTextures.
@Override
public Collection<Material> getTextures(IModelConfiguration owner, Function<ResourceLocation, UnbakedModel> modelGetter, Set<Pair<String, String>> missingTextureErrors) {
Set<Material> textures = Sets.newHashSet();
textures.addAll(baseModel.getMaterials(modelGetter, missingTextureErrors));
for (BlockModel model : perspectives.values()) textures.addAll(model.getMaterials(modelGetter, missingTextureErrors));
return textures;
}
Aggregations