d7f32a985d
- 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!
35 lines
563 B
Java
35 lines
563 B
Java
package appeng.block.networking;
|
|
|
|
import net.minecraftforge.common.property.IUnlistedProperty;
|
|
|
|
import appeng.parts.CableBusContainer;
|
|
|
|
public class CableBusContainerUnlistedProperty implements IUnlistedProperty<CableBusContainer>
|
|
{
|
|
|
|
@Override
|
|
public String getName()
|
|
{
|
|
return "bus";
|
|
}
|
|
|
|
@Override
|
|
public boolean isValid( CableBusContainer value )
|
|
{
|
|
return true;
|
|
}
|
|
|
|
@Override
|
|
public Class<CableBusContainer> getType()
|
|
{
|
|
return CableBusContainer.class;
|
|
}
|
|
|
|
@Override
|
|
public String valueToString( CableBusContainer value )
|
|
{
|
|
return null;
|
|
}
|
|
|
|
}
|