completed previous check-in, for #1650
This commit is contained in:
parent
c657fee0a1
commit
5353198eaa
2 changed files with 13 additions and 0 deletions
|
@ -230,4 +230,13 @@ public abstract class Schematic {
|
||||||
|
|
||||||
return stackConsumed;
|
return stackConsumed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Return true if this schematic is standalone, false if it needs other
|
||||||
|
* blocks to be build on. Typically, solid blocks are standalone, others
|
||||||
|
* are not. All standalone blocks are supposed to be built first.
|
||||||
|
*/
|
||||||
|
public boolean isStandalone () {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -162,4 +162,8 @@ public class SchematicBlock extends SchematicBlockBase implements Comparable<Sc
|
||||||
public int compareTo(SchematicBlock o) {
|
public int compareTo(SchematicBlock o) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean isStandalone () {
|
||||||
|
return block.isOpaqueCube();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue