Started by
SpiderBro
on
Topic category: Help with Minecraft modding (Java Edition)
Hi there im working on a mod and I want to add some quicksand, And I did but i have a little problem.
When you sink entirely you dont Suffocate
So can someone help me with making a quicksand deadly
Edited by SpiderBro on Mon, 11/16/2020 - 14:19
I think you should be able to use the "When entity collides in the block" trigger of the block to trigger a procedure that damages the player.
Yea i already tried that but you will get damage when your not sinked in 100%
But thank you for trying to help atleast
Oh yeah. Maybe you could instead test if the block one block above the player is the quicksand, and if so then damage them?
You can make the procedure only do the damage at x y +1 z.. that way the first block won't damage you but the top block where the head is would cause damage.
How do i do that
Look at this post for the IF block is Sand part, check out how the y+1 works with it, then build your quicksand with a similar IF block is Quicksand procedure with the y+1.
I'm about to go to bed, then work tomorrow, if you haven't gotten it by the time I get home or others haven't helped, I'll throw a mock-up together for you.
Thank you
https://mcreator.net/comment/157941/#comment-157941
What blocks should i use
Thank ya all for your help