So I just started to learn java and scripting, is there someone out there who can make or share simple looting script with all it needs? I mean the api lines and such. I want to begin with simple feather looter.
So i readed a bit and used someones else script to get one feather looter working but i couldnt. Atm i got this but there are still some errors and i dont know how to fix em, doh... Wish i could get 1 working looting script so i can change it myself and stuff.
Its giving me errors on:
private State state; - Syntax error on tokens, delete these tokens
enum State { - Multiple markers at this line
Illegal modifier for the enum State; only public is
permitted
case LOOTING: - Type mismatch: cannot convert from State to int