Jump to content

Recommended Posts

Posted

I have created a rideable entity, but it disappears after I ride it about 50 blocks. Could this reasonably be something I did and can fix, or is it a known VS-side issue? My entity is also not persistent, it's gone when I reload the save (currently on 1.20.12)

The entity is all JSON still, haven't done any C# for this mod yet. 

Posted

Ok, solved part of the problem: accidentally copy/pasted "despawn" behavior server.behavior. So now, when I am riding them, they still "disappear", but this time they are still in the world, just have been teleported to a location about where I started riding it?

Posted

fixed, Problem was the rideable behavior was on client side only, combined with the despawn behavior being included by copy/paste mistake.

So my understanding is there was a bit of a one-two combo here.

The client rides the entity, the server says no, you can't ride that, at next client/server sync, and the entity snaps back to where it was. Only, now it's >50 blocks from player, so despawn kicks in. Hope this helps somebody someday.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.