Skip to content

Commit

Permalink
Make FabricDatagen Constructors Private
Browse files Browse the repository at this point in the history
  • Loading branch information
JT122406 committed Dec 16, 2024
1 parent 4521bb8 commit d5fd447
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@ public class WWGItemTags {
private static TagKey<Item> create(String name) {
return TagKey.create(Registries.ITEM, WoodWeveGot.id(name));
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public void onInitializeDataGenerator(FabricDataGenerator fabricDataGenerator) {

private static class FabricBlockTagGenerator extends FabricTagProvider.BlockTagProvider {

public FabricBlockTagGenerator(FabricDataOutput output, CompletableFuture<HolderLookup.Provider> registriesFuture) {
private FabricBlockTagGenerator(FabricDataOutput output, CompletableFuture<HolderLookup.Provider> registriesFuture) {
super(output, registriesFuture);
}

Expand All @@ -39,7 +39,7 @@ protected void addTags(HolderLookup.Provider arg) {

private static class FabricItemTagGenerator extends FabricTagProvider.ItemTagProvider {

public FabricItemTagGenerator(FabricDataOutput output, CompletableFuture<HolderLookup.Provider> registriesFuture, FabricTagProvider.BlockTagProvider blockTags) {
private FabricItemTagGenerator(FabricDataOutput output, CompletableFuture<HolderLookup.Provider> registriesFuture, FabricTagProvider.BlockTagProvider blockTags) {
super(output, registriesFuture, blockTags);
}

Expand All @@ -50,5 +50,3 @@ protected void addTags(HolderLookup.Provider arg) {
}
}
}


0 comments on commit d5fd447

Please sign in to comment.