mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 08:17:35 +00:00
Add Leaves method to ModelProvider.java (#9887)
This commit is contained in:
1 parent
203fbbb742
commit
73b0088cb4
1 file changed
+4
@@ -368,6 +368,10 @@ public abstract class ModelProvider<T extends ModelBuilder<T>> implements DataPr
|
||||
return singleTexture(name, BLOCK_FOLDER + "/carpet", "wool", wool);
|
||||
}
|
||||
|
||||
public T leaves(String name, ResourceLocation texture) {
|
||||
return singleTexture(name, BLOCK_FOLDER + "/leaves", "all", texture);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@return a model builder that's not directly saved to disk. Meant for use in custom model loaders.}
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user