6

I'm working on a minecraft resource pack, and I noticed the hit-delay indicator for the 1.9 combat mechanics and the crosshair change color when looking at different colors of blocks. Any chance I can disable this feature, through a json file or the like? I would prefer if I could keep the crosshair like this but it's not a big deal.

Here's what I would like it to look like all the time (except it would be better to have it be opaque):

I changed the bar to be solid and red.

And here's what happens when I look at other blocks, like sand. You can barely see the shade of blue it is!

It's barely noticeable!

My actual texture for the loading bar is solid red, and I'd like to keep it that way no matter what block I'm looking at. It would be nice if it could be fully opaque as well, but the small bit of transparency that currently affects it is fine with me.

8
  • Have you searched in minecraft gamepedia? I don't know if exists a page just for that, but searching there could be useful!
    – spund3
    Commented Apr 9, 2016 at 16:43
  • @spund3 I have, but I might as well continue searching. Something tells me the code for cross hair transparency is in the launcher itself, but I've seen a resource pack with a solid bar...
    – imyxh
    Commented Apr 9, 2016 at 19:48
  • So, if you didn't found anything, maybe depends of the code (like the cursor), do you know? Maybe the colors doesn't matter because the code renders it in a different (i think) like the cursor does. Do you understand?
    – spund3
    Commented Apr 9, 2016 at 21:21
  • @spund3 Well, I suspect it is in the code, but there's a good chance that it lies in a .json file where I could edit it.
    – imyxh
    Commented Apr 9, 2016 at 21:37
  • So, try it and tell us the results ;)
    – spund3
    Commented Apr 9, 2016 at 21:40

1 Answer 1

2

Here are the few steps to archive this :

  1. Open Minecraft's data directory. If you don't know how to do this, this screenshot will help you.

  2. Go to versions/The version you use

  3. Open it with WinRar (or any JAR viewer)

  4. Navigate to assets/minecraft/textures/gui

  5. Open icons.png with an image editor. At this point you should see this:

  6. Paint them with red brush.

  7. That's all! Save it and restart MC.

1
  • I don't think you understand what I'm asking. I know how to change the texture. What I wanted to know how to do is make it fully opaque, as stated in my post and my screenshots. Thanks, anyway.
    – imyxh
    Commented Jul 9, 2016 at 21:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.