Started by
Hygerian
on
Topic category: Help with Minecraft modding (Java Edition)
Hello,
I wanted to ask you something.
Basically I want to make a Block that deals damage to you (eats you) but if you have boots equipped you get no more damage and an advancement
Can someone please help me with a clear explaination or pictures?
Thanks!
Yes this would be great if you could send procedure files!
Btw tagging wont work since it uses item stack.
Here is a mediafire link to a procedure. I have tested this one on my client, and it works as intended. If you're still having issues, it might be possible we're using a different version of MCreator? I'm not sure if that would make a difference, but there might be a bug in older versions preventing this from working correctly.
https://www.mediafire.com/file/3v5octrptxzyxl9/block_damage_procedure.ptpl/file
Sorry that I am answering too late!
I have found the solution myself, it doesn't need tick and is much more simple
Here a picture if you want to see:
https://ibb.co/VwHXWXN
Maybe if you want we could add and help each other on discord?
That'll work too, but you'd need the entity to actually collide inside the block. (I assume that's how you're doing it?) And the randomness is a good idea, but could be a little crazy if there isn't a cooldown. (Though iframes will help.) If you really wanted to use this method, you could maybe add a player variable to track the last time they took damage from the block? Probably not nessasary though, that'll work fine.
You may want to use a different method of detecting boots, as this won't work with any modded boot items, but again, not essential. It's still weird the entity iterator wasn't working though. Are you using the same forge generator?
Yes I am using the same forge generator, i dont know why it doesnt work.
Yes I am using collision.
Still thank you for your help, I have made this percentage of getting damage soo low that its mostly every 15 seconds.
Still you didnt answer my question if you want to add and help each other on discord for projects
Mindthemoods
Hello?
Do you want to add and help each other on discord for projects?