Package appeng.core.sync.packets

Examples of appeng.core.sync.packets.PacketClick


      return false;
    }

    if ( Platform.isClient() )
    {
      NetworkHandler.instance.sendToServer( new PacketClick( x, y, z, side, hitX, hitY, hitZ ) );
    }
    return true;
  }
View Full Code Here


        ItemStack held = event.entityPlayer.getHeldItem();
        boolean supportedItem = AEApi.instance().items().itemMemoryCard.sameAsStack( held )
            || AEApi.instance().items().itemColorApplicator.sameAsStack( held );
        if ( event.entityPlayer.isSneaking() && held != null && supportedItem )
        {
          NetworkHandler.instance.sendToServer( new PacketClick( event.x, event.y, event.z, event.face, 0, 0, 0 ) );
        }
      }
    }
    else if ( event.action == Action.RIGHT_CLICK_BLOCK && event.entityPlayer.worldObj.isRemote )
    {
View Full Code Here

TOP

Related Classes of appeng.core.sync.packets.PacketClick

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.