Skip to content

Commit

Permalink
Change Villager Type generator to a generic registry generator (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
GreatWyrm authored Nov 12, 2024
1 parent c63a8fb commit 726130e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public enum DataGenType {
SOUNDS("sounds", new SoundGenerator()),
SOUND_SOURCES("sound_sources", new SoundSourceGenerator()),
VILLAGER_PROFESSIONS("villager_professions", new VillagerProfessionGenerator()),
VILLAGER_TYPES("villager_types", new VillagerTypeGenerator()),
VILLAGER_TYPES("villager_types", new GenericRegistryGenerator<>(BuiltInRegistries.VILLAGER_TYPE)),
RECIPE_TYPE("recipe_types", new GenericRegistryGenerator<>(BuiltInRegistries.RECIPE_TYPE)),
RECIPE_DISPLAY_TYPE("recipe_display_types", new GenericRegistryGenerator<>(BuiltInRegistries.RECIPE_DISPLAY)),
SLOT_DISPLAY_TYPE("slot_display_types", new GenericRegistryGenerator<>(BuiltInRegistries.SLOT_DISPLAY)),
Expand Down

This file was deleted.

0 comments on commit 726130e

Please sign in to comment.