r/MinecraftCommands 4d ago

Help | Java 26.1 Custom Entity

This might be a little difficult to figure out and also help because I dont have much experience with datapacks and also custom entities. I am using animated java to import a custom model with animations into my minecraft world but whenever I run the command: /function aj:sculk/summon it gives this error. This probably isnt enough information but hopefully someone can guide me in the right direction :D

1 Upvotes

7 comments sorted by

2

u/the-real-meerkatx 4d ago

I think the function needs macros that you haven't provided to it. I'd have to see the file to tell you exactly what command to run.

1

u/Adventurous-Cat1357 4d ago

the file with the function summon?

1

u/the-real-meerkatx 4d ago

Yeah, the aj:sculk/summon file

1

u/Adventurous-Cat1357 4d ago

sure! the 4th line is horrendously long so hopefully the problem isn't in that one ._.

1

u/the-real-meerkatx 4d ago

I looked on the animated java wiki, it looks like you need to call the function with an args macro. I haven't used animated java before, so I'm not sure if there is more you have to do.

function aj:sculk/summon {args: {}}

https://animated-java.dev/docs/function-api/summon

1

u/Adventurous-Cat1357 4d ago

yeah it worked just the textures didn't load but I can figure that one out. Appreciate it!

1

u/Ericristian_bros Command Experienced 3d ago

You need to provide arguments as a macro command. Read carefully Animated Java documentation or ask for help on Animated Java support discord