data.setInteger( "hasRedstone", hasRedstone.ordinal() );
IFacadeContainer fc = getFacadeContainer();
for (ForgeDirection s : ForgeDirection.values())
{
fc.writeToNBT( data );
IPart part = getPart( s );
if ( part != null )
{
NBTTagCompound def = new NBTTagCompound();