How do I detect, when a player walks off a block

Started by EnbyAkira on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I detect, when a player walks off a block

I wanna create a mod, that deletes the block the player stood on, when he walks of of it. I tried some things but I can’t manage to get some kind of triggers to work, maybe one of you has a clue, how I could make it work

Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Maybe make a block that…
Mon, 03/20/2023 - 13:57

Maybe make a block that breaks itself after a cerain amount of time, and make a procedure for boots that places that block when in the air?

Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
this is supposed to be a…
Tue, 03/21/2023 - 21:09

this is supposed to be a challenge for a streamer i watch, i already made this challenge as a datapack, but it doesnt really work with the dimensions, so i wanted to give it a try in MCreator as a Java mod
maybe i didnt give much information anyway, in the datapack a armor stand spawns inside the player, when the player moves 1.1 blocks out of the armorstand, the armorstand gets killed and the blocks under it get deleted and a new armor stand spawns.

i dont know how i would make that work as a Java mod, so i thought maybe i could detect the player walking of the block trough another trigger or something

so this isnt really what i was searching for, but thank you for your idea and help