Topic category: Help with modding (Java Edition)
Ok so heres the code i cant seem to figure out, (i would send a screenshot and send it but idk how lol) any help is very appreciated!
Event trigger: entity attacked
if source entity is sub(type) if entityplayer
do set global stamina to global stamina - 10