I need to have a dispenser able to dispense an infinite amount of Splash Potion of Harming II, and from what I can see the best way is getting a -1 stack of the item, but I can't figure out how.

New contributor
captainflar is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • Did you try /replaceitem? If that doesn't work, you'll have to edit an item entity with /entitydata. I also want to note that this is a bug and as far as I know all sources of negative stacks are fixed in the current version. – Fabian Röling Aug 12 at 20:14
  • I don't see how this question is unclear, It's basically "How can I make a dispenser dispense an infinite amount of Splash Potions of Harming II?". – bearb001 Aug 12 at 21:17

I don't know about giving yourself -1 of an item but to get an infinite dispenser you can use the replaceitem command. It is entered like

replaceitem block [x] [y] [z] [slot] [item] [amount] [data] [dataTag]

If you need more help you should just be able to make a quick google search for replace item command in Minecraft in 1.8.9 or Infinite dispenser in 1.8.9

Otherwise this post is good: How can I make a dispenser that has unlimited arrows?

Your Answer

captainflar is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.