mojira.dev
MCPE-170422

syntax error with commands

setblock or fill command Hopper facing=Any direction give me syntax error please fix

/Setblock ~ ~ ~ hopper[facing=north]
/Setblock ~ ~ ~ hopper[facing=South]
/Setblock ~ ~ ~ hopper[facing=East]
/Setblock ~ ~ ~ hopper[facing=west]
Or
/Setblock ~ ~ ~ hopper 1
/Setblock ~ ~ ~ hopper 2
/Setblock ~ ~ ~ hopper 3
/Setblock ~ ~ ~ hopper 4

Any direction
North
South
East
West

/fill ~1 ~1 ~1 ~-1 ~-1 ~-1 hopper[facing=north]
/fill ~1 ~1 ~1 ~-1 ~-1 ~-1 hopper[facing=South]
/fill ~1 ~1 ~1 ~-1 ~-1 ~-1 hopper[facing=East]
/fill ~1 ~1 ~1 ~-1 ~-1 ~-1 hopper[facing=west]
Or
/fill ~1 ~1 ~1 ~-1 ~-1 ~-1 hopper 1
/fill ~1 ~1 ~1 ~-1 ~-1 ~-1 hopper 2
/fill ~1 ~1 ~1 ~-1 ~-1 ~-1 hopper 3
/fill ~1 ~1 ~1 ~-1 ~-1 ~-1 hopper 4

Linked issues

Attachments

Comments 1

Thank you for your report!

However, this issue has been closed as Working as Intended.

For the command to function as expected, it needs to be inputted like this:

/fill ~~~~~~ hopper["facing_direction"=north]

If you need help or have a suggestion you might like to follow a link below.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📓 Project Summary – 📧 Suggestions – 📖 Minecraft Wiki

wayne allen king

(Unassigned)

Unconfirmed

Multiple

Any

1.19.81 Hotfix

Retrieved