Randomization
This commit is contained in:
parent
35cbcde2f9
commit
a7c3563b52
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ public class StructureEternalPortal extends StructureFeatureBase {
|
|||
int z = (chunkZ << 4) | MHelper.randRange(4, 12, random);
|
||||
int y = chunkGenerator.getHeight(x, z, Type.WORLD_SURFACE_WG);
|
||||
if (y > 50) {
|
||||
this.children.add(new NBTPiece(STRUCTURE_ID, STRUCTURE, new BlockPos(x, y - 3, z), 3, true, random));
|
||||
this.children.add(new NBTPiece(STRUCTURE_ID, STRUCTURE, new BlockPos(x, y - 3, z), random.nextInt(5), true, random));
|
||||
}
|
||||
this.setBoundingBoxFromChildren();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue