Can someone help me with quicksand and make it suffocate able (SOLVED

Started by SpiderBro on

Topic category: Help with Minecraft modding (Java Edition)

Active 1 year ago
Joined Aug 2018
Points:
752

User statistics:

  • Modifications: 1
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 81
Can someone help me with quicksand and make it suffocate able (SOLVED
Mon, 11/16/2020 - 14:19 (edited)

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
Active 3 years ago
Joined Aug 2020
Points:
721

User statistics:

  • Modifications: 1
  • Forum topics: 7
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 112
I think you should be able…
Sat, 11/14/2020 - 15:29

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.

Active 1 year ago
Joined Aug 2018
Points:
752

User statistics:

  • Modifications: 1
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 81
Yea i already tried that but…
Sat, 11/14/2020 - 16:09

Yea i already tried that but you will get damage when your not sinked in 100%
But thank you for trying to help atleast

Active 3 years ago
Joined Aug 2020
Points:
721

User statistics:

  • Modifications: 1
  • Forum topics: 7
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 112
Oh yeah. Maybe you could…
Sat, 11/14/2020 - 17:28

Oh yeah. Maybe you could instead test if the block one block above the player is the quicksand, and if so then damage them?

Active 2 years ago
Joined Dec 2017
Points:
1043

User statistics:

  • Modifications: 7
  • Forum topics: 24
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 322
You can make the procedure…
Sun, 11/15/2020 - 10:41

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.

Active 1 year ago
Joined Aug 2018
Points:
752

User statistics:

  • Modifications: 1
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 81
How do i do that
Sun, 11/15/2020 - 11:23

How do i do that

Active 2 years ago
Joined Dec 2017
Points:
1043

User statistics:

  • Modifications: 7
  • Forum topics: 24
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 322
Look at this post for the IF…
Sun, 11/15/2020 - 11:36

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.

Active 1 year ago
Joined Aug 2018
Points:
752

User statistics:

  • Modifications: 1
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 81
Thank you
Sun, 11/15/2020 - 11:40

Thank you

Active 1 year ago
Joined Aug 2018
Points:
752

User statistics:

  • Modifications: 1
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 81
What blocks should i use
Sun, 11/15/2020 - 11:50

What blocks should i use

Active 1 year ago
Joined Aug 2018
Points:
752

User statistics:

  • Modifications: 1
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 81
Thank ya all for your help
Mon, 11/16/2020 - 14:19

Thank ya all for your help