Skip to content

Commit

Permalink
[1.21] Add a ModelProvider method for flower pots with plants (#1592)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tkain authored Nov 10, 2024
1 parent e7f15f9 commit 9f4b630
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,10 @@ public T leaves(String name, ResourceLocation texture) {
return singleTexture(name, BLOCK_FOLDER + "/leaves", "all", texture);
}

public T flowerPotCross(String name, ResourceLocation plant) {
return singleTexture(name, BLOCK_FOLDER + "/flower_pot_cross", "plant", plant);
}

/**
* {@return a model builder that's not directly saved to disk. Meant for use in custom model loaders.}
*/
Expand Down

0 comments on commit 9f4b630

Please sign in to comment.