mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-03 08:26:11 +00:00
add force place option to IrisJigsawStructure
This commit is contained in:
parent
d9681edf62
commit
c16e65f0a8
@ -61,7 +61,7 @@ public class PlannedStructure {
|
||||
this.structure = structure;
|
||||
this.position = position;
|
||||
this.rng = rng;
|
||||
this.forcePlace = forcePlace;
|
||||
this.forcePlace = forcePlace || structure.isForcePlace();
|
||||
this.data = structure.getLoader();
|
||||
generateStartPiece();
|
||||
|
||||
|
@ -74,6 +74,9 @@ public class IrisJigsawStructure extends IrisRegistrant {
|
||||
@Desc("The minecraft key to use when creating treasure maps")
|
||||
private String structureKey = null;
|
||||
|
||||
@Desc("Force Place the whole structure")
|
||||
private boolean forcePlace = false;
|
||||
|
||||
private transient AtomicCache<Integer> maxDimension = new AtomicCache<>();
|
||||
|
||||
private void loadPool(String p, KList<String> pools, KList<String> pieces) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user