Examples of requestItem()


Examples of mods.railcraft.api.carts.IItemTransfer.requestItem()

                    stack = tranfer.offerItem(this, stack);
                    invBallast.setInventorySlotContents(slot, stack);
                    return;
                }
                if (stack == null) {
                    stack = tranfer.requestItem(this, StackFilter.BALLAST);
                    InvTools.moveItemStack(stack, invBallast);
                    return;
                }
            }
        }
View Full Code Here

Examples of mods.railcraft.api.carts.IItemTransfer.requestItem()

                    stack = tranfer.offerItem(this, stack);
                    invRails.setInventorySlotContents(slot, stack);
                    return;
                }
                if (stack == null) {
                    stack = tranfer.requestItem(this, StackFilter.TRACK);
                    InvTools.moveItemStack(stack, invRails);
                    return;
                }
            }
        }
View Full Code Here

Examples of mods.railcraft.api.carts.IItemTransfer.requestItem()

                    stack = tranfer.offerItem(this, stack);
                    invFuel.setInventorySlotContents(slot, stack);
                    return;
                }
                if (stack == null) {
                    stack = tranfer.requestItem(this, StackFilter.FUEL);
                    if (stack != null) {
                        InvTools.moveItemStack(stack, invFuel);
                        return;
                    }
                }
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.