[Feature] New Registry for Surface Rules
This commit is contained in:
parent
3725fbb029
commit
da1d4c6b40
10 changed files with 155 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue