Making flashbang (disappearing overlay?)

Started by Piggy3590 on Sat, 10/17/2020 - 16:38

Topic category: Help with modding (Java Edition)

Last seen on 05:27, 29. Oct 2020
Joined Oct 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Making flashbang (disappearing overlay?)
Sat, 10/17/2020 - 16:38

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

Last seen on 05:27, 29. Oct 2020
Joined Oct 2020
User points:

User statistics:

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

I  updated.

What should I do now?

Last seen on 12:56, 27. Nov 2020
Joined Apr 2010
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
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.