Started by
_Cr1ssG4m3r_
on
Topic category: Help with MCreator software
I need to make a block that when I right click it drops different specific items and randomly, how can I do it?
Topic category: Help with MCreator software
I need to make a block that when I right click it drops different specific items and randomly, how can I do it?
https://www.youtube.com/watch?v=SBtTsNYiHzw
Called on block right clicked:
set local Rand = random[0,1]
if Rand < 0.25
do spawn gem [NameOfItem] at xyz
else if Rand < 0.5
do spawn gem [NameOfItem2] at xyz
else if Rand < 0.75
do spawn gem [NameOfItem3] at xyz
else
do spawn gem [NameOfItem4] at xyz
Tanks
i made this for mobs; a egg item (spawn egg) that when clicked on block spawn 4 types of mobs or 4 mobs of the same model with diferent textures, you still need to have a entity file for each thou: (25% chance each):