How can you detect when a player is on top of a block?

Started by Zuppy on

Topic category: Help with MCreator software

Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can you detect when a player is on top of a block?
Tue, 03/01/2022 - 20:14 (edited)

Hi! I wanted to make a mod where there is a block that hurts you when you are on top of it, the problem is that when i use when player collides with block it hurts you also when you touch it in the sides, and i dont want that, what can i do?

 

PD: sorry for the bad english

Edited by Zuppy on Tue, 03/01/2022 - 20:14
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
 Maybe You Could Use {When…
Tue, 03/01/2022 - 21:46

 Maybe You Could Use {When entity walks on block} then copy the procedure on the trigger '-'

Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks! I will try
Tue, 03/01/2022 - 21:52

Thanks! I will try