Details
-
Type:
Bug
-
Status: Resolved
-
Resolution: Fixed
-
Affects Version/s: Minecraft 1.11, Minecraft 1.11.2, Minecraft 17w06a
-
Fix Version/s: Minecraft 18w03b
-
Labels:
-
Confirmation Status:Confirmed
Description
The bug
When you place two chests with custom names next to each other forming a double chest, both chests will keep their custom name and it is based on the direction which name is used.
Expected behavior
When a chest is placed next to an existing chest, the custom name of the existing chest should be set to the custom name of the placed chest.
Same should apply when using /blockdata.
How to reproduce
Name not overridden
- Place two named chests next to each other
/setblock ~1 ~ ~ chest default replace {CustomName:"chestA"}
/setblock ~1 ~ ~1 chest default replace {CustomName:"chestB"}
- Use /blockdata to show the NBT data of the chests
→ The chests show CustomName:"chestA" and CustomName:"chestB"
Name direction based
- Place two named chests next to each other
/setblock ~1 ~ ~ chest default replace {CustomName:"chestA"}
/setblock ~1 ~ ~1 chest default replace {CustomName:"chestB"}
- Open them
→ The inventory has the name "chestA" - Place two named chests next to each other (other direction)
/setblock ~1 ~ ~ chest default replace {CustomName:"chestA"}
/setblock ~1 ~ ~-1 chest default replace {CustomName:"chestB"}
- Open them
→ The inventory has the name "chestB"
Attachments
Issue Links
- relates to
-
MC-110862 Lock of double chest is set when player tries to open chest and is based on direction
- Resolved