Package mods.railcraft.common.gui.slots

Examples of mods.railcraft.common.gui.slots.SlotFilter


        super(tile);
        this.tile = tile;

        for (int i = 0; i < 3; i++) {
            for (int k = 0; k < 3; k++) {
                addSlot(new SlotFilter(tile.getItemFilters(), k + i * 3, 8 + k * 18, 26 + i * 18));
            }
        }

        addSlot(new SlotMinecartFilter(tile.getCartFilters(), 0, 71, 26));
        addSlot(new SlotMinecartFilter(tile.getCartFilters(), 1, 89, 26));
View Full Code Here


    public ContainerDetectorItem(InventoryPlayer playerInv, TileDetector tile) {
        super(((DetectorItem) tile.getDetector()).getFilters());
        this.detector = (DetectorItem) tile.getDetector();

        for (int i = 0; i < 9; i++) {
            addSlot(new SlotFilter(detector.getFilters(), i, 8 + i * 18, 61, detector.getSlotController()));
        }

        for (int i = 0; i < 3; i++) {
            for (int k = 0; k < 9; k++) {
                addSlot(new Slot(playerInv, k + i * 9 + 9, 8 + k * 18, 84 + i * 18));
 
View Full Code Here

TOP

Related Classes of mods.railcraft.common.gui.slots.SlotFilter

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.