Is it possible to make a spotted texture?

Started by JiarxAndPickleShow on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is it possible to make a spotted texture?

So basically, I'm making a Five Nights at Freddy's Mod, (Called Pickle's FNAF if you want to check it out after release) And I have a FNAF Into The Pit update for this mod, and in ITP, Bonnie's eyes change color, green in walking/running/idle, and Red when he attacks you, So I want to know if it's possible to make a texture swap when the player is spotted and being chased by the entity (Also I use Geckolib models, so it would need to work in that, and not living entities) If you know how to do this and have sent help, thanks, if you have read the post, thank you for your time to read this.

Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm actually a bit new at…
Sat, 09/28/2024 - 00:54

I'm actually a bit new at this, but you could use Kleider's Custom Renderer plugin, or what I do for some blocks, define all the eyes in the model and inside the animations set the scale to 1 or 0 depending if they should be shown or not.

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
There is a set texture…
Sat, 09/28/2024 - 01:10

There is a set texture procedure in the geckolib procedures, not that ive had much luck with them working. But give it a try. For the trigger I assume you know how to activate it based on mob aggression etc whatever you want to do.

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Roth_Sterial is correct with…
Sat, 09/28/2024 - 01:12

Roth_Sterial is correct with the scaling a small eye model inside the models head but I dont think you need the plugin you can just make an aggression animation. That way if the mob, bonnie, sees the player and aggros to them its animation will change and it will run or whatever the animation you make with the red eyes.