Examples of Paintjob


Examples of com.flansmod.common.guns.Paintjob

              {
                //If this row has only one paintjob, don't try and render the second one
                if(2 * y + x >= numPaintjobs)
                  continue;
               
                Paintjob paintjob = gunType.paintjobs.get(2 * y + x);
                ItemStack stack = gunStack.copy();
                stack.stackTagCompound.setString("Paint", paintjob.iconName);
                itemRender.renderItemIntoGUI(this.fontRendererObj, mc.getTextureManager(), stack, xOrigin + 132 + x * 18, yOrigin + 83 + y * 18);
              }
            }
View Full Code Here

Examples of com.flansmod.common.guns.Paintjob

              for(int i = 0; i < 2; i++)
              {
                if(2 * j + i >= numPaintjobs)
                  continue;
               
                Paintjob paintjob = gunType.paintjobs.get(2 * j + i);
                ItemStack stack = gunStack.copy();
                stack.stackTagCompound.setString("Paint", paintjob.iconName);
                int slotX = 131 + i * 18;
                int slotY = 82 + j * 18;
                if(mouseXInGUI >= slotX && mouseXInGUI < slotX + 18 && mouseYInGUI >= slotY && mouseYInGUI < slotY + 18)
View Full Code Here

Examples of com.flansmod.common.guns.Paintjob

                attachmentTags.setTag(tagName, specificAttachmentTags);
              }
              //Maybe it was a paintjob
              else
              {
                Paintjob paintjob = gunType.getPaintjob(itemNames[i + 1]);
                if(paintjob != null)
                  tags.setString("Paint", paintjob.iconName);
              }
            }
            tags.setTag("attachments", attachmentTags);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.