i'm not entirely sure of what you're asking; i think it's something along the lines of emote for pickaxe used?
Code:
Object[][]pickaxes = {{pickaxeID, new Animation(x)}};
or alternatively, u could use an enum to define pickaxe data:
Code:
private enum Pickaxe{
final Map<Pickaxe, Integer> data = new HashMap<Pickaxe, Integer>();
static {
for(Pickaxe p: Pickaxe.values())
data.put(p.pickaxe,p);
}
static final Pickaxe forPickaxe(int pickaxe) {
return data.get(pickaxe);
}
BRONZE(new Item(ID), new Animation(ANIM));
public Item pickaxe;
public Animation anim;
private Pickaxe(Item i, Animation a) {
i = pickaxe;
a = anim;
}
}
usage:
code to play animation:
Pickaxe.forPickaxe(779).anim.getId();
code to get item id:
Pickaxe.forPickaxe(779).pickaxe.getId();
etc