How to set damage to bypass invulnerability frames /armor

Started by Teapot5000 on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to set damage to bypass invulnerability frames /armor
Sat, 03/16/2024 - 19:11 (edited)

So I have checked the forge doc about how damagesource is managed and realized that there are a few methods that are nuts
https://nekoyue.github.io/ForgeJavaDocs-NG/javadoc/1.18.2/net/minecraft…()
the one im trying to use is bypassInvul() which i think should make a damage source be able to ignore invulnerability frames
however when i try to use it i just get the error 
cannot find symbol

Anyone here knows how to use those methods?

Edited by Teapot5000 on Sat, 03/16/2024 - 19:11
Joined May 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Typo: the error i get is …
Sat, 03/16/2024 - 17:20

Typo: the error i get is "cannot find symbol"