Affects Version/s: Minecraft 1.14.2, Minecraft 1.14.3 Pre-Release 1, Minecraft 1.14.3 Pre-Release 2, Minecraft 1.14.3 Pre-Release 3, Minecraft 1.14.3 Pre-Release 4, Minecraft 1.14.3, Minecraft 1.14.4 Pre-Release 1, Minecraft 1.14.4 Pre-Release 3, Minecraft 1.14.4 Pre-Release 4, 1.14.4, 19w34a, 19w40a, 19w41a, 1.15 Pre-release 5, 1.15.2, 20w06a, 20w07a, 20w08a, 20w09a, 20w10a, 20w11a, 20w12a, 20w14a, 20w16a, 20w17a, 20w18a, 20w20b
Fix Version/s: 20w21a
When entities with the same UUID exists in multiple levels, the result of UUID selector (e.g. 0-0-0-0-0) is not guaranteed.
- Add armor stands with the same UUID 0-0-0-0-256e7 in all the levels
→ The result is one of the following values: -1, 0, 1. It is nondeterministic and may change each time the game is started.
Furthermore, since the Java API specification of IdentityHashMap does not make guarantees about the order, the result may be completely unpredictable depending on the environment.
IdentityHashMap is used for the levels.
This class makes no guarantees as to the order of the map; in particular, it does not guarantee that the order will remain constant over time.
An entity with the specified UUID is searched by iterating the levels that their order is not guaranteed. This causes nondeterminism of UUID selectors.