Topic category: Help with Minecraft modding (Java Edition)
I am making a Minecraft horror entity mod and I'm working on a custom AI. I'm fairly new to modding so I'm using someone Elses custom AI and ill be customizing it to make it my own. the problem is that before I went to customize it, I decide to test out the pre build AI to make sure it works and I'm glad I did. when I tried to add the Ai to the, "On Entity Initial Spawn" trigger it was saying missing dependancys. I think I understand the issue but it seems like there is no general fix and its mostly just based on the code you wrote. so what do I need to do to fix this? It has 0 warnings or errors.
Im posting 2 different screenshots.
The Code.
And the Required dependency's that its showing. Pls help.
so if your using triggers than look for the provided dependencies
so "sourceentity" is your problem.
So sorry, I forgot to say that this was solved. for anyone else wondering, you can use the + button on your workspace to create a procedure and choose any type of trigger. IDK if I was just being stupid or not, but the dependencies are based off of the trigger you use, so keep that in mind.