//If we have no animation variables, use defaults
if(animations == null)
animations = GunAnimations.defaults;
//Get all the attachments that we may need to render
AttachmentType scopeAttachment = type.getScope(item);
AttachmentType barrelAttachment = type.getBarrel(item);
AttachmentType stockAttachment = type.getStock(item);
AttachmentType gripAttachment = type.getGrip(item);
ItemStack[] bulletStacks = new ItemStack[type.numAmmoItemsInGun];
boolean empty = true;
for(int i = 0; i < type.numAmmoItemsInGun; i++)
{