• 691 views, 1 today
  • 17 downloads, 0 today
  • 5
  • 2
  • 7
shanewolf38's Avatar shanewolf38
Level 57 : Grandmaster Engineer
168
Intro:

Hey, guys. Today I bring you three different methods to make a door combination. For those of you who've been around for a while now, you may remember my Labyrinth code I made a while back. That one used entities equal to the amount of combinations you had. That's not a very great method. So, now that I've learned some more tricks, I'll be showing you three ways to make a door combo. Two use just one objective, no entities, and minimal commands, and the other uses one entitiy, no objective, and minimal commands.

Method 1 (Binary):

This is the only method I won't be explaining in the video. It's optimal for two doors, and holds 31 different combination slots for just one fake player. Unfortunately, changing the combo is not very easy at all. Well, it can be if you look up a binary to number converter. Anyways, as I said before, I won't be explaining it in detail, but a download link (Method 1) will be provided.

Method 2 (Binary v2):

This method uses binary, but in a much more intuitive way. Let's say you wanted the combo to be door 3, then door 1, then door 2. You'd run this command:

/scoreboard players set Combination Door 213.

So yes, it's the combination backwards. This one holds up to 9 slots. It's super easy to change the combination as well, which is a plus. A download link to this world (Method 2) will be provided.

Method 3 (Blocks):

This is the method that uses one entity. However, it can accommodate an infinite number of doors and combinations. However, you must use blocks. It stores the data in blocks, uses a clone and a testforblocks command to see whether or not the code matches up. The only reason I'm not too fond of this method is because it takes up blocks in the overworld. However, it's still a very useful method if you want over 10 combinations for more than two doors.

Conclusion:

I hope one of these methods is able to help you out. I tried to explain them (except the first) as best I could in the video so you could adapt them into your own creations. If you liked it, a diamond would be much appreciated! Thanks!
Progress100% complete
Tags

Create an account or sign in to comment.

1
06/20/2016 9:24 am
Level 1 : New Crafter
Super Space Hero
Super Space Hero's Avatar
This is definitely really cool! I went about trying to make a binary one like the second method once, but I never did finish it. Oh well - yours looks better organized than mine!
1
06/20/2016 6:12 pm
Level 57 : Grandmaster Engineer
shanewolf38
shanewolf38's Avatar
Thanks, man! My binary methods were really disorganized at first, but since I've done it so much in many of my creations it's become more refined over time. xD
1
06/19/2016 11:43 pm
Level 49 : Master Fox
Orbiter
Orbiter's Avatar
That's really awesome! Still too much math, but it's really cool! :D
1
06/20/2016 12:39 am
Level 57 : Grandmaster Engineer
shanewolf38
shanewolf38's Avatar
Haha, thanks! xD

My next creation uses a lot of math, but I think you'll like it. ;)
1
06/20/2016 11:31 am
Level 49 : Master Fox
Orbiter
Orbiter's Avatar
Hmm, sounds interesting. Can't wait to see! ^^
1
06/20/2016 6:13 pm
Level 57 : Grandmaster Engineer
shanewolf38
shanewolf38's Avatar
Now that I've played around with it some more and added a feature to make it much more flexible, I realized this is a mechanic that could possibly revolutionize RPG maps. Well, that's a bit of a stretch. I wouldn't say revolutionize. The idea could, perhaps. But the actual mechanic would add a lot to RPG maps, or any maps for that matter. :D
1
06/20/2016 7:50 pm
Level 49 : Master Fox
Orbiter
Orbiter's Avatar
That sounds awesome o-o
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome