# How does "colorMultiplier" work?

## Recommended Posts

I need to know how does the colorMultiplier method work to get some specific colors for a bunch of blocks.

Just if it works like basecolor x modifier = newcolor // 500 x 20 = 10000 (for example) or else.

Thanks for helping.

##### Share on other sites

Sort of.  I think it does a multiply blend (see http://en.wikipedia.org/wiki/Blend_modes#Multiply).

Your example of 500 x 20 isn't really a good way to think about it because the colors are multiplied in hexadecimal RGB notation (I think).  So the actual effect is actually sort of useful -- for example you can colorize black-and-white pictures by multiplying in color.  You might want to play with a multiply layer effect in Photoshop or GIMP to really understand it.

Check out my tutorials here: http://jabelarminecraft.blogspot.com/

##### Share on other sites

Hi

You might find this link useful

-TGG

## Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.

×   Pasted as rich text.   Restore formatting

Only 75 emoji are allowed.

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

• ### Posts

• Not much to say. I'll leave the logs here, debug and latest, respectively. https://gist.github.com/Juaum12412/c0747291cff41f7ff8847e124312a51b https://gist.github.com/Juaum12412/c2f1b8c05daed46c3fa110d571ea377c
• Block class: public class Conveyor extends Block { public static final VoxelShape SHAPE = Block.box(0.0D,0.0D,0.0D,16.0D,6.0D,16.0D); public static final DirectionProperty FACING = BlockStateProperties.HORIZONTAL_FACING; public Conveyor(Properties properties) { super(properties); } public BlockState getStateForPlacement(BlockItemUseContext pContext) { return this.defaultBlockState().setValue(FACING, Direction.NORTH); } }
• I want to ask if the AI Tasks you create for a Custom Entity the priority is important? For example if you want to make a Entity constantly attack the player the priority is the key, right?

• ### Who's Online (See full list)

×

• #### Activity

×
• Create New...