how do I make a block act like cobweb

Started by jeff29 on

Topic category: Help with modding (Java Edition)

Last seen on 19:02, 11. Feb 2024
Joined May 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how do I make a block act like cobweb

i want to make a block like cobwebs that when the player is in it they fall very slow like cobwebs can someone tell me how i can do this?

Last seen on 23:32, 27. Feb 2021
Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can do it like that: …
Sat, 12/19/2020 - 18:00

You can do it like that:

  1. Create your block
  2. Go to properties, find "Can walk through block?" and enable it
    • This way, you can be inside the block
  3. Go to triggers, find "When entity collides in the block" and click the plus to add a new procedure
    • This procedure triggers while you are inside the block
  4. Go to entity management, and choose "Set Event/target entity" in cobweb for one tick, and connect it to the default tile
    • This way, your entity (including the player) will be in a cobweb for one tick. It will work exactly like cobwebs

I've tried it, works for me.

Last seen on 12:49, 14. Apr 2024
Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
can you somehow make it a…
Mon, 02/06/2023 - 12:55

can you somehow make it a bit less slow? because cobweb is a bit too slow for what im looking for