mojira.dev
MC-116879

Downwards-facing dispensers place shulker boxes upright if a block is beneath the shulker box

Shulker boxes placed by dispensers always have their top side pointing outward from the direction the dispenser is facing. This behavior is not consistent though when the dispenser is facing downwards, has an air gap in front of it (to place the shulker box), and any block after the air. This behavior is unexpected when considering the shulker box can't even be opened due to the dispenser blocking it, and that all other 3 directions do not share this behavior.

Steps to Reproduce:

  1. Recreate the following setup (or simply the 'top' dispenser)

    [media]
  2. Fill the dispensers with 1-9 shulker boxes

  3. Power the dispensers

Observed Behavior:

The east, south, and west dispensers will all place the shulker box with it's bottom side on the dispenser, but the north dispenser will have the box facing upwards.

[media]

Expected Result:

All the boxes would be placed facing towards the block in the middle:

[media]

Linked issues

Attachments

Comments 8

Confirmed for 17w18a

Can confirm in 20w51a.

Can confirm in 21w06a.

Can confirm in 1.16.5 and 21w08b.

Can confirm in 1.17.1 Pre-release 1.

Still happening in 1.20.2 and current snapshots.

IMHO it only makes sense to default to upright placement if the box would "attach" to the block below (i.e. that one has a full top surface) and can be opened. Next best thing would be "attaching" to the dispenser, if that orientation allows opening. And since dispensing a shulker box isn't even a very frequent thing, I don't see why there wouldn't be a more thorough attachment check, similar to what the shulker mob does. Upright placement without being able to open the box should only be a fallback option if it can't reasonably be rotated any other way.

Affects 1.20.5, requesting ownership of this issue due to the issue due to it not being maintained since 1.17.1 Pre-release 1

[media]

Jack

[Mod] Jingy

(Unassigned)

Confirmed

Platform

Normal

Redstone

dispenser, shulker_box

Minecraft 1.11.2, Minecraft 17w17b, Minecraft 17w18a, Minecraft 1.12.2, Minecraft 17w50a, ..., 21w08b, 1.17.1 Pre-release 1, 1.20.5, 1.20.6, 24w21b

Retrieved