Traben-0 / solid_mobs

Minecraft Fabric mod thats gives entities collisions and interactions based on that
Other
2 stars 0 forks source link

Item x player collision jank when dropped using Item Physics mod #27

Open BobzBlue opened 10 months ago

BobzBlue commented 10 months ago

I haven't tried dropping an item without the Item Physics mod, among many other mods, but a simple way to fix this issue would be to disable the collision of dropped items for a handful of ticks. I currently just have the feature disabled.

Traben-0 commented 10 months ago

Re enable the feature and then throw an item and experience the jank atleast once, then you can use the /solid_mobs commands to find out the entity name you collided with in your collision history and then you can use the blacklist command to blacklist collisions with that entity type. And you shouldn't get jank after that

BobzBlue commented 10 months ago

To clarify, every type of item when dropped has its trajectory altered by, or gets stuck in the source players model. What you are suggesting would result in me disabling the collision of every item, which I have. (I could potentially specify player collision but I've just turned it off at this point)

Traben-0 commented 10 months ago

You are using a mod that affects dropped items, it likely does not get affected by solid mobs regular vanilla item collision settings.

If this mod works anything like vanilla item entities do they should all fall under the 1 entity type and thus able to be black listed with only 1 listing.

What shows up after using the recent collisions sub command of /solid_mobs? You can view all the commands and instructions by just typing the primary command above.

If nothing of note appears in the recent collisions list then that will also tell me if the compatibility issue is on my end or theirs, so I can move forwards with a fix.

BobzBlue commented 10 months ago

I have toggled specifically the item collision feature along side the item physics mod and it successfully changes the property of these modded dropped items, toggling collision with mobs and toggling the issue of getting stuck in the source player model or at best being altered by it. This is telling that it is using vanilla entity type.

Please keep in mind that this is an issue specifically with item collision, and it is not impeding the mod as a whole given it's defaulted off anyway.