Block player to do any action and few questions

Started by ntofab on

Topic category: Help with MCreator software

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Block player to do any action and few questions

Hello again, as in topic, the first thing is blocking player to attack/use items for specific time
I made this but i need some command to block player to use any items while in that state.

 

And the other question is how to make projectile that when u hit player/ground it makes around him shield with blocks, but i dont want these block to replace existing (only air)

Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You could instead have a…
Sun, 02/12/2023 - 03:49

You could instead have a bunch of global triggers for each player action, to then cancel the global trigger.

Like "entity jump, entity attacks, player rightclicks, player rightclick blocks and so on".

Also, players can drink milk to remove the debuffs and if i am not misstaken the gamemode change wont work on servers or worlds where the player are not allowed to use commands.