Started by
ModProgrammMiked
on
Topic category: Help with Minecraft modding (Java Edition)
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.
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.
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
Please Answer. UP
Bruhhh.... Bumping or "up-ing" comments are against the rules...
rlly? Is just an up forbidden? lol DOWN