Skript Version: /sk update says 'latest stable version', idk how to check
Skript Author: Bensku
Minecraft Version: 1.8
---
Full Code:
on rightclick on minecart:
if name of clicked entity is "CrownVictoria":
send "text" to player
Errors on Reload:
None, but the skript doesn't work
Other Useful Info:
Addons using (including versions):
SkRayFall 1.9.15, skUtilities 0.9.2, SkQuery, SkStuff, SharpSK, Skellet
Troubleshooting:
Have you tried searching the docs? Yes
Have you tried searching the forums? Yes
What other methods have you tried to fix it? Changing 'clicked entity' with event-entity, trying to put the name as a variable and compare the name with the variable, trying to check the full NBT tag instead of the name.
What's weird is that it works on normal mobs, maybe Skript doesn't support names for minecarts?
[doublepost=1566933977,1566895588][/doublepost]The problem has been solved, if anyone's having this issue, check this out:
on rightclick on minecart:
set {_nbt} to nbt tag of event-entity
if "%{_nbt}%" contains "CrownVictoria":
send "text." to player
Skript Author: Bensku
Minecraft Version: 1.8
---
Full Code:
on rightclick on minecart:
if name of clicked entity is "CrownVictoria":
send "text" to player
Errors on Reload:
None, but the skript doesn't work
Other Useful Info:
Addons using (including versions):
SkRayFall 1.9.15, skUtilities 0.9.2, SkQuery, SkStuff, SharpSK, Skellet
Troubleshooting:
Have you tried searching the docs? Yes
Have you tried searching the forums? Yes
What other methods have you tried to fix it? Changing 'clicked entity' with event-entity, trying to put the name as a variable and compare the name with the variable, trying to check the full NBT tag instead of the name.
What's weird is that it works on normal mobs, maybe Skript doesn't support names for minecarts?
[doublepost=1566933977,1566895588][/doublepost]The problem has been solved, if anyone's having this issue, check this out:
on rightclick on minecart:
set {_nbt} to nbt tag of event-entity
if "%{_nbt}%" contains "CrownVictoria":
send "text." to player