mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-29 09:15:27 +00:00
Merge branch 'port/weighted-refs' into listed-caves
# Conflicts: # core/src/test/java/art/arcane/iris/generation/mantle/IrisCaveCarver3DCellKernelTest.java
This commit is contained in:
commit
713556bc30
206 files changed
+4307
-1819
No files matched your search
@@ -208,12 +208,21 @@ public final class StubPlatform implements IrisPlatform {
|
||||
|
||||
@Override
|
||||
public boolean isTreeBlock() {
|
||||
return isLog() || isLeaves();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isLog() {
|
||||
String blockKey = blockKey();
|
||||
return blockKey.endsWith("_log")
|
||||
|| blockKey.endsWith("_wood")
|
||||
|| blockKey.endsWith("_stem")
|
||||
|| blockKey.endsWith("_hyphae")
|
||||
|| blockKey.endsWith("_leaves");
|
||||
|| blockKey.endsWith("_hyphae");
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isLeaves() {
|
||||
return blockKey().endsWith("_leaves");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user