Package appeng.api.parts

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


      {
        NBTTagCompound def = new NBTTagCompound();
        part.getItemStack( PartItemStack.World ).writeToNBT( def );

        NBTTagCompound extra = new NBTTagCompound();
        part.writeToNBT( extra );

        data.setTag( "def:" + getSide( part ).ordinal(), def );
        data.setTag( "extra:" + getSide( part ).ordinal(), extra );
      }
    }
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.