Help with Cobweb Staff procedure

Started by Oazzies on

Topic category: Help with modding (Java Edition)

Last seen on 19:52, 9. Feb 2023
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with Cobweb Staff procedure

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?