Package appeng.helpers

Examples of appeng.helpers.ICustomNameObject


    if ( !sentCustomName )
    {
      sentCustomName = true;
      if ( Platform.isServer() )
      {
        ICustomNameObject name = null;

        if ( part instanceof ICustomNameObject )
          name = (ICustomNameObject) part;

        if ( tileEntity instanceof ICustomNameObject )
          name = (ICustomNameObject) tileEntity;

        if ( obj instanceof ICustomNameObject )
          name = (ICustomNameObject) obj;

        if ( this instanceof ICustomNameObject )
          name = (ICustomNameObject) this;

        if ( name != null )
        {
          if ( name.hasCustomName() )
            customName = name.getCustomName();

          if ( customName != null )
          {
            try
            {
View Full Code Here

TOP

Related Classes of appeng.helpers.ICustomNameObject

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.