Skip to content

Commit

Permalink
removed empty depricated function
Browse files Browse the repository at this point in the history
  • Loading branch information
supermassimo committed May 29, 2024
1 parent 80ff25a commit 45104ff
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
modName=DynamicTrees
modId=dynamictrees
modVersion=1.3.0-BETA2
modVersion=1.3.0-BETA3
group=com.ferreusveritas.dynamictrees

mcVersion=1.20.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -879,12 +879,6 @@ public Optional<ResourceLocation> getModelPath(String key) {
return Optional.ofNullable(modelOverrides.getOrDefault(key, null));
}

/**
* @deprecated Use method with that includes the Block parameter
* @see Family#addBranchTextures(BiConsumer, ResourceLocation, Block)
*/
@Deprecated
public void addBranchTextures(BiConsumer<String, ResourceLocation> textureConsumer, ResourceLocation primitiveLogLocation) {}
public void addBranchTextures(BiConsumer<String, ResourceLocation> textureConsumer, ResourceLocation primitiveLogLocation, Block sourceBlock) {
ResourceLocation bark = primitiveLogLocation;
ResourceLocation rings = suffix(primitiveLogLocation, "_top");
Expand Down

0 comments on commit 45104ff

Please sign in to comment.