Help with Cobweb Staff procedure

Started by Oazzies on Sun, 05/29/2022 - 12:30

Topic category: Help with modding (Java Edition)

Last seen on 19:43, 30. May 2022
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Help with Cobweb Staff procedure
Sun, 05/29/2022 - 12:30

Hello, i am just playing around in mcreator and want to make a staff that when you right click all entities in a 20 block radius get a cobweb effect.

I made the staff with the right click procedure and i saw there is a function: "Set entity in cobweb for 1 tick".

The problem is that i dont know how to connect the right click with the function (so that entities in a 20 block radius get cobwebbed for x ticks).

Any ideas?