Examples of SlotStackFilter


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

    private int lastItemBurnTime = 0;

    public ContainerBlastFurnace(InventoryPlayer player, TileBlastFurnace tile) {
        super(tile);
        this.furnace = tile;
        this.addSlot(new SlotStackFilter(TileBlastFurnace.INPUT_FILTER, tile, 0, 56, 17));
        this.addSlot(new SlotStackFilter(TileBlastFurnace.FUEL_FILTER, tile, 1, 56, 53));
        this.addSlot(new SlotFurnace(player.player, tile, 2, 116, 35));
        int var3;

        for (var3 = 0; var3 < 3; ++var3) {
            for (int var4 = 0; var4 < 9; ++var4) {
View Full Code Here

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

    private short prevMinutesRemaining;

    public ContainerAnchor(InventoryPlayer inventoryplayer, IAnchor a) {
        super(a);
        this.anchor = a;
        addSlot(new SlotStackFilter(new IStackFilter() {
            @Override
            public boolean matches(ItemStack stack) {
                return anchor.getFuelMap().containsKey(stack);
            }
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.