Skip to content

Commit

Permalink
Make ModelGenerators private
Browse files Browse the repository at this point in the history
  • Loading branch information
JT122406 committed Oct 12, 2024
1 parent 3390698 commit 0e6a305
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public static void init(DataGenerator generator, boolean run, PackOutput output,
*/
private static class ItemModelGenerators extends ItemModelProvider {

public ItemModelGenerators(PackOutput output, ExistingFileHelper existingFileHelper) {
private ItemModelGenerators(PackOutput output, ExistingFileHelper existingFileHelper) {
super(output, WoodWeveGot.MOD_ID, existingFileHelper);
}

Expand All @@ -39,9 +39,7 @@ protected void registerModels() {
WWGWoodSet.getWoodSets().forEach(set -> {
try {
simpleItemBlockTexture(set.name(), set.ladder());
} catch (Exception ignored) {

}
} catch (Exception ignored) {}
});
}

Expand All @@ -68,7 +66,7 @@ private ResourceLocation key(Item item) {
*/
private static class BlockModelGenerators extends BlockStateProvider {

public BlockModelGenerators(PackOutput output, ExistingFileHelper exFileHelper) {
private BlockModelGenerators(PackOutput output, ExistingFileHelper exFileHelper) {
super(output, WoodWeveGot.MOD_ID, exFileHelper);
}

Expand Down Expand Up @@ -142,6 +140,5 @@ private String name(Block block) {
private ResourceLocation key(Block block) {
return ForgeRegistries.BLOCKS.getKey(block);
}

}
}

0 comments on commit 0e6a305

Please sign in to comment.