Advanced summoning system

Started by jeux2119 on

Topic category: Advanced modding

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Advanced summoning system

I dont have anything so far i tried but it all seems to fail i have my ai and tool done 

but anyways im trying to make a gui pop out when right clicked and you can use the currency to summon the selected minion

for example there would be a normal necromancer so necro would cost 5 norm would cost 1
you use currency and summon the mob on me

Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You're really close. I'd get…
Sat, 08/05/2023 - 02:50

You're really close. I'd get rid of the local variable and replace it with an "if ([get number of items in item stack] is greater than or equal to [2])"  "do everything you have listed below"

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
let me try that
Sat, 08/05/2023 - 17:07

let me try that

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
is get number of items is it…
Sat, 08/05/2023 - 17:22

is get number of items is it get number of items  from slot

Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You have a math statement in…
Sat, 08/05/2023 - 19:23

You have a math statement in there currently, you need a logic. Under the logic tab, use the purple/numeric "equal to" option, and then you can change it to "greater than or equal to" which can be put into the if statement

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
is that what i have to do
Sat, 08/05/2023 - 20:22

is that what i have to do

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
found it thx for telling me…
Sat, 08/05/2023 - 20:24

found it thx for telling me in logic

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ok ill test it out and tell…
Sat, 08/05/2023 - 20:25

ok ill test it out and tell you the results

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
problem it says mixxing…
Sat, 08/05/2023 - 20:29

problem it says mixxing dependendcies
https://imgur.com/a/jM8IHj4
the problem might be because the procedure is being used on button clicked trigger

Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The "blocked clicked"…
Sat, 08/05/2023 - 20:36

The "blocked clicked" procedure doesn't support "provided itemstack" you need to change it to "itemstack iterator" -- the itemstack iterator just gets a copy of the item where provided itemstack allows you to modify/edit the item. That's why itemstack iterator doesn't have a dependency.

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
no button clicked not block…
Sat, 08/05/2023 - 20:43

no button clicked not block clicked