Started by
deni_loves_kebab
on
Topic category: Help with Minecraft modding (Java Edition)
Hi! So i was struggling for like 4 days to find a procedure / procedure combination for my projectile grenade. I wanted to make a Grenade with a 4 second fuse (80 ticks) but i dont know how to make it. I also want the fuse timer to continue when the Grenade hit an entity/block. Is there anyone who could help me with that? I'd be REALLY happy if someone could help me.
Note: I'm using MCreator 2024.1 Forge
Edited by deni_loves_kebab on Mon, 04/15/2024 - 18:38
Btw I downloaded mcreator 2 weeks ago so im kinda new. But i created an account just for this post.
in the grenade entity, just give it a ticking procedure that counts a variable up by 1 every tick, and every tick check if that variable is equal to or greater than 80, and if it is, then explode the entity
Could you show me an example with procedures? I don't know which procedure is the right one :/
Btw i also tried this for "When ranged item used" but it doesnt explode where the grenade is after 80 ticks, it explodes there where i am.
https://ibb.co/NK6LM8z
The procedure is ok, but you need to change "When ranged item used" to "When projectile hits block/entity".
If you are new to the software, I suggest you check our tutorials collection playlist on our YouTube channel which contains many examples and tutorials that can help you get started with MCreator: https://www.youtube.com/playlist?list=PLAeL-oIFIEngE6jRgFYeFMfuj8WQsO3Ei