KubeJS

KubeJS

61M Downloads

Player ride issue

ripsterdog opened this issue ยท 3 comments

commented

Minecraft Version

1.19.2

KubeJS Version

build.67

Rhino Version

build.232

Architectury Version

6.2.46

Forge/Fabric Version

Forge 1.19.2-43.1.1

Describe your issue

Anytime an entity mounts a player, its collision, suffocation detection, etc. properly moves on top of the player but visually its model doesn't move until it dismounts

Crash report/logs

No response

commented

In what way is this related to KubeJS? Is there anything in the log pointing towards it?

commented

They are using KubeJS to get the entities to ride each other

commented

ItemEvents.entityInteracted(event => {
if (event.entity.isPlayer() && event.target.isPlayer() && event.target.stages.has('Mount')){
event.entity.startRiding(event.target, true)
event.player.hurtMarked = true
}
})