a block that a player can pick up by right-clicking on it if he is in a team, for example, "employee"

Started by Tinpis on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
a block that a player can pick up by right-clicking on it if he is in a team, for example, "employee"

I did the procedure by clicking the right mouse button on the block, now I need to make it so that he checks if the player is in the "employee" team, then give him a certain item, otherwise write to this player that he cannot pick it up

Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I don't know how the team…
Thu, 03/24/2022 - 22:49

I don't know how the team procedures work but maybe you could make the block unbreakable and when right clicked tests if the player is in the team and if they are it deletes the block, plays the block break animation, and gives the player the block