Skip to content

Commit

Permalink
Add Leaves method to ModelProvider.java (#9889)
Browse files Browse the repository at this point in the history
  • Loading branch information
JT122406 committed Apr 4, 2024
1 parent c22355c commit a8b243c
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -368,6 +368,10 @@ public T carpet(String name, ResourceLocation wool) {
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.}
*/
Expand Down

0 comments on commit a8b243c

Please sign in to comment.