Examples of EndPortalObject


Examples of org.spout.vanilla.world.generator.theend.object.EndPortalObject

      setBlockMaterial(i, 1, 4, VanillaMaterials.STAIRS_STONE_BRICK, (short) 2);
      setBlockMaterial(i, 2, 5, VanillaMaterials.STAIRS_STONE_BRICK, (short) 2);
      setBlockMaterial(i, 3, 6, VanillaMaterials.STAIRS_STONE_BRICK, (short) 2);
    }
    // Place the unlit portal
    placeObject(2, 3, 10, new EndPortalObject(getRandom()));
    // Place the mob spawner
    setBlockMaterial(2, 3, 6, VanillaMaterials.MONSTER_SPAWNER);
  }
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.