(SOLVED) Entity that detects position of solid blocks

Started by ManuehTheModder405 on

Topic category: Help with modding (Java Edition)

Last seen on 13:24, 18. Jun 2024
Joined Dec 2021

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
(SOLVED) Entity that detects position of solid blocks
Fri, 03/29/2024 - 13:48 (edited)

Im trying to make a mob that acts diferently in diferent situations, for example, if the block underneath is not solid, the entity can crawl and continue, or if the block on top of the one he is looking is solid and is on ground he can climb. The problem is that i can't find a way to make he detect the block above/below that he is looking, I've tried with combining [Y Position or Y Looking Position] with the others looking Position and nothing happens, hope someone can help me with this.

In this image I show you what im tying to do:


Sorry if bad english.

Edited by ManuehTheModder405 on Fri, 03/29/2024 - 13:48