Examples of EmptyDoorway


Examples of org.spout.vanilla.world.generator.normal.structure.stronghold.StrongholdDoor.EmptyDoorway

    box.setPicker(new StrongholdBlockMaterialPicker(getRandom()));
    box.setMinMax(0, -6, 0, 4, 4, 7).toggleIgnoreAir().fill();
    box.toggleIgnoreAir();
    // Place the doors
    StrongholdDoor.getRandomDoor(this, getRandom()).place(1, 1, 0);
    new EmptyDoorway(this).place(1, -5, 7);
    // Place the steps
    for (int i = 0; i < 6; i++) {
      setBlockMaterial(1, -i, 1 + i, VanillaMaterials.STAIRS_STONE_BRICK, (short) 3);
      setBlockMaterial(2, -i, 1 + i, VanillaMaterials.STAIRS_STONE_BRICK, (short) 3);
      setBlockMaterial(3, -i, 1 + i, VanillaMaterials.STAIRS_STONE_BRICK, (short) 3);
View Full Code Here

Examples of org.spout.vanilla.world.generator.normal.structure.stronghold.StrongholdDoor.EmptyDoorway

    box.setPicker(new StrongholdBlockMaterialPicker(getRandom()));
    box.setMinMax(0, -6, 0, 4, 4, 4).toggleIgnoreAir().fill();
    box.toggleIgnoreAir();
    // Place the doors
    StrongholdDoor.getRandomDoor(this, getRandom()).place(1, 1, 0);
    new EmptyDoorway(this).place(1, -5, 4);
    // Place the steps
    setBlockMaterial(2, 0, 1, VanillaMaterials.STONE_BRICK);
    setBlockMaterial(1, -1, 1, VanillaMaterials.STONE_BRICK);
    setBlockMaterial(1, 0, 1, VanillaMaterials.SLAB);
    setBlockMaterial(1, -1, 2, VanillaMaterials.STONE_BRICK);
View Full Code Here

Examples of org.spout.vanilla.world.generator.normal.structure.stronghold.StrongholdDoor.EmptyDoorway

    box.setPicker(new StrongholdBlockMaterialPicker(getRandom()));
    box.setMinMax(0, 0, 0, 4, 4, 6).toggleIgnoreAir().fill();
    box.toggleIgnoreAir();
    // Place the doors
    StrongholdDoor.getRandomDoor(this, getRandom()).place(1, 1, 0);
    new EmptyDoorway(this).place(1, 1, 6);
    // Place random torches
    attachMaterial(0.1f, 1, 2, 1, VanillaMaterials.TORCH);
    attachMaterial(0.1f, 3, 2, 1, VanillaMaterials.TORCH);
    attachMaterial(0.1f, 1, 2, 5, VanillaMaterials.TORCH);
    attachMaterial(0.1f, 3, 2, 5, VanillaMaterials.TORCH);
View Full Code Here

Examples of org.spout.vanilla.world.generator.normal.structure.stronghold.StrongholdDoor.EmptyDoorway

    box.setPicker(new StrongholdBlockMaterialPicker(getRandom()));
    box.setMinMax(0, 0, 0, 4, 4, 6).toggleIgnoreAir().fill();
    box.toggleIgnoreAir();
    // Place the doors
    StrongholdDoor.getRandomDoor(this, getRandom()).place(1, 1, 0);
    new EmptyDoorway(this).place(1, 1, 6);
    // Place the floor
    box.setPicker(new SimpleBlockMaterialPicker(VanillaMaterials.STONE_BRICK, VanillaMaterials.STONE_BRICK));
    box.setMinMax(3, 1, 2, 3, 1, 4).fill();
    // Build the loot chest pedestal
    setBlockMaterial(3, 1, 1, Slab.STONE);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.