Skip to content

Commit

Permalink
Add missed dumping for factories
Browse files Browse the repository at this point in the history
Signed-off-by: TheSilkMiner <thesilkminer@outlook.com>
  • Loading branch information
TheSilkMiner committed Apr 25, 2022
1 parent 23387ee commit ee1012a
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,11 @@ private <F> F rethrowing(final ParseOperation<F> operation) throws CompileExcept
private static final String META_FACTORY_CLASS = ContentTweakerZenConstants.RT_PACKAGE + ".FactoryBracketMetaFactory";

public static Stream<String> dump() {
return null;
return Registry.REGISTRY.stream()
.map(Registry::key)
.map(ResourceKey::location)
.map(ResourceLocation::toString)
.map("<factory:%s>"::formatted);
}

@Override
Expand Down

0 comments on commit ee1012a

Please sign in to comment.