1

Need Help Stacking Potions

Greystalk's Avatar Greystalk9/24/17 12:33 am
1 emeralds 1.1k 2
9/24/2017 6:55 pm
Greystalk's Avatar Greystalk
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's Avatar
Greystalk
Level 45 : Master Ranger
30

Create an account or sign in to comment.

2

Pepijn
09/24/2017 3:28 am
Level 57 : Grandmaster Cyborg
history
Pepijn's Avatar
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 45 : Master Ranger
Greystalk's Avatar
Okay, thank you. I'll try that.
1
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome