| Type: | Bug | ||
| Reporter: | [Mojang] Panda | Assignee: | [Mojang] Jeb (Jens Bergensten) |
| Resolution: | Fixed | Votes: | 72 |
| Labels: | None | ||
| Attachments: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CHK: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Confirmation Status: | Confirmed | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
Upwards and downwards facing dispensers with spawn eggs will spawn the mob inside the dispenser (instead of on top/below it). Steps to reproduce Fix Bootstrap.java (in MCP) public ItemStack dispenseStack(IBlockSource source, ItemStack stack) { EnumFacing var3 = BlockDispenser.getFacing(source.getBlockMetadata()); double var4 = source.getX() + (double)var3.getFrontOffsetX(); // Added "+ (double)var3.getFrontOffsetY()" double var6 = (double)((float)source.getBlockPos().getY() + 0.2F) + (double)var3.getFrontOffsetY(); double var8 = source.getZ() + (double)var3.getFrontOffsetZ(); Entity var10 = ItemMonsterPlacer.spawnCreature(source.getWorld(), stack.getMetadata(), var4, var6, var8); if(var10 instanceof EntityLivingBase && stack.hasDisplayName()) { ((EntityLiving)var10).setCustomNameTag(stack.getDisplayName()); } stack.splitStack(1); return stack; } This fix would be ok already, but for downwards facing dispensers it would still spawn two high+ mobs inside the dispenser with their head. |
| Comments |
| Comment by Fabian Röling [ 10/Aug/16 ] |
|
I think the most intuitive, consistent and further bug-preventing would be to put the top of the hitbox at the bottom edge of the dispenser. Should be tested with custom spawn eggs with huge slimes. |
| Comment by [Mojang] Jeb (Jens Bergensten) [ 09/Aug/16 ] |
|
As mentioned in the description, still doesn't work perfectly for downwards-facing dispensers. Mainly a bit tricky to know how much to offset the entity, since there may be a floor below the dispenser as well |
| Comment by null (Inactive) [ 22/Jun/16 ] |
|
Confirmed for 1.10.1. |
| Comment by Sam Bone [ 21/Jun/16 ] |
|
Also duplicated by |
| Comment by null (Inactive) [ 08/Jun/16 ] |
|
Confirmed for 1.10. |
| Comment by null (Inactive) [ 07/Jun/16 ] |
|
Confirmed for 1.10-pre2. |
| Comment by null (Inactive) [ 03/Jun/16 ] |
|
Confirmed for 1.10-pre1. |
| Comment by null (Inactive) [ 26/May/16 ] |
|
Confirmed for 16w21b. |
| Comment by null (Inactive) [ 25/May/16 ] |
|
Confirmed for 16w21a. |
| Comment by null (Inactive) [ 18/May/16 ] |
|
Confirmed for 16w20a. |
| Comment by null (Inactive) [ 11/May/16 ] |
|
Confirmed for 1.9.4. |
| Comment by null (Inactive) [ 06/May/16 ] |
|
Confirmed for 1.9.3-pre3. |
| Comment by Jackietheboy d [ 14/Apr/16 ] |
|
Confirmed for 16w15b |
| Comment by Sealbudsman [ 15/Feb/16 ] |
|
Affects 16w07a. |
| Comment by Roy Sajima [ 15/Feb/16 ] |
|
Confirmed for 16w06a. |
| Comment by James (inactive) [ 13/Jan/16 ] |
|
Confirmed for 16w02a. |
| Comment by James (inactive) [ 21/Dec/15 ] |
|
Confirmed for 15w51b. |
| Comment by Kumasasa [ 18/Sep/15 ] |
|
Changed reporter to panda4994 |
| Comment by [Mojang] Panda [ 17/Sep/15 ] |
|
Can confirm for 15w38b. |
| Comment by [Mojang] Panda [ 05/Sep/15 ] |
|
Can confirm for 1.8.8 and 15w36d. |
| Comment by Marcono1234 [ 03/Jul/15 ] |
|
Confirmed for
|
| Comment by Pete Frisky [ 14/Nov/14 ] |
|
Still bugged in 1.8.1 pre4. |
| Comment by John Wages [ 06/Sep/14 ] |
|
I want to make a hidden dispenser in the wall that will drop mobs, and this bug is not letting me do it simply at all. |
| Comment by Thrashkal . [ 29/Jul/13 ] |
|
Pretty annoying bug. |
| Comment by sam tunder [ 28/Jul/13 ] |
|
was able to reproduce in 1.6.2! so its still there! |
| Comment by Samuel Jones [ 11/Jul/13 ] |
|
Still in 1.6.2. |
| Comment by [Mod] Ezekiel (ezfe) [ 10/Jul/13 ] |
|
Is this still a concern in the current Minecraft version? 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 Roman Kasparian [ 01/Jul/13 ] |
|
Stil in 1.6.1. |
| Comment by Platypus [ 20/Jun/13 ] |
|
This is still in 13w25a/b/c. |
| Comment by Ben Woodworth [ 13/Jun/13 ] |
| Comment by [Mod] Torabi [ 26/Mar/13 ] |
|
Issues are addressed roughly in order by number of votes. This issue currently ranks #62. |
| Comment by Morgan Nolan [ 24/Mar/13 ] |
|
Needs to be fixed |
| Comment by Morgan Nolan [ 24/Mar/13 ] |
|
screenshot '2013-03-24_22.32.08' |
| Comment by Nicolous smithbobjuniour [ 07/Mar/13 ] |
|
yah this isnt resolved, mojang needs to refix this pronto! |
| Comment by Alan Young [ 07/Mar/13 ] |
|
This is still happening in the 1.5 prerelease. Please fix. |