Testing for a number of items in a player's inventory.

Started by Suvarium on Thu, 08/27/2015 - 13:42
Last seen on 09:53, 16. Nov 2015
Joined Sep 2014
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Testing for a number of items in a player's inventory.
Thu, 08/27/2015 - 13:42

I am working on a mod, that contains a lot of GUI for exchanging items. For example, exchanging 15 blocks of cobblestone for a crypt. I use the "hasPlayerItemInInventory[]" condition. But, as far as I am sure, it cannot test for a certain amount of items in a player's inventory. Does anyone know how to do so?