Package appeng.api.config

Examples of appeng.api.config.TunnelType


  @Override
  public void post(IMCMessage m)
  {
    String key = m.key.substring( "add-p2p-attunement-".length() ).replace( '-', '_' ).toUpperCase();

    TunnelType type = TunnelType.valueOf( key );

    if ( type != null )
    {
      ItemStack is = m.getItemStackValue();
      if ( is != null )
View Full Code Here


    ItemStack is = player.inventory.getCurrentItem();

    // UniqueIdentifier id = GameRegistry.findUniqueIdentifierFor( is.getItem() );
    // AELog.info( "ID:" + id.toString() + " : " + is.getItemDamage() );

    TunnelType tt = AEApi.instance().registries().p2pTunnel().getTunnelTypeByItem( is );
    if ( is != null && is.getItem() instanceof IMemoryCard )
    {
      IMemoryCard mc = (IMemoryCard) is.getItem();
      NBTTagCompound data = mc.getData( is );
View Full Code Here

TOP

Related Classes of appeng.api.config.TunnelType

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.