Started by
Clint42
on
Topic category: Help with modding (Java Edition)
How can I make a mob drop items randomly - similarly to the armadillo dropping scutes - in a non-laggy way?
Topic category: Help with modding (Java Edition)
How can I make a mob drop items randomly - similarly to the armadillo dropping scutes - in a non-laggy way?
when entity dies:
if random integer between 1 and 10 == 1:
spawn dropped item at x y z of target entity
I don't want it to drop it when it dies, but I want it to drop it when it is idle. Kind of like when a chicken dropping an egg.
maybe use random on entity update tick?