Package crazypants.enderio.teleport.packet

Examples of crazypants.enderio.teleport.packet.PacketOpenAuthGui


    BlockCoord target = selectedCoord;
    TileEntity te = world.getTileEntity(target.x, target.y, target.z);
    if(te instanceof ITravelAccessable) {
      ITravelAccessable ta = (ITravelAccessable) te;
      if(ta.getRequiresPassword(player)) {
        PacketOpenAuthGui p = new PacketOpenAuthGui(target.x, target.y, target.z);
        PacketHandler.INSTANCE.sendToServer(p);
        return true;
      }
    }
    if(isTargetEnderIO()) {
View Full Code Here


        BlockCoord target = TravelController.instance.selectedCoord;
        TileEntity te = player.worldObj.getTileEntity(target.x, target.y, target.z);
        if(te instanceof ITravelAccessable) {
          ITravelAccessable ta = (ITravelAccessable) te;
          if(ta.getRequiresPassword(player)) {
            PacketOpenAuthGui p = new PacketOpenAuthGui(target.x, target.y, target.z);
            PacketHandler.INSTANCE.sendToServer(p);
            return;
          }
        }
View Full Code Here

TOP

Related Classes of crazypants.enderio.teleport.packet.PacketOpenAuthGui

Copyright © 2018 www.massapicom. 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.