Topic category: Help with Minecraft modding (Java Edition)
So, i'm super close to being able to release my first mod! I am having one issue, though!
I'm wanting to make a dryad mob that wanders around the forests, but can be led someplace else with a sapling, and that plants a random sapling for one of the new types of trees i've made as she wanders around! I kinda like the idea that dryads work to spread their forests wherever they go if left alone!
I've kinda got that working. . . however she places the saplings down way waaaay too quickly! She is spamming them so quickly that you can watch them change under her feet like some kind of visual randomizer. While a cool effect, i'm pretty sure that's gonna cause a TON of lag, so i don't want to leave it that way!
So my question is, what's the best way to tell her to only place down one of her saplings every, say 5-10 minutes or so?
Hello there, could you screenshot your procedure, the one that make your dryad plants tree? It would be nice to have something to work with rather than some blank words.
Sure thing!
I left out the middle part as it's the same thing, just with even more saplings!
I am also kinda proud how the mob turned out too! Still wanna fix her hair and make it more leafy, but i think it's a good start!
I gave her a sheleighly as a weapon that causes knockback, and if i can, i think it would be cool if she summoned wolves to help defend her!
For now, i'll be happy just getting her sapling planting right! lol
Hello again, I assume that you put this procedure in "On entity tick update" right? If so, you could use the timer for it, here an example:
https://ibb.co/rt9LjrT
Oh and I think you should get rid the " wait 1200 ticks,..." thingy.\
Anyway, hope it helps and good luck on your mod.
Ah, perfect! thanks so much!!
Yeah, the wait thing didn't work like i thought it would!