Package appeng.tile.misc

Examples of appeng.tile.misc.TileVibrationChamber


    if ( player.isSneaking() )
      return false;

    if ( Platform.isServer() )
    {
      TileVibrationChamber tc = getTileEntity( w, x, y, z );
      if ( tc != null && !player.isSneaking() )
      {
        Platform.openGUI( player, tc, ForgeDirection.getOrientation( side ), GuiBridge.GUI_VIBRATION_CHAMBER );
        return true;
      }
View Full Code Here


  @Override
  public IIcon getIcon(IBlockAccess w, int x, int y, int z, int s)
  {
    IIcon ico = super.getIcon( w, x, y, z, s );
    TileVibrationChamber tvc = getTileEntity( w, x, y, z );

    if ( tvc != null && tvc.isOn && ico == getRendererInstance().getTexture( ForgeDirection.SOUTH ) )
    {
      return ExtraBlockTextures.BlockVibrationChamberFrontOn.getIcon();
    }
View Full Code Here

      return;

    AEBaseTile tile = getTileEntity( w, x, y, z );
    if ( tile instanceof TileVibrationChamber )
    {
      TileVibrationChamber tc = (TileVibrationChamber) tile;
      if ( tc.isOn )
      {
        float f1 = x + 0.5F;
        float f2 = y + 0.5F;
        float f3 = z + 0.5F;

        ForgeDirection forward = tc.getForward();
        ForgeDirection up = tc.getUp();

        int west_x = forward.offsetY * up.offsetZ - forward.offsetZ * up.offsetY;
        int west_y = forward.offsetZ * up.offsetX - forward.offsetX * up.offsetZ;
        int west_z = forward.offsetX * up.offsetY - forward.offsetY * up.offsetX;

 
View Full Code Here

TOP

Related Classes of appeng.tile.misc.TileVibrationChamber

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.