Java Edition:Long Name Mob
When updating strings from 17w50 straight to 18w21b-18w22a, the game appends extra characters to the string.
Obtaining
This requires a custom named mob from 12w41a (1.4.2 snapshot) through 17w50a (1.13 snapshot). The mob then must be directly updated to (or stored in unloaded chunks until) 18w21b/18w22a. This then adds additional characters to the custom name. Since items also can be renamed via this method, any mob in the game except for the ender dragon can also have these long names via name tags or spawn eggs.
Characters
Different characters convert to different characters upon updating. All custom named items have {"text":" added to the beginning of the name, and "} added to the end of the name. This causes all custom named items to look like this: {"text":"<previous name>"}. Using this method alone, along with previously naming the mob with all 35 characters, allows for a custom name of 46 characters, which is 11 more than the maximum. Other specific characters affected are below. The best possible combination of characters would be 35 of any of these characters <>='& which would result in a total of 221 characters.
- A backslash \ becomes \\.
- A double quote " becomes \".
- A greater than symbol > becomes \u003e.
- A less than symbol < becomes \u003c.
- An equal sign symbol = becomes \u003d.
- An and symbol & becomes \u0026.
- A single quote ' becomes \u0027.
Downgrading
If you downgrade to before 17w50a[1] and upgrade back to 18w21b/18w22a, the name will increase again. With this method, the player can obtain a mob with a name length of 65,524. Going beyond this limit will cause errors while saving the string to NBT. The growth is exponential due to the automatic addition of 4 double quotes with every trip to 18w21b/18w22a.
Caution! - As the mob's name increases, the game starts lagging more and more when the mob's name tag or boss bar is rendered.
- 0 - 221
- 1 - 310
- 2 - 485
- 3 - 832
- 4 - 1,523
- 5 - 2,902
- 6 - 5,657
- 7 - 11,164
- 8 - 22,175
- 9 - 44,194
- 10 - 88,229
- 11 - 176,296
- 12 - 352,427
- 13 - 704,686
- 14 - 1,409,201
- 15 - 2,818,228
Formula for Calculation of Name Length
(A+4)2X + (C)2|X-1| + 3C(X-1-|X-1|) + B + 5C + 7X - 4, ( A,B,C,X ≥ 0 ), (A,B,C,X ∋ ℕ)
A = Number of Backslashes/Quotation Marks
B = Number of Normal Characters
C = Number of (</>/'/=/&)
X = Number of Downgrades/Updates to 18w21b/18w22a
Gallery
Combos
- Adult Drowned Chicken Jockey
- Adult Zombie Villager Chicken Jockey
- Adult Zombified Piglin Chicken Jockey
- Aquatic Mob in Boat
- Armored Dolphin
- Armored Fox
- Armored Panda
- Wild Horse Wearing Equipment
- Baby Piglin Holding Soul Item
- Bob's Dogs
- Can Pick Up Loot Mobs
- DemiGod Horse
- Drowned Chicken Jockey in the Nether
- Dual Wielding Mob
- Enderman Holding Invalid Block
- Endermite Without PlayerSpawned Tag
- Extra Health Fox
- Hoglin with High Speed Attribute
- Piglin with High Speed Attribute
- Strider with NoGravity Tag
- Giant
- God Horse
- High Health Skeleton Horse
- Illusioner
- Invalid Career Villager
- Invalid Dimension Mob
- Invalid Tier One Villager
- Missing Tier One Villager
- NoAI Drowned
- NoAI Iron Golem
- NoAI Villager
- NoAI Zombie
- NoAI Zombie Pigman
- Oversized Mob in Boat
- Overstacked Striders
- Patrol Captain Holding an Incomplete Ominous Banner
- Permanent Wandering Trader
- Persistent Dolphin
- Persistent Hoglin
- Persistent Piglin
- Piglin Jockey
- Pre-1.14 Villager
- Pre-1.8 Villager
- Saddled Baby Pig
- Saddled Baby Strider
- Second Buy Slot Removed Villager
- Shulkers In Non-Full Blocks
- Skeleton Spider Jockey in The Nether/End
- Stray Skeleton Horseman
- Stray Spider Jockey
- Strider Jockey Holding Golden Sword
- Super Horse
- The Killer Bunny
- Tradeless Villager
- Wild Llama Wearing Carpet
- Villager Chicken Jockey
- Weaponless Mob
- Wild Skeleton Horse
- Wither Skeleton Horseman
- Wither Skeleton Spider Jockey
- Wool Headed Mob
- Wrong Owner Pet
- Zero Drop Chance Left Hand Mob
- Zombie Horse
See also
References
- ↑ Downgrading from 18w21b to 17w50a doesn't seem to work so you'll need to go through another version first