Fabric API

Fabric API

106M Downloads

Fabric Dimensions teleportation despawns non-player entities

LordDeatHunter opened this issue ยท 0 comments

commented

When using FabricDimensions#teleport with a non-player entity, all of the entity's data is copied upon teleportation, including its UUID.
The issue with this is that the original entity still exists at the time of teleportation (and UUID copying), resulting in the entity (or technically both entities) disappearing/despawning completely.
Some solutions would be:

  1. The new entity should get a new UUID
  2. The old entity should be completely removed before copying over its UUID to the new entity

Tested with the following versions:
Minecraft: 1.18.2
Fabric API: 0.53.0
Fabric Dimensions: 2.1.17