For some reason, if I try using /replaceitem it won't execute the command inside of a command block. This is the command I used:

/replaceitem block -10 -58 -27 slot.container 1 ender_pearl 1
  • I've just tested the exact command with a chest in the exact same spot and it works perfectly fine. Are you sure your container is in the location specified? What container are you using?
    – Josh Hales
    Mar 28, 2022 at 20:03


You must log in to answer this question.

Browse other questions tagged .