Topic category: Help with Minecraft modding (Java Edition)
This issue is posed for MCreator 2022.3 on a 1.16.5 generator.
So right now I'm attempting to spawn geckolib entities that play a laser beam animation when they spawn. While they spawn with no issue, there's one problem:
I'm not able to get the entity to face where the player is looking latitudinally, only longitudinally. Here's a demonstration:
As you can see, the beam entity spawns in any direction the player is facing in one plane of rotation, that being the longitudinal axis, but never the latitudinal axis.
Here's the procedure that allows for this current process I have:
Since the current version of the Geckolib plugin for Blockbench doesn't allow for animated models to be exported as .java files and therefore to be used as projectile models, this is my only option as far as I can see in terms of laser beam animations.
If anyone has a solution, or an alternative to the issue posed, I'm all ears. Thanks in advance.
Give whatever group the lazer beam uses the head movement animation.
It seems the entity doesn't spawn looking where I'm looking still. It may have to do with the fact that I have its AI disabled, but when I enable it, head rotation still doesn't seem to work.
I have it enabled here:
Along with the head group being named as such:
I even had its pivot points centered for good measure. No dice here. I'm not sure if there's a way to force an entity to be looking where a player is looking, even then I can't seem to get the head movements working either.
Is there an alternative to what I'm trying to do, like setting projectile models to geckolib animated models?
Thanks much for responding.
GeckoLib does support animated projectiles. I might introduce them to the plugin in the future,
Please, that would be a godsend. Thanks much for trying to help, Nerdy.
If you're still there Nerdy, I'm trying to get the head animation working as I found out mobs to do look where I look when I use my procedure. Any clue why my entity is not registering proper head animations?
Having this same problem :(