Started by
Sky_PC
on
Topic category: Help with Minecraft modding (Java Edition)
So, I'm making a mod, and I need a specific entity to spawn when a key is pressed while the player is holding an item.When spawned, it should stay behind the player. I also need it to move in front of the player when a specific key is pressed, and disappear when another key is pressed.
I'm not sure if this would work but it'd be a good start.
I feel like that would work absolutely perfect, but im not sure where to put the code. Currently, i have it so that when you use an item, it spawns an entity. would i have to put that on an entity trigger?