Started by
thehydra9
on
Topic category: Help with MCreator software
So, I've been doing a lot of research online and I can't find anything. All I find is about generating an object with a given probability between [0,1) and then multiplied. But what I'm looking for is how to do, after generating a random number, use that random number for the ID. So, you break the block. A random number is generated, this gives for example 323, and then drops the entity that has Legacy ID 323 (in this case it is a signal). I wish u guys can help me :(
What you could do is set that random number into a variable and then have it summon the entity with legacy id of X where X is the custom variable that is set by the random number generator?
Yeah but how i spawn with Legacy ID? That´s my real problem.
What is legacy ID?
Legacy ID is the number that Minecraft assign to all the items. It´s something like #XXXX. Ex: #0323 is a "Sign".
Oh... OK
What you could do is make a Function as that uses legacy ID I believe.