Ability to add a Amount of items needed to trigger a event

Started by SackboyGamerYT on Tue, 11/08/2016 - 12:17

Topic category: Feature requests and ideas for MCreator

Last seen on 10:15, 29. Mar 2017
Joined Sep 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Ability to add a Amount of items needed to trigger a event
Tue, 11/08/2016 - 12:17

Hi there everyone, SackboyGamerYT here, so i have been trying to make a mod for Minecraft using MCreator, and i want to make a Anvil that can Craft Wepaons and Items by Pressing a Button, a Event Checks your inventory to see if you have the items needed to craft it, and thats where the problem is...

i cant set it to detect a stack, like for instance, i need 10 copper and 4 wood to make a copper pick, but i can only detect up to a stack of 1 for each item

i would like a new Condition to be able to detect a higher stack of items in your inventory, or at least update the hasPlayerInInventory condition to be like: hasPlayerInInventory[item/block] == [amount]

i think that this is something that should be added, but give me your own replys if you have other thoughts

-SackboyGamerYT

 

Last seen on 08:29, 18. Sep 2019
Joined Dec 2013
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I agree, I need this. I think
Tue, 11/08/2016 - 17:18

I agree, I need this. I think I know of a way to complete this, I will let you know what I find out in a few hours.

Last seen on 10:15, 29. Mar 2017
Joined Sep 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
RE:I agree, I need this. I think
Wed, 11/09/2016 - 09:36

@#1

thanks, nice to see that a mod agrees with me, ;) that has got to mean that people need this.

Last seen on 08:29, 18. Sep 2019
Joined Dec 2013
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Haha, Not really. I just have
Wed, 11/09/2016 - 13:51

Haha, Not really. I just have known the admin for about 3 years, that is the obly difference between you and me. It would be a good event, yes, but It depends on of The admin can find a way to implement it. I have yet to look into the way To see if I could add this via code due to some issues, but I will be looking into it today.

Last seen on 10:15, 29. Mar 2017
Joined Sep 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
RE:Haha, Not really. I just have
Thu, 11/10/2016 - 00:44

@#2 ok, ;P im Currently working on a Trick Ores Mod while i wait for a Replacement for this until it finally comes to MCreator,

the Trick Ores Mod (TOM) will make minecraft more difficult, ;)