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:
@@ -0,0 +1,21 @@
|
||||
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 );
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user