It is a bit different than what we are discussing, but intent plays a huge role in Western justice. The same physical action can lead to vastly different outcomes.
A high profile interesting example of this is the assassination attempt on Brett Kavanaugh. If you look at the details none of the actions would have been an attempt if not for the intent.
It is an interesting thought experiment as to how many actions you have to take for a crime that you don’t commit to be charged as an attempt or more broadly as conspiracy and at what point people are allowed to change their mind. We see this in terrorism cases pretty frequently.
> The same physical action can lead to vastly different outcomes.
Well, yeah, that’s kind of obvious once you realize that tools can be used for multiple purposes. A hammer can be used to pound both nails (legal) and smash a person’s head in (not).
But the notion that “thought crimes” where people are being punished merely for their feelings and where no act in furtherance of the outcome has taken place is just baloney. At least in the West.