Creating Chest and shift clicking

Started by LueLusten on Mon, 08/28/2017 - 19:58

Topic category: Help with MCreator software

Last seen on 22:52, 27. Oct 2017
Joined Nov 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Creating Chest and shift clicking
Mon, 08/28/2017 - 19:59 (edited)

I am having a problem with the chests I can make a block and gui that is fine but I can't shift click more then 9 times I changed this to 

 

if (index < 27) { if (!this.mergeItemStack(itemstack1, 27, (45 - 9), true)) {          return null;   // fixes shiftclick } } else if (!this.mergeItemStack(itemstack1, 0, 27, false)) { return null; }

And I was able get it to shit click from player to chest fine but now I can't get more then 9 back out of the chest I have changed the 45 - 9 to 45 -27 but this brakes it so I think the maths here are wrong anyone got any idea on this part?

Edited by LueLusten on Mon, 08/28/2017 - 19:59
Last seen on 22:52, 27. Oct 2017
Joined Nov 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Anyone got a idea on this or
Wed, 08/30/2017 - 21:32

Anyone got a idea on this or is it just broken ???

Last seen on 19:56, 11. Aug 2019
Joined Aug 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
#@0 Shit click?
Thu, 08/31/2017 - 14:36

#@0 Shit click?