isImmuneToFire() causes error

Started by MudkipBoi on

Topic category: Help with modding (Java Edition)

Last seen on 01:00, 28. May 2022
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
isImmuneToFire() causes error

Hello, I'm trying to make my block and armor items immune to fire/lava just by editing the code and I get an error every time I try and force it to do so: https://imgur.com/a/N0uCN0a

Is there a way to make item blocks and armor immune to fire? The equipped armor already has the ability to make the player fire resistant, but not the items themselves.

Last seen on 01:00, 28. May 2022
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Okay, never mind. After a…
Mon, 05/31/2021 - 16:32

Okay, never mind.

After a few minutes, I finally got it to not cause an error and block at least actually works in the game too: https://imgur.com/a/lZuOZYE

Oh, would it be possible to…
Thu, 07/08/2021 - 00:49

Oh, would it be possible to make similar thing, but for other damage types? Like explosions or cacti? I'd love to know that...

Last seen on 16:43, 14. Oct 2023
Joined Feb 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How?
Sat, 08/26/2023 - 22:17

How?