Started by
UtahPlaysYT
on
Topic category: General discussion
is there a way that i could make it when i break a block it drops something different every time such as it would drop cobblestone and then when you break the same type of block it would drop a bone block or is this not possible yet?
:/
Can you show a photo of your "procedure page" in your block creator? (where you choose the trigger)
https://imgur.com/a/Xu2uDmx
here :)
I am so confused... It should work. Maybe you just got really unlucky with the 50% chance? ¯\_("/)_/¯
ill destroy a cople more of the blocks like 32 or so and if i havn't got one shall i message you?
have you done it. If you have, can you send a screen shot as i might of gone wrong somewhere in the code :)
Sorry, I just realized that [random 0,1] = [0.5] is actually a 1% chance, not a 50%. It should actually be [random 0,1] ≥ [0.5] for a 50% chance.
A 1% chance is a lot rarer then you would think.
thanks it works but sometimes both drop how do i make it so only 1 drops at a time?
What you would need to do for that would be to have one item drop if the random number is less than 0.5, and have the other item drop if the random number is greater than 0.5. That way, depending on the number, the block will only drop one or the other.
Sorry I didn’t respond earlier, I couldn’t find this forum again.
But to solve that problem, use “If, Do, If Else” and have one of them in the second part.
Hope that makes sense.
Go into the drop category for the block, set the number to zero. This way the block won't drop itself.
He already did that.
he might have just read the end of the first page and thought it was the whole thread
thanks for the help :)