Making flashbang (disappearing overlay?)

Started by Piggy3590 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Making flashbang (disappearing overlay?)

I'd like to make a flashlight.
What should I do if I want to make the overlay or texture disappear?
2020.2 version

used a translator

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I  updated. What should I do…
Sun, 10/18/2020 - 06:37

I  updated.

What should I do now?

Use player variable to store…
Sun, 10/18/2020 - 09:03

Use player variable to store if flashbang should be shown or not, and use this variable (type logic) for condition to show overlay or not.

Then set value of variable anywhere from procedures to toggle visibility of the overlay.