[MC-3794] Chest direction placing glitch Created: 24/Nov/12 Updated: 09/Dec/17 Resolved: 09/Dec/17 |
|
| Status: | Resolved |
| Project: | Minecraft: Java Edition |
| Component/s: | None |
| Affects Version/s: | Minecraft 1.4.5, Minecraft 1.4.7, Snapshot 13w02b, Snapshot 13w10b, Minecraft 1.5, Minecraft 1.7.4, Minecraft 14w02c, Minecraft 14w03b, Minecraft 14w04a, Minecraft 14w04b, Minecraft 1.7.10, Minecraft 14w30c, Minecraft 14w31a, Minecraft 14w32a, Minecraft 14w32b, Minecraft 14w32c, Minecraft 14w32d, Minecraft 14w33a, Minecraft 14w33b, Minecraft 14w33c, Minecraft 1.8-pre1, Minecraft 15w37a, Minecraft 1.9 Pre-Release 1, Minecraft 1.10.2, Minecraft 16w32a, Minecraft 16w32b, Minecraft 16w33a, Minecraft 16w35a, Minecraft 17w06a, Minecraft 1.12 Pre-Release 6, Minecraft 1.12, Minecraft 1.12.1, Minecraft 1.12.2 |
| Fix Version/s: | Minecraft 17w49b |
| Type: | Bug | ||
| Reporter: | Is Prive | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 7 |
| Labels: | None | ||
| Attachments: |
|
||||||||||||||||
| Issue Links: |
|
||||||||||||||||
| CHK: | |||||||||||||||||
| Confirmation Status: | Confirmed | ||||||||||||||||
| Description |
The bugWhen placing a chest it will glitch to another direction for a second. How to reproduce
Code analysisCode analysis by marcono1234 can be found in this comment. |
| Comments |
| Comment by Marcono1234 [ 05/May/16 ] |
|
Please link to this comment in the description The following is based on a decompiled version of Minecraft 1.9 using MCP 9.24 beta. The reason for this is very likely that the method net.minecraft.block.BlockChest.onBlockPlaced(World, BlockPos, EnumFacing, float, float, float, int, EntityLivingBase) is not calling the method net.minecraft.block.BlockChest.checkForSurroundingChests(World, BlockPos, IBlockState). This might be inefficient because the method net.minecraft.block.BlockChest.onBlockAdded(World, BlockPos, IBlockState) is doing this always, whereas the method mentioned before and the method net.minecraft.block.BlockChest.onBlockPlacedBy(World, BlockPos, IBlockState, EntityLivingBase, ItemStack) do this when the chest is placed by a player, which means the same tests are done three times at the end. |
| Comment by Immaterialise [ 17/Feb/16 ] |
|
Confirmed for 1.9-pre1 |
| Comment by Marcono1234 [ 11/Sep/15 ] |
|
Confirmed for
|
| Comment by qmagnet [ 16/Aug/14 ] |
|
Confirmed for 14w33c |
| Comment by Marcono1234 [ 27/Jul/14 ] |
|
Confirmed for
|
| Comment by [Mod] CubeTheThird [ 21/Feb/13 ] |
|
Added some labels for future reference. |
| Comment by Leif Messinger [ 19/Feb/13 ] |
|
Sorry that i duplicated, i tried to search "double chest glitch" and i went through 61 bugs. I tried. |
| Comment by Tails [ 16/Jan/13 ] |
|
Same with trapped chests. |
| Comment by [Mod] CubeTheThird [ 25/Nov/12 ] |
|
Can confirm. |