1

How to code a door?

MC_awesomeness 7/12/15 12:43 pm
1k
7/12/2015 4:52 pm
I am currently working on a mod for minecraft 1.7.10 and I would like to add doors. I have looked everywhere and cannot find a tutorial. Please Help!
Posted by
MC_awesomeness
Level 9 : Apprentice Architect
2

  Have something to say?

JoinSign in

13

deadrecon98
07/12/2015 4:34 pm
Level 38 : Artisan Programmer
Dude just get forge and copy it from their code! And yes it's legal, Mojang has no problem whatsoever with their code being deobfuscated.
1
MC_awesomeness
07/12/2015 4:52 pm
Level 9 : Apprentice Architect
I have forge.
1
MC_awesomeness
07/12/2015 4:43 pm
Level 9 : Apprentice Architect
I have forge.
1
spires33
07/12/2015 2:44 pm
Level 35 : Artisan Dwarf
you using eclipse? if so do ctrl shift r and type in block.door or something like that.... idk i have not modded in a really long time.
1
MC_awesomeness
07/12/2015 4:12 pm
Level 9 : Apprentice Architect
I did what u said, but i did not understand it.
1
Paril
07/12/2015 1:09 pm
He/Him • Level 89 : Elite Scapegoat Programmer
MCP deobfuscates the source, which helps but it's probably not the best learning resource.

A door is essentially just a block that changes its shape when it's "used". A trapdoor is probably a better starting point since it's simpler.
1
forgot about you
07/12/2015 1:28 pm
Level 19 : Journeyman Network
Actually, MCP applies a set of 3rd party mappings to Minecraft's obfuscated source, so the 'Source' that you get isn't the real one.
1
Jedi
07/12/2015 12:46 pm
Level 29 : Expert Artist
Go into the Minecraft source code, find doors.

if you can't figure out how to make a door from minecraft source code, I don't think that people would be interested in your mod.
1
Pixel
07/12/2015 12:47 pm
Level 43 : Master Mage
OP, don't listen to him. The source code is obfuscated!
1
Jedi
07/12/2015 12:48 pm
Level 29 : Expert Artist
You can find a source code download. And yes its legal, if you own a copy of minecraft.
1
Pixel
07/12/2015 12:49 pm
Level 43 : Master Mage
1. Be helpful and post a link maybe?
2. How is it legal? If Mojang wanted you looking at the source code, why not just distribute it themselves?
1
serdarminecraft
07/12/2015 12:58 pm
Level 18 : Journeyman Warrior
1. Google.com? He is allready helpfull by saying how he can do it.
2. Its legal. Did you ever hear of MCP?
1
Pixel
07/12/2015 1:17 pm
Level 43 : Master Mage
1. Saying that "You can do it" does nothing actually. It's merely an encouragement.
2. Yeah.
1

Welcome