OpenBlocks

OpenBlocks

56M Downloads

Painting Blocks

jmarlo opened this issue ยท 5 comments

commented

This is one of two mods that I absolutely adore, but they aren't working together, which makes me sad. I am building a barn. Carpenters blocks lets me collapse a block to get the angle I want on the roof. Normally, I would use open blocks to paint just one surface of a block instead of the whole thing. But open blocks doesn't paint on carpenters blocks :( Is there a config option (perused file but couldn't find) or a change in code that I could implement to make open blocks work on non-vanilla blocks? I'd be ever so grateful!

2014-03-29_19 31 44

commented

I know this is a dead thread, but This is still something I'd love to have support for.

commented

Hmm, I can see two possibilities, but both need change in other mod: either implement Block.recolourBlock for support of OB brushes (but only basic 16 colours) or we can agree to other common interface that supports 24 bit colour (more or less something like this)

commented

Sorry, painting those is not something we'll be adding support for any time soon.

commented

If you used a red dye on the slope it will dye it red for you. Although it migt not match up with the painted blocks.

commented

To expand on Mikee's answer so more people understand the why, when a block is painted, it's underlying block type is converted to our own to support the rendering code that must be applied for painting to work.

This causes some complications with less than simple blocks, such as machines and any block really that is not a 1x1x1 cube. Although Forge does a great job at creating a standardized API for us to develop mods against, one thing that is not standardized is how to go about rendering a block, and how to hook in to this and change the effects.

This is why unfortunately, OpenBlocks is unable to render any color or templates to blocks of irregular shape, we just don't have the means to support an advanced block and the custom render code in harmony together.