How to make machine stop working when player has no needed items

Started by Professor Nautilus on Sun, 07/19/2015 - 02:30
Last seen on 19:24, 29. Sep 2016
Joined Apr 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
How to make machine stop working when player has no needed items
Sun, 07/19/2015 - 02:30

It is supposed to take up 1 copper 1 zinc and make 1 brass but if you have no copper or zinc it still works. If you can please help i would appreicate it very much.

Last seen on 23:38, 23. Jul 2015
Joined Jul 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
here's what you need to do.
Sun, 07/19/2015 - 17:20

here's what you need to do. select "Stack event", and where it says "(In all cases)", click that arrow next to it and choose "hasPlayerInInventory[Item/Block]", choose Copper, then click OK. now click "Add Event" and have the next event be "Consume item in inventory", then select Copper again. now do the same,  but for Zinc. for the final part, select "Add item to inventory" and choose Brass.

Hope this works for you, it works every time for me!