-
-
Notifications
You must be signed in to change notification settings - Fork 368
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Block Detection #1544
Comments
I can confirm this. |
I'm not sure if this is an error. Behind now points towards negative Z axis, which makes sense. I'm not sure why exactly it'd point to south before, honestly. |
Skript 2.3-beta1
If wall sign facing south then the event-location is the location of the bock behind the location of loop-block but if the wall sign facing west, east or north the block behind the loop-block become air and not the event-location. Im not sure if my explanation is accurate but I can say this, actually the expression "behind" means "-1" on the Z axe (in the 1.13 release) so I trying to use facing expression but I got an error:
And yes, I know, my english is bad ^^ |
When testing on a block, the Main problem is that the direction is calculated with support of Entity, so it's all using calculations rather than just using BlockFaces for blocks. |
Works fine on 2.4-alpha3 |
Sorry, i tested this again after i read @weberlepecheur's comment and yeah the issue is not fixed. Looks like using |
I was kinda surprised to hear this was fixed. For context of how this could work in 1.13+, I implemented something like this in skript-mirror (except the opposite, the block in front instead of behind) and it was simple:
|
block behind still returns block north of a wall sign. 2.5.3 |
I noticed using "block behind" is no longer working.
Now has to be "south of" instead of "behind":
No errors in the console
Addons - skUtilities, SKQuery
Can someone else confirm?
The text was updated successfully, but these errors were encountered: