genovefa Posted September 1, 2025 Report Posted September 1, 2025 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.
genovefa Posted September 1, 2025 Author Report Posted September 1, 2025 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?
genovefa Posted September 1, 2025 Author Report Posted September 1, 2025 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.
Recommended Posts