Skip to content

Commit

Permalink
Add note to ModelProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
ApexModder committed Nov 22, 2024
1 parent a24b39a commit 4c21d3d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion patches/net/minecraft/data/models/ModelProvider.java.patch
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- a/net/minecraft/data/models/ModelProvider.java
+++ b/net/minecraft/data/models/ModelProvider.java
@@ -27,10 +_,22 @@
@@ -27,10 +_,23 @@
public class ModelProvider implements DataProvider {
private final PackOutput.PathProvider blockStatePathProvider;
private final PackOutput.PathProvider modelPathProvider;
Expand All @@ -13,6 +13,7 @@
+ this.modId = modId;
+ }
+
+ // NeoForge: Use the above constructor passing in their mod id
+ @Deprecated
+ public ModelProvider(PackOutput p_252226_) {
+ this(p_252226_, "minecraft");
Expand Down

0 comments on commit 4c21d3d

Please sign in to comment.