Skip to content

Commit

Permalink
Add Leaves method to ModelProvider.java (neoforged#779)
Browse files Browse the repository at this point in the history
  • Loading branch information
JT122406 authored Apr 5, 2024
1 parent 152472a commit 163e0dd
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,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 163e0dd

Please sign in to comment.