Chest direction placing glitch
The bug
When placing a chest it will glitch to another direction for a second.
How to reproduce
- Place a chest when you are facing north
- Place a chest in front of it
- You can see a double chest to another side for half a second
Code analysis
Code analysis by Marcono1234 can be found in this comment.
Created Issue:
Chest direction placing glitch.
When placing a chest it will glitch to another direction for a second.
See this video for more detials, still uploading:
http://www.youtube.com/watch?v=scrRm74LDGQEnvironment
OS: Windows 8 Professional
Java: 7 update 9
When placing a chest it will glitch to another direction for a second.
Seethis videofor more detials, still uploading:
http://www.youtube.com/watch?v=scrRm74LDGQWhen placing a chest it will glitch to another direction for a second.
Watch this video to see the glitch in action:
http://www.youtube.com/watch?v=scrRm74LDGQ
When placing a chest it will glitch to another direction for a second.
Watch this video to see the glitch in action:
http://www.youtube.com/watch?v=scrRm74LDGQWhen placing a chest it will glitch to another direction for a second.
What I expected to happend was:
It would not glitch to another side.What actually happend was:
It glitched for half a second to another side.Steps to reproduce:
1. Place a chest when you are facing north.
2. Place a chest in front of it.
3. You can see a double chest to another side for half a second.Watch this video to see the glitch in action:
http://www.youtube.com/watch?feature=player_detailpage&v=scrRm74LDGQ#t=96s
Chest direction placing glitch.
is duplicated by
is duplicated by
is duplicated by
When placing a chest it will glitch to another direction for a second.
What I expected to happend was:
It would not glitch to another side.What actually happend was:
It glitched for half a second to another side.Steps to reproduce:
1. Place a chest when you are facing north.
2. Place a chest in front of it.
3. You can see a double chest to another side for half a second.Watch this video to see the glitch in action:
http://www.youtube.com/watch?feature=player_detailpage&v=scrRm74LDGQ#t=96s
When placing a chest it will glitch to another direction for a second.
What I expected to happend was:
It would not glitch to another side.What actually happend was:
It glitched for half a second to another side.Steps to reproduce:
1. Place a chest when you are facing north.
2. Place a chest in front of it.
3. You can see a double chest to another side for half a second.Watch this video to see the glitch in action:
http://www.youtube.com/watch?feature=player_detailpage&v=scrRm74LDGQ#t=96s
When placing a chest it will glitch to another direction for a second.
What I expected to happend was:
It would not glitch to another side.What actually happend was:
It glitched for half a second to another side.Steps to reproduce:
1. Place a chest when you are facing north.
2. Place a chest in front of it.
3. You can see a double chest to another side for half a second.Watch this video to see the glitch in action:
http://www.youtube.com/watch?feature=player_detailpage&v=scrRm74LDGQ#t=96s
Code analysis by Marcono1234 can be found in this comment.
When placing a chest it will glitch to another direction for a second.
What I expected to happend was:
It would not glitch to another side.What actually happend was:
It glitched for half a second to another side.Steps to reproduce:
1. Place a chest when you are facing north.
2. Place a chest in front of it.
3. You can see a double chest to another side for half a second.Watch this video to see the glitch in action:
http://www.youtube.com/watch?feature=player_detailpage&v=scrRm74LDGQ#t=96s
Code analysis by Marcono1234 can be found in this comment.
The bug
When placing a chest it will glitch to another direction for a second.
How to reproduce
- Place a chest when you are facing north
- Place a chest in front of it
- You can see a double chest to another side for half a second
Code analysis
Code analysis by Marcono1234 can be found in this comment.
OS: Windows 8 Professional
Java: 7 update 9
Duplicate of MC-3794, please use the search function to see if your bug has already been submitted. Currently over 51% of tickets are being closed as duplicate.
Duplicate of MC-3794, please use the search function to see if your bug has already been submitted. Currently over 53% of tickets are being closed as duplicate.
Duplicate of MC-3794, please use the search function to see if your bug has already been submitted. Currently over 57% of tickets are being resolved as duplicate.
Can confirm.
Same with trapped chests.
Sorry that i duplicated, i tried to search "double chest glitch" and i went through 61 bugs. I tried.
Added some labels for future reference.
Confirmed for
Confirmed for 14w33c
Confirmed for
Confirmed for 1.9-pre1
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.