// Some items indicate how often you can attack.
entity.addAttribute("rate", Type.SHORT, Definition.HIDDEN);
// Some items have defense values
entity.addAttribute("def", Type.SHORT, Definition.HIDDEN);
//Some items can be damaged in combat or during use. This rises the degree of deterioration
entity.addAttribute("deterioration", Type.INT, (byte) (Definition.HIDDEN | Definition.VOLATILE));
// Some items(food) have amount of something