Jade icon indicating copy to clipboard operation
Jade copied to clipboard

Compatibility with third person mods

Open Leawind opened this issue 1 year ago • 3 comments

Solved a problem when using third person mods. Related issue: https://github.com/LEAWIND/Third-Person/issues/63

I simply use existing hitResult to calculate the trace direction, instead of using the entity's lookVector.

Leawind avatar Mar 13 '24 14:03 Leawind

Hi, I would suggest more player testing before I merge it. For example, have you taken into account the entity target? It seems like it only works for blocks.

Snownee avatar Mar 13 '24 14:03 Snownee

It looks it works for entities. But I'll do more testing to make sure there are no other problems. Please don't merge yet

Leawind avatar Mar 13 '24 15:03 Leawind

I suggest registering a custom raytrace callback using the provided jade api overrides.

Exopandora avatar Apr 13 '24 12:04 Exopandora

感谢,这个问题我修好了。我把你的模组和我的Fruitful Fun放在一起测试了下,因为升降是靠玩家俯仰角控制的,所以玩家在第三人称骑乘控制蜜蜂时无法正常升降,希望可以添加一下支持。

Snownee avatar Sep 30 '24 15:09 Snownee

@Exopandora I did some changes to the ray tracing part. I tested with your mod and removed the Jade entrypoint in the fabric.mod.json, and it seems to work good.

Snownee avatar Sep 30 '24 15:09 Snownee