Examples of intY()


Examples of micdoodle8.mods.galacticraft.api.vector.Vector3.intY()

    {
        Vector3 position = startPosition.clone();
        float footprintScale = 0.375F;

        int mainPosX = position.intX();
        int mainPosY = position.intY();
        int mainPosZ = position.intZ();

        // If the footprint is hovering over air...
        if (world.getBlock(mainPosX, mainPosY, mainPosZ).isAir(world, mainPosX, mainPosY, mainPosZ))
        {
View Full Code Here

Examples of micdoodle8.mods.galacticraft.api.vector.Vector3.intY()

        {
            position.x += (playerCenter.x - mainPosX);
            position.z += (playerCenter.z - mainPosZ);

            // If the footprint is still over air....
            if (world.getBlock(position.intX(), position.intY(), position.intZ()).isAir(world, position.intX(), position.intY(), position.intZ()))
            {
                for (ForgeDirection direction : ForgeDirection.VALID_DIRECTIONS)
                {
                    if (direction != ForgeDirection.DOWN && direction != ForgeDirection.UP)
                    {
View Full Code Here

Examples of micdoodle8.mods.galacticraft.api.vector.Vector3.intY()

        {
            position.x += (playerCenter.x - mainPosX);
            position.z += (playerCenter.z - mainPosZ);

            // If the footprint is still over air....
            if (world.getBlock(position.intX(), position.intY(), position.intZ()).isAir(world, position.intX(), position.intY(), position.intZ()))
            {
                for (ForgeDirection direction : ForgeDirection.VALID_DIRECTIONS)
                {
                    if (direction != ForgeDirection.DOWN && direction != ForgeDirection.UP)
                    {
View Full Code Here

Examples of micdoodle8.mods.galacticraft.api.vector.Vector3.intY()

        {
            if (blockAt instanceof BlockFence)
            {

            }
            else if (blockAt.isAir(this.worldObj, vec.intX(), vec.intY(), vec.intZ()))
            {
                this.motionY -= 0.02F;
            }
        }
View Full Code Here

Examples of universalelectricity.api.vector.Vector2.intY()

      int topLX = translation.intX();
      int topRX = translation.intX() + xSize;
      int botLX = translation.intX();
      int botRX = translation.intX() + xSize;

      int topLY = translation.intY();
      int topRY = translation.intY();
      int botLY = translation.intY() + ySize;
      int botRY = translation.intY() + ySize;

      FMLClientHandler.instance().getClient().renderEngine.bindTexture(resourcelocation);
View Full Code Here

Examples of universalelectricity.api.vector.Vector2.intY()

      int topRX = translation.intX() + xSize;
      int botLX = translation.intX();
      int botRX = translation.intX() + xSize;

      int topLY = translation.intY();
      int topRY = translation.intY();
      int botLY = translation.intY() + ySize;
      int botRY = translation.intY() + ySize;

      FMLClientHandler.instance().getClient().renderEngine.bindTexture(resourcelocation);
      // glBindTexture(GL_TEXTURE_2D, texID);
View Full Code Here

Examples of universalelectricity.api.vector.Vector2.intY()

      int botLX = translation.intX();
      int botRX = translation.intX() + xSize;

      int topLY = translation.intY();
      int topRY = translation.intY();
      int botLY = translation.intY() + ySize;
      int botRY = translation.intY() + ySize;

      FMLClientHandler.instance().getClient().renderEngine.bindTexture(resourcelocation);
      // glBindTexture(GL_TEXTURE_2D, texID);
View Full Code Here

Examples of universalelectricity.api.vector.Vector2.intY()

      int botRX = translation.intX() + xSize;

      int topLY = translation.intY();
      int topRY = translation.intY();
      int botLY = translation.intY() + ySize;
      int botRY = translation.intY() + ySize;

      FMLClientHandler.instance().getClient().renderEngine.bindTexture(resourcelocation);
      // glBindTexture(GL_TEXTURE_2D, texID);

      glColor4f(1, 1, 1, 1);
View Full Code Here

Examples of universalelectricity.api.vector.Vector3.intY()

    Vector3 negativeScale = new Vector3(this).translate(this.getTranslation()).subtract(this.getNegativeScale());

    Vector3 minScale = positiveScale.min(negativeScale);
    Vector3 maxScale = positiveScale.max(negativeScale);

    return AxisAlignedBB.getAABBPool().getAABB(minScale.intX(), minScale.intY(), minScale.intZ(), maxScale.intX(), maxScale.intY(), maxScale.intZ());
  }

  /**
   * Gets the position in which the manipulator will try to translate the field into.
   *
 
View Full Code Here

Examples of universalelectricity.api.vector.Vector3.intY()

                  }
                }

                if (!this.worldObj.isRemote)
                {
                  this.worldObj.setBlock(vector.intX(), vector.intY(), vector.intZ(), ModularForceFieldSystem.blockForceField.blockID, 0, 2);
                }

                this.forceFields.add(vector);

                  /*
 
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.