Examples of onSlotChange()


Examples of net.minecraft.inventory.Slot.onSlotChange()

            var3 = var5.copy();

            if(par2 < 5) {
                if(!mergeItemStack(var5, 5, 41, false)) return null;

                var4.onSlotChange(var5, var3);
            } else {
                if(var5.getItem() == Itemss.machineUpgrade) {
                    if(!mergeItemStack(var5, 1, 5, false)) return null;
                } else if(var5.getItem() == Itemss.emptyPCB && !mergeItemStack(var5, 0, 1, false)) return null;
                var4.onSlotChange(var5, var3);
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.