[Solved] Get block and set location not working properly

Started by joao44289 on Sun, 10/04/2020 - 22:39

Topic category: Bugs and solutions

Last seen on 12:43, 15. Nov 2020
Joined Sep 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
[Solved] Get block and set location not working properly
Thu, 10/08/2020 - 14:32 (edited)

I have a procedure to check what the block below. Here is it. It very rarely works, maybe only 10% of the time. The block I'm checking is a custom block with a custom 3d model. I don't know how to fix this. The second situation is this one. With these 2 blocks I am teleporting the player above to where the block was placed but once again, it rarely works. Most of the time the player is placed next to the block in a random position not above it. If someone knew how to fix this I'd greatly appreciate it if you could share it.

 

EDIT: For anyone who sees this and is having the same as me. It's just how it is. Block detection doesn't work very well mc. You're going to have to find a workaround.

Edited by joao44289 on Thu, 10/08/2020 - 14:32