Examples of onPlacement()


Examples of appeng.api.parts.IPart.onPlacement()

          setCenter( (IPartCable) bp );
          bp.setPartHostInfo( ForgeDirection.UNKNOWN, this, tcb.getTile() );

          if ( player != null )
            bp.onPlacement( player, is, side );

          if ( inWorld )
            bp.addToWorld();

          IGridNode cn = getCenter().getGridNode();
View Full Code Here

Examples of appeng.tile.AEBaseTile.onPlacement()

        if ( tile instanceof IGridProxyable )
        {
          ((IGridProxyable) tile).getProxy().setOwner( player );
        }

        tile.onPlacement( stack, player, side );
      }
      else if ( blockType instanceof IOrientableBlock )
      {
        ori.setOrientation( forward, up );
      }
View Full Code Here

Examples of org.spout.api.material.Placeable.onPlacement()

          }
        }
        cause = new PlayerPlacementCause(player, (Material) toPlace, placedBlock);

        // Perform actual placement
        toPlace.onPlacement(placedBlock, placedData, placedAgainst, message.getFace(), placedIsClicked, cause);

        // Play sound
        BlockMaterial material = placedBlock.getMaterial();
        SoundEffect sound;
        if (material instanceof VanillaBlockMaterial) {
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.