1

Minecraft Adventure Map Help

phomper's Avatar phomper10/26/16 10:10 pm
1 emeralds 405 1
11/4/2016 2:16 pm
Coolphill's Avatar Coolphill
I am currently making a Minecraft Apocalyptic Adventure Map where the air is toxic and you must wear a gasmask, and I was just wondering how I would make it work.

I need to have a command that when you take off your gasmask, you start to take damage, and when you have it on, you don't. Also, there are some bunkers and places with breathable air, which you will be able to remove it freely.

I have played some space adventure maps where this happens, so I know it's possible, but I have no idea what command/s I would need to use.

Can somebody help me?

Also, I'm making custom shops in it, and I know how to make it take something from your inventory and give you the item, but I DON'T know how to make it NOT give it to yu if you don't have enough.

Help, please?
Posted by phomper's Avatar
phomper
Level 17 : Journeyman Crafter
0

Create an account or sign in to comment.

1

1
11/04/2016 2:16 pm
Level 29 : Expert Musician
Coolphill
Coolphill's Avatar
I did something like this with my Mars map (where you must where a space helmet otherwise you die) I can't remember how I quite did I'd have to go look and see, which I don't have access to my computer right now. Some how I detected if they had the helmet in their armor slot (and it was named "Space Helmet) (obv you'll want "Gas Mask" for yours) Is this only one spot or is the whole world "toxic"
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome