mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-29 01:04:29 +00:00
Merge branch 't3/port-studio-v4' into port/weighted-refs
This commit is contained in:
commit
94a8a9b139
207 files changed
+4308
-1820
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