Spruce boat item translation key misspells "minecaft"
In a survival world by opening a chest in the spruce boat without entering it, a name like Chest or Chest in a spruce boat does not appear Instead appears a code
Linked Issues
Created Issue:
BUG IN THE SPRUCE BOAT WITH CHEST
In a survival world by opening a chest in the spruce boat without entering it, a name like Chest or Chest in a spruce boat does not appear Instead appears a code
Environment
Java Edition 24w36a, Windows 11 22H2.
Java Edition 24w36a, Windows 11 22H2.
relates to
In Minecraft 1.21.1, opening a boat with chest's inventory would show a title matching the item used to place that chest boat. For example, 'Oak Boat with Chest' would be shown.
However, starting in Minecraft snapshot 24w36a, this inventory name is now only 'Oak Boat', leaving out the chest part entirely, despite the inventory ostensibly being for that chest. This seems like an unintentional change given that it was not mentioned in the changelog for Minecraft snapshot 24w36a.
Relates to MC-276573, which was also a side effect of this change.

Looks valid to me, reproducible in singleplayer. Only applies to spruce boats. The translation key is misspelled as "minecaft"
Code analysis (Yarn mappings)
The BoatEntity.Type enum defines boat names separately rather than inheriting from an item as of Minecraft snapshot 24w36a. This is expressed as a translation key defined in the enum constructor.
The line defining spruce boats appears as follows:
To fix the error, the following line should be used instead (note the added r in minecraft):