Various Fixes
Exit doors are safer now, but only dungeon exit doors will stop you from falling into liquids. Doors you place in pockets you make will happily drop you into lava, but not spawn you inside of it. Dungeon gateway orientation fix Removed excess .schematics and fixed one of them.
This commit is contained in:
@@ -76,7 +76,7 @@ public class RiftGenerator implements IWorldGenerator
|
||||
//Otherwise, create a one-way link and connect to the destination of the first link.
|
||||
if (link == null)
|
||||
{
|
||||
link = new LinkData(world.provider.dimensionId, 0, x, y + 1, z, x, y + 1, z, true, random.nextInt(4));
|
||||
link = new LinkData(world.provider.dimensionId, 0, x, y + 1, z, x, y + 1, z, true, 0);
|
||||
link = dimHelper.instance.createPocket(link, true, true);
|
||||
}
|
||||
else
|
||||
@@ -111,7 +111,7 @@ public class RiftGenerator implements IWorldGenerator
|
||||
{
|
||||
//Create a two-way link between the upper block of the gateway and a pocket dimension
|
||||
//That pocket dimension is where we'll start a dungeon!
|
||||
link = new LinkData(world.provider.dimensionId, 0, x, y + 1, z, x, y + 1, z, true, random.nextInt(4));
|
||||
link = new LinkData(world.provider.dimensionId, 0, x, y + 1, z, x, y + 1, z, true, 0);
|
||||
link = dimHelper.instance.createPocket(link, true, true);
|
||||
|
||||
//If the current dimension isn't Limbo, build a Rift Gateway out of Stone Bricks
|
||||
|
||||
Reference in New Issue
Block a user