Reimplement structure trees with TerraScripts

This commit is contained in:
dfsek
2020-12-24 02:06:19 -07:00
parent 5d6b060dee
commit 9adc03d56b
7 changed files with 37 additions and 59 deletions

View File

@@ -68,6 +68,12 @@ public class TreeRegistry extends TerraRegistry<Tree> {
}
}
@Override
public boolean add(String name, Tree value) {
System.out.println("Added " + name);
return super.add(name, value);
}
private final class FractalTreeHolder implements Tree {
private final FractalTree tree;