Package calclavia.api.mffs

Examples of calclavia.api.mffs.IProjector


    {
      TileEntity tileEntity = iBlockAccess.getBlockTileEntity(x, y, z);

      if (tileEntity instanceof TileForceField)
      {
        IProjector zhuYao = ((TileForceField) tileEntity).getProjectorSafe();

        if (zhuYao instanceof IProjector)
        {
          return (int) (((float) Math.min(zhuYao.getModuleCount(ModularForceFieldSystem.itemModuleGlow), 64) / 64) * 15f);
        }
      }
    }
    catch (Exception e)
    {
View Full Code Here


  }

  @Override
  public void weakenForceField(World world, int x, int y, int z, int joules)
  {
    IProjector projector = this.getProjector(world, x, y, z);

    if (projector != null)
    {
      ((IFortronStorage) projector).provideFortron(joules, true);
    }
View Full Code Here

TOP

Related Classes of calclavia.api.mffs.IProjector

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.