How do I do /execute and filter it by name?
Solution 1:
Do
/execute if entity @e[name=“insert name”] (rest of command)
If it’s going to be one mob with this name as well as going to be released publicly, I recommend doing this:
/execute if entity @e[name=“insert name”,type=“insert mob”] (rest of command)