Advertisement
Guest User

Untitled

a guest
Jan 21st, 2016
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. if (parItemStackInput.stackSize > 1) {
  2. //I want to set slot 0 to be the same item just 1 less
  3. if (parItemStackOutput != null && parItemStackOutput.stackSize < 64) {
  4. //I want to set slot 1 to be the same item just 1 more
  5. } else if (parItemStackOutput == null) {
  6. setInventorySlotContents(1, reqItemStackOutput);
  7. }
  8. } else if (parItemStackInput.stackSize == 1) {
  9. setInventorySlotContents(0, null);
  10. setInventorySlotContents(1, reqItemStackOutput);
  11. } else {
  12. setInventorySlotContents(0, null);
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement