[MC-11416] Dispenser / Dropper / Piston / Command block placing is not consistent Created: 09/Mar/13 Updated: 12/Oct/16 Resolved: 12/Oct/16 |
|
| Status: | Resolved |
| Project: | Minecraft: Java Edition |
| Component/s: | None |
| Affects Version/s: | Minecraft 1.4.7, Minecraft 1.5, Minecraft 1.5.1, Minecraft 1.5.2, Minecraft 1.6.1, Minecraft 1.6.2, Minecraft 1.7.10, Minecraft 14w30b, Minecraft 14w30c, Minecraft 15w36d, Minecraft 15w51b, Minecraft 16w32b |
| Fix Version/s: | Minecraft 16w41a |
| Type: | Bug | ||
| Reporter: | Hannes Güdelhöfer | Assignee: | [Mojang] Grum (Erik Broes) |
| Resolution: | Fixed | Votes: | 9 |
| Labels: | facing, piston, placing | ||
| Attachments: |
|
||||||||||||
| Issue Links: |
|
||||||||||||
| CHK: | |||||||||||||
| Confirmation Status: | Confirmed | ||||||||||||
| Description |
|
All pistons were placed standin on top of the lamp. I allways aimed for the block behind the piston. |
| Comments |
| Comment by Emoluvjd2 [ 11/Feb/16 ] |
|
I thought they used the stairs placement algorithm? |
| Comment by user-f2760 (Inactive) [ 19/Dec/15 ] |
|
Also effects command blocks in thd 1.9 snapshots |
| Comment by Ven Dealro [ 19/Dec/15 ] |
|
Still happens in the latest snapshot, 15w51b. |
| Comment by Ethan "derdiggermunster" Gardener [ 19/Dec/15 ] |
|
logs are never a problem to place any more. why are all the sensitive components so hard to place? |
| Comment by Marcono1234 [ 09/Sep/15 ] |
|
Confirmed for
|
| Comment by Galaxy_2Alex [ 25/Oct/14 ] |
|
Is this still a concern in the current Minecraft version 1.8.1 Prerelease 3 / Launcher version 1.5.3 or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases. |
| Comment by dirk (switched to Minetest) [ 26/Jul/14 ] |
|
Standing on the orange wool block and blacing the pistons. Still an issue in 14w30c. |
| Comment by Theo [ 11/Apr/13 ] |
|
Still present in 1.5.1 (second picture) |
| Comment by dirk (switched to Minetest) [ 02/Apr/13 ] |
|
This is like the crappy old behavior of placing logs. They maybe just didn’t fix placing for pistons, too. |
| Comment by Markku [ 09/Mar/13 ] |
|
Fix BlockPistonBase.determineOrientation() //if (MathHelper.abs((float)par4EntityPlayer.posX - (float)par1) < 2.0F // && MathHelper.abs((float)par4EntityPlayer.posZ - (float)par3) < 2.0F) if (MathHelper.abs((float) player.posX - ((float) x + 0.5F)) < 2.0F && MathHelper.abs((float) player.posZ - ((float) z + 0.5F)) < 2.0F) { ... The piston block's position was taken at its north-west corner, while player's position was its non-rounded value. This caused half-a-block shift (i.e. error) in the angle calculation. |
| Comment by Markku [ 09/Mar/13 ] |
|
This indeed seems to have a small offset bug into it. Seems like it calculates the angle ("facing") based on the block corners, ignoring the exact position of the player. Lets see if I can find the relevant source code. (btw. affects 1.4.7, too) |
| Comment by Hannes Güdelhöfer [ 09/Mar/13 ] |
|
@Tails but this is the problem here. I stood in the exact same spot. And they should be facing all the same, don't you think? |
| Comment by Tails [ 09/Mar/13 ] |
|
Pistons are placed always facing you. |