13
0
geforkt von Mirrors/Paper
Paper/paper-server/patches/sources/net/minecraft/world/level
Aikar cd2f06bbc2 Duplicate UUID Resolve Option
Due to a bug in 2e29af3df0
which was added all the way back in March of 2016, it was unknown (potentially not at the time)
that an entity might actually change the seed of the random object.

At some point, EntitySquid did start setting the seed. Due to this shared random, this caused
every entity to use a Random object with a predictable seed.

This has caused entities to potentially generate with the same UUID....

Over the years, servers have had entities disappear, but no sign of trouble
because CraftBukkit removed the log lines indicating that something was wrong.

We have fixed the root issue causing duplicate UUID's, however we now have chunk
files full of entities that have the same UUID as another entity!

When these chunks load, the 2nd entity will not be added to the world correctly.

If that chunk loads in a different order in the future, then it will reverse and the
missing one is now the one added to the world and not the other. This results in very
inconsistent entity behavior.

This change allows you to recover any duplicate entity by generating a new UUID for it.
This also lets you delete them instead if you don't want to risk having new entities added to
the world that you previously did not see.

But for those who are ok with leaving this inconsistent behavior, you may use WARN or NOTHING options.

It is recommended you regenerate the entities, as these were legit entities, and deserve your love.
2018-07-21 14:27:34 -04:00
..
block Dont send unnecessary sign update 2021-09-11 11:56:51 +02:00
border Bound Treasure Maps to World Border 2016-12-20 15:15:11 -05:00
chunk Duplicate UUID Resolve Option 2018-07-21 14:27:34 -04:00
dimension/end Add config to disable ender dragon legacy check 2018-06-22 10:38:31 -05:00
entity Add Debug Entities option to debug dupe uuid issues 2018-07-21 08:25:40 -04:00
gameevent Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
levelgen Add option to disable pillager patrols 2019-10-09 21:46:15 -05:00
material Prevent chunk loading from Fluid Flowing 2018-09-10 23:36:16 -04:00
pathfinder Mob Pathfinding API 2018-09-09 13:30:00 -04:00
portal Add configurable portal search radius 2016-03-03 02:46:17 -06:00
redstone Prevent NoClassDefError crash and notify on crash 2014-04-21 12:43:08 +01:00
saveddata/maps Adventure 2021-01-29 17:54:03 +01:00
storage Print Error details when failing to save player data 2018-06-15 20:37:03 -04:00
BaseCommandBlock.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
BaseSpawner.java.patch Mob Spawner API Enhancements 2019-04-19 12:41:13 -05:00
BlockGetter.java.patch Prevent various interactions from causing chunk loads 2018-09-10 23:56:36 -04:00
ChunkPos.java.patch MC Utils 2016-03-28 20:55:47 -04:00
ClipContext.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
EmptyBlockGetter.java.patch MC Utils 2016-03-28 20:55:47 -04:00
EntityGetter.java.patch SkeletonHorse Additions 2018-07-27 22:36:31 -05:00
GameRules.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
Level.java.patch Optimize Captured BlockEntity Lookup 2019-04-06 10:16:48 -04:00
LevelAccessor.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
LevelReader.java.patch MC Utils 2016-03-28 20:55:47 -04:00
LevelWriter.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
NaturalSpawner.java.patch Only count Natural Spawned mobs towards natural spawn mob limit 2019-03-24 01:01:32 -04:00
PathNavigationRegion.java.patch MC Utils 2016-03-28 20:55:47 -04:00
ServerExplosion.java.patch Expand Explosions API 2018-06-20 23:17:24 -04:00
ServerLevelAccessor.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00