How do i make a right click detection that only detects a carrot on a stick with certain custom data

latest snapshot, java
Continue to help post