Again, Procedure Bug with Crafting

Started by ModProgrammMiked on

Topic category: Help with modding (Java Edition)

Last seen on 15:05, 6. Oct 2023
Joined Jan 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Again, Procedure Bug with Crafting

Why do I need this... This is the 2./3. Post with the same Text:

 

 

I used this Procedure, It randomizes the Stack Size of the Item/s on Crafting. It's not working if i Shift-Click it out, and it's randomizing two times if I click again on that.

Here is the Video: https://www.youtube.com/watch?v=n85GOfTVIs8

Here the Procedure: https://imgur.com/a/m1XHbOA

I'm using 2nd Snapshot 2020.4 on 1.14.4 btw.

Last seen on 23:32, 2. Oct 2020
Joined May 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This probably won't be super…
Sat, 07/11/2020 - 03:26

This probably won't be super helpful, but could it be something with the random number thing you have?  Im kinda stupid so I don't really know if that will actually generate a number between 1-64 and I'm too lazy to go through it but that's my only idea.  Otherwise, I think its probably an MCreator thing that you cant fix.

 

Another thing that you've probably checked is just to make sure that the procedure ONLY gets called when something is crafted.  If your calling it somewhere else somehow it could re-randomize the thing.  Idrk.

Last seen on 15:05, 6. Oct 2023
Joined Jan 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
gegb yes it is generating a…
Sat, 07/11/2020 - 20:18

gegb yes it is generating a random number between 1-64:

Round Random 0-1, multipled with 63, max 63 and min 0, +1 = max 64 min 1

Last seen on 15:05, 6. Oct 2023
Joined Jan 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Please Answer. UP
Sun, 07/12/2020 - 10:13

Please Answer. UP

Last seen on 03:10, 19. Feb 2022
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Bruhhh.... Bumping or "up…
Sun, 07/12/2020 - 13:39

Bruhhh.... Bumping or "up-ing" comments are against the rules...

Last seen on 15:05, 6. Oct 2023
Joined Jan 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
rlly? Is just an up…
Tue, 08/04/2020 - 19:40

rlly? Is just an up forbidden? lol DOWN