Bug Closed · Invalid

Broken target/trigger

#3321 opened by Unknown 4 years ago

Unknownreported this bug

MM: 5.1.1 MythicCruicible: 1.5.0 MC: 1.19.1

When using "- skill{s=targetCheck;sync=true} ~onBlockBreak @TargetLocation" and using a target condition to check what block, it only returns properly when hitting the south, east, or bottom of a block. Hitting the other faces will return air. Video: https://youtu.be/NzVJhf4AYqg

Unknowncommented

You should use @origin to target the block that was broken, TargetLocation targets where you're looking and isn't always accurate for when you're breaking a block

Unknowncommented

Hey, after testing, you are correct, @Origin works much better, where as @TargetLocation only works on the East, South, and bottom face.

However, in your wiki, you recommend @TargetLocation. Perhaps change this recommendation to @origin on the wiki to reduce other users potential future issues.

Here are the wiki pages I am referring to:

https://git.mythiccraft.io/mythiccraft/MythicMobs/-/wikis/skills/mechanics/breakBlockAndGiveItem https://git.mythiccraft.io/mythiccraft/MythicMobs/-/wikis/skills/mechanics/breakBlock

Unknowncommented

Thanks for letting us know. I've changed the mechanic examples to use @origin.

Sign in to join the discussion.