2. I know what for loops are and I DO know what modulus is, but why?
3. How is it a total mess and how would that effect the way the code works. First you could explain rather than just stating that.
4. Override is only used the compiler to check mistakes. Why would I need that?
Isn't this
if (!stack.hasTagCompound()) {
stack.setTagCompound(new NBTTagCompound());
}
NBTTagCompound tag = stack.getTagCompound();
the same as this? :
else
{
nbt = new NBTTagCompound();
}
itemStack.setTagCompound(nbt);