Examples of changeDimension()


Examples of com.sijobe.spc.wrapper.Player.changeDimension()

   @Override
   public void execute(CommandSender sender, List<?> params) throws CommandException {
      Player player = super.getSenderAsPlayer(sender);
      String type = (String)params.get(0);
      if (type.equalsIgnoreCase("normal")) {
         player.changeDimension(DIMENSION_NORMAL);
      } else if (type.equalsIgnoreCase("nether")) {
         player.changeDimension(DIMENSION_NETHER);
      } else if (type.equalsIgnoreCase("end")) {
         player.changeDimension(DIMENSION_END);
      } else {
View Full Code Here

Examples of com.sijobe.spc.wrapper.Player.changeDimension()

      Player player = super.getSenderAsPlayer(sender);
      String type = (String)params.get(0);
      if (type.equalsIgnoreCase("normal")) {
         player.changeDimension(DIMENSION_NORMAL);
      } else if (type.equalsIgnoreCase("nether")) {
         player.changeDimension(DIMENSION_NETHER);
      } else if (type.equalsIgnoreCase("end")) {
         player.changeDimension(DIMENSION_END);
      } else {
         throw new CommandException("Unknown dimension specified");
      }
View Full Code Here

Examples of com.sijobe.spc.wrapper.Player.changeDimension()

      if (type.equalsIgnoreCase("normal")) {
         player.changeDimension(DIMENSION_NORMAL);
      } else if (type.equalsIgnoreCase("nether")) {
         player.changeDimension(DIMENSION_NETHER);
      } else if (type.equalsIgnoreCase("end")) {
         player.changeDimension(DIMENSION_END);
      } else {
         throw new CommandException("Unknown dimension specified");
      }
   }
  
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.