Package tconstruct.library.accessory

Examples of tconstruct.library.accessory.AccessoryCore


            drawModularArmorStats(stack, armor, tags, 294, 24);
        }
        if(stack.getItem() instanceof AccessoryCore)
        {
            AccessoryCore accessory = (AccessoryCore) stack.getItem();
            NBTTagCompound tags = stack.getTagCompound().getCompoundTag(accessory.getBaseTagName());
            this.drawCenteredString(fontRendererObj, "\u00A7n" + stack.getDisplayName(), 349, 8, 0xffffff); // todo: localize

            drawModularAccessoryStats(stack, accessory, tags, 294, 24);
        }
    }
View Full Code Here


                hasArmor = true;
                centerTitle = "\u00A7n" + stack.getDisplayName(); // todo: localize
            }
            else if (stack.getItem() instanceof AccessoryCore)
            {
                AccessoryCore accessory = (AccessoryCore) stack.getItem();
                tags = stack.getTagCompound().getCompoundTag(accessory.getBaseTagName());
                hasAccessory = true;
                centerTitle = "\u00A7n" + stack.getDisplayName(); // todo: localize
            }
        }
View Full Code Here

    }

    // todo: also quick and dirty fix
    protected void drawModularAccessoryStats ()
    {
        AccessoryCore accessory = (AccessoryCore)centerStack.getItem();
        List categories = Arrays.asList(accessory.getTraits());
        final int baseX = descTextLeft + 10;
        final int baseY = 24;
        int offset = 0;

        if (categories.contains("utility"))
View Full Code Here

TOP

Related Classes of tconstruct.library.accessory.AccessoryCore

Copyright © 2018 www.massapicom. 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.