[Feature] New Registry for Surface Rules

This commit is contained in:
Frank 2022-06-21 20:41:26 +02:00
parent 3725fbb029
commit da1d4c6b40
10 changed files with 155 additions and 1 deletions

View file

@ -54,6 +54,21 @@ public class DumpDatapack {
) {
File base = new File(System.getProperty("user.dir"), "bclib_datapack_dump");
BCLib.LOGGER.info(registry.key().toString());
// Tag Output
// registry.value()
// .getTagNames()
// .map(tagKey -> registry.value().getTag(tagKey))
// .filter(tag -> tag.isPresent())
// .map(tag -> tag.get())
// .forEach(tag -> {
// tag.stream()
// .map(holder -> holder.unwrapKey())
// .filter(k -> k.isPresent())
// .map(k -> k.get())
// .forEach(key -> {
//
// });
// });
registry
.value()