Shielding Overlay

Started by Starexify on

Topic category: Help with Minecraft modding (Java Edition)

Active 6 months ago
Joined Apr 2020
Points:
689

User statistics:

  • Modifications: 2
  • Forum topics: 5
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 32
Shielding Overlay

How can I make an overlay that when I'm right clicking with a sword/item, protects me for like 5 seconds? And you can see that overlay it's passing and after that it can't work for 5 seconds after being used?

Pls help. 

Active 1 month ago
Joined Aug 2020
Points:
932

User statistics:

  • Modifications: 3
  • Forum topics: 20
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 379
not a Minecraft code wizard…
Sat, 10/03/2020 - 10:11

not a Minecraft code wizard but i think you could make a custom shield by making an item that extends ShieldItem or something, not sure... and on trigger "on player stopped using item", cooldown provided item for like 5 seconds.

 

in my case tho, i can't find any custom 1.14 - 1.15 shield tutorials (all the results i get are about shield w/ banner patterns) and the Forge forums just seem stagnant, it's not even funny :/

Active 6 months ago
Joined Apr 2020
Points:
689

User statistics:

  • Modifications: 2
  • Forum topics: 5
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 32
yes but i want a Overlay…
Sat, 10/03/2020 - 13:09

yes but i want a Overlay that shows when he's protected like the armor bar but decaying and the shield a sword without making the player slower when right clicking but thx anyway

If u want to help more, just think about the Asgard Shields mod from Hexxit that's what i want to do but with swords insead of shields 

Active 1 month ago
Joined Aug 2020
Points:
932

User statistics:

  • Modifications: 3
  • Forum topics: 20
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 379
oh, you mean the shield…
Sat, 10/03/2020 - 13:37

oh, you mean the shield blocking action type on swords, just like on old vanilla Minecraft (which sadly got removed) except without giving slowness?

i can't really offer help on that but best of luck to you

Active 6 months ago
Joined Apr 2020
Points:
689

User statistics:

  • Modifications: 2
  • Forum topics: 5
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 32
thx anyway 😁
Sat, 10/03/2020 - 13:53

thx anyway 😁