Started by
ThunderStorm
on
Topic category: Help with MCreator software
I've made some glasses that are tinted in different colors. I want to make it so the player's view get slightly colored/tinted when they are worn. I know this is possible because in spectator mode when we right click on a creeper the view becomes green so how can we do that in MCreator even if it uses code snippets?
Make an HUD that's the color you want (using a transparent image from elsewhere, like in Paint or something just use a fill tool, adjust the transperancy, and export as a PNG), then have it show when the player's wearing the goggles.
To elaborate on TheReallyFatChicken's response, you want to make a texture that has a width of 1920 and a height of 1080. Then use the fill tool with the opacity turned down to make the entire texture the color you want. After you do this, all you have to do is make an overlay that has its base texture set to the new one you just made and add a procedure that makes the overlay show when you have the glasses on.