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!
22 lines
590 B
Java
22 lines
590 B
Java
package appeng.client.render.model.pipeline;
|
|
|
|
import java.util.List;
|
|
|
|
import net.minecraft.block.state.IBlockState;
|
|
import net.minecraft.client.renderer.block.model.BakedQuad;
|
|
import net.minecraft.client.renderer.block.model.IBakedModel;
|
|
import net.minecraft.util.EnumFacing;
|
|
|
|
import appeng.api.client.BakingPipelineElement;
|
|
|
|
public class ParentQuads implements BakingPipelineElement<Void, BakedQuad>
|
|
{
|
|
|
|
@Override
|
|
public List<BakedQuad> pipe( List<Void> elements, IBakedModel parent, IBlockState state, EnumFacing side, long rand )
|
|
{
|
|
return parent.getQuads( state, side, rand );
|
|
}
|
|
|
|
}
|