1

Need Help Stacking Potions

Greystalk 9/24/17 12:33 am
1.2k
9/24/2017 6:55 pm
So I'm making a custom map, and I want to be able to stack potions. Not like the player can stack them, but the player could find pre-stacked potions in chests. Is there still a way to do this? And how would I do it?
Posted by
Greystalk
Level 46 : Master Ranger
30

  Have something to say?

JoinSign in

2

Pepijn
09/24/2017 3:28 am
Level 58 : Grandmaster Cyborg
history
The only way is through editing NBT directly, which can be done with commands or external programs.

An example:
setblock ~ ~1 ~ minecraft:chest 0 replace {Items:[{Slot:0b,Count:10b,id:"minecraft:potion",tag:{Potion:"minecraft:strong_healing"}}]}
1
Greystalk
09/24/2017 6:55 pm
Level 46 : Master Ranger
Okay, thank you. I'll try that.
1

Welcome