Package net.minecraft.src

Examples of net.minecraft.src.GuiContainer


        for (GuiButton button : screen.buttonList ) {
          if( button.drawButton )
            points.add(Pair.of(button.xPosition+5,button.yPosition+5));
        }
        if( screen instanceof GuiContainer ) {
          GuiContainer container = (GuiContainer)screen;
          int xOffset = 125; //These are the offsets for at least the inventory screen and chest
          int yOffset = 48;
          if( guiLeft != null ) {
            try {
          xOffset = guiLeft.getInt(container);
View Full Code Here


                    if (isValidChest(guiScreen)) {

                        // Check if the middle click target the chest or the inventory
                        // (copied GuiContainer.getSlotAtPosition algorithm)
                      GuiContainer guiContainer = asGuiContainer(guiScreen);

                        if (InvTweaksContainerSection.CHEST.equals(target)) {

                            // Play click
                            playClick();
View Full Code Here

        InvTweaksConfig config = cfgManager.getConfig();
        boolean isValidChest = isValidChest(guiScreen);

        if (isValidChest || (isStandardInventory(guiScreen) && !isGuiEnchantmentTable(guiScreen))) {

          GuiContainer guiContainer = asGuiContainer(guiScreen);
            int w = 10, h = 10;

            // Look for the mods buttons
            boolean customButtonsAdded = false;
            List<Object> controlList = getControlList(guiScreen);
View Full Code Here

TOP

Related Classes of net.minecraft.src.GuiContainer

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.