Add cobweb stickiness property to block properties

Upvotes: 0
Issue description

This isn't in Mcreator yet and should be.

Add the property to block properties that determines if a block acts like a cobweb (player gets stuck and slowly sinks through it and can't jump out of it) so that custom blocks can be made that the player gets stuck in and slowly sinks through like the spider web. i want to create a custom barbwire block for a mod with MCreator that will trap the player in it like a spider web and deal a little damage every second.

Also add some dial to determine how fast the player sinks through the custom block with the cobweb stickiness property.

Issue comments

We could add procedure trigger that makes entity behave like in web for one tick. This is how BlockWeb is implemented:

entityIn.setInWeb();

 

I am not sure, you will most likely to do some digging in the code to find this out.

What I usually do for this is make a block that can be walked through and gives a high level of slowness on collision.



Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.