Player can be attacked in creative mode

Started by TheDuckKnight_Mc on Wed, 01/27/2021 - 15:25

Topic category: Help with modding (Java Edition)

Last seen on 09:14, 22. Feb 2021
Joined Feb 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Player can be attacked in creative mode
Wed, 01/27/2021 - 15:25

So, I downloaded the "smash" enchantment workspace from the tutorial description: https://www.youtube.com/watch?v=HpIgP_puEGI and once I implemented it into the mod I'm working on, for some reason, the game seemed to become a mix of creative and survival, when I am in creative mode. Mobs attack me, flying is somewhat broken and I can die just from regular mob damage. How and why does that happen? How can I fix it?

Last seen on 21:57, 28. Feb 2021
Joined Jan 2021
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
That's very strange...
Wed, 01/27/2021 - 17:04

That's very strange...

Last seen on 15:01, 22. Feb 2021
Joined Jan 2021
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Problems with minecraft. 
Wed, 02/03/2021 - 10:20

Problems with minecraft. 

Last seen on 18:17, 27. Feb 2021
Joined Jan 2021
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Did you use the "disable…
Wed, 02/03/2021 - 11:07

Did you use the "disable damageof ... if  ... otherwise enable it" procedure somewhere?

It would, like other siilar procedures ("....., otherwise don't") effect even in creative mode.

Last seen on 09:14, 22. Feb 2021
Joined Feb 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
OOOOH YES OK I SEE
Thu, 02/04/2021 - 11:44

OOOOH

YES

OK

I SEE