PluginBugs / Issues-ItemsAdder

Repository used to keep track of issues of my plugin ItemsAdder
https://itemsadder.devs.beer
53 stars 21 forks source link

Entity looks different when spawned with CustomEntity#spawn from API in v4 #3724

Open PlayerSchark opened 4 months ago

PlayerSchark commented 4 months ago

Terms

Discord tag (optional)

No response

What happened?

If you summon an entity with /iaentity summon it has the correct design. If you summon an entity with CustomEntity#spawn the Model fails to render some of its parts (see screenshot).

Potential cause:

3721

Steps to reproduce the issue

  1. Create an entity
  2. Spawn an entity with command
  3. Spawn an entity with API

Server version

Paper version 1.20.6-138-master@906df69

ItemsAdder Version

ItemsAdder version 4.0.1-alpha-test-3

ProtocolLib Version

ProtocolLib version 5.3.0-SNAPSHOT-713

LoneLibs Version

LoneLibs version 1.0.54

Full server log

No response

Error (optional)

No stacktrace (Error field is currently required)

Problematic items yml configuration file (optional)

No response

Other files, you can drag and drop them here to upload. (optional)

No response

Screenshots/Videos (you can drag and drop files or paste links)

left: /iaentity summon test:cannon right: CustomEntity spawn = CustomEntity.spawn("test:cannon", location); image

PlayerSchark commented 4 months ago

It seems that due to the api allows rotation of the entity parts of the model will break.

spawned with 0.5PI (90deg) rotation image

LoneDev6 commented 3 months ago

Is this happening also with bundle false?

PlayerSchark commented 3 months ago

Is this happening also with bundle false?

Yes it does. But I figured out if you set every pivot point to 0 0 0 expect the ones needed for actual rotation you can avoid this issue.

LoneDev6 commented 1 month ago

Please provide a model for me to drag and drop and test as I cannot reproduce the issue. Thanks for the patience