Overshield

Started by TapelessWings81 on

Topic category: Help with Minecraft modding (Java Edition)

Active 1 year ago
Joined Jan 2024
Points:
102

User statistics:

  • Modifications: 1
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
Overshield

How would you go about making an overshield type thing (like in Halo)? I want it to absorb damage for you, depleting energy as it does so. After about 5 seconds without taking damage, it recharges. If you take damage while the shield is down, it subtracts from your health.

Active 3 months ago
Joined Oct 2023
Points:
267

User statistics:

  • Modifications: 1
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 274
What if each time the shield…
Tue, 01/23/2024 - 07:31

What if each time the shield blocks damage, a variable goes down. When it is equal to 0, the shield gets a cool down for 100 ticks (5 seconds).