Help with my random craft

Started by Bily on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with my random craft
Fri, 07/19/2024 - 12:29 (edited)

Hi there !

I got a problem...

I try to made a simple thing. Two inputs, and an output of 1 item chosen randomly from 4, with different chances of output for each.

That work, but sometimes, that give me two items (2 coals or 1 iron and 1 gold etc...), or no item... And I can't understand why..

I tried different ways to make the procedure, but same problem...

See pictures...

Thanks !!

https://postimg.cc/gallery/sG9NH8v

Edited by Bily on Fri, 07/19/2024 - 12:29
Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Try making the procedure…
Fri, 07/19/2024 - 12:32

Try making the procedure wait 1, 2 or 3 ticks before giving the item, sometimes this fixes this kind of problems

Joined Aug 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
That work ! Big thx <3
Fri, 07/19/2024 - 17:03

That work ! Big thx <3

Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You're welcome
Fri, 07/19/2024 - 17:22

You're welcome