I want to in-code color my block. I am using this code:
@Override
public int getRenderColor(IBlockState state) {
return new Color(0, 0, 255).getRGB();
}
@Override
public int getBlockColor() {
return new Color(0, 0, 255).getRGB();
}
@Override
public int colorMultiplier(IBlockAccess worldIn, BlockPos pos, int renderPass) {
return new Color(0, 0, 255).getRGB();
}
but it only colors the particles. How can i also color the block itself.
btw.: my block is
EnumWorldBlockLayer.TRANSL