Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (parItemStackInput.stackSize > 1) {
- //I want to set slot 0 to be the same item just 1 less
- if (parItemStackOutput != null && parItemStackOutput.stackSize < 64) {
- //I want to set slot 1 to be the same item just 1 more
- } else if (parItemStackOutput == null) {
- setInventorySlotContents(1, reqItemStackOutput);
- }
- } else if (parItemStackInput.stackSize == 1) {
- setInventorySlotContents(0, null);
- setInventorySlotContents(1, reqItemStackOutput);
- } else {
- setInventorySlotContents(0, null);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement