Cables & parts and Baking pipeline
- Added cables & parts rendering. - Facades got a completely new way of rendering. Anvil facades are totally a thing. - Added baking pipeline for simplified, highly configurable quad baking. NOTE: Yes, there are a lot of improvements to do, bugs to fix, stuff to add. I'm just pushing it prior to code structure change, so it does not get lost in stashes. But it actually works!
This commit is contained in:
@@ -19,7 +19,10 @@
|
||||
package appeng.parts.networking;
|
||||
|
||||
|
||||
import com.google.common.collect.ImmutableMap;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.EnumFacing;
|
||||
|
||||
import appeng.api.networking.IGridNode;
|
||||
import appeng.api.networking.events.MENetworkChannelsChanged;
|
||||
@@ -102,4 +105,11 @@ public class PartCableSmart extends PartCable
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected ImmutableMap.Builder<String, String> propertiesForModel( EnumFacing facing )
|
||||
{
|
||||
return facing != null ? super.propertiesForModel( facing ).put( "channels", String.valueOf( getChannelsOnSide( facing.ordinal() ) ) ) : super.propertiesForModel( facing );
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user