The code is out!

MrbrutalTraincraft61 Comments

So, the code has been open sourced. Now before I go into detail on where to get it, let me explain some things first.

The license that has been used is similar to the one Railcraft has, which means that contributions are fine(You have to sign an agreement), but just coping the code and calling it your own isn’t. Also the art assets, from pictures, textures and models are protected by Copyright law and can only be used in Traincraft or Traincraft add-ons. More info here: In the License. If there are any questions, leave a comment bellow.

Now, about the source code. It’s been split into 3 repositories:

The first one is obviously the code for the 1.6.4 branch of Minecraft and is the last release code that I did for that version. It is still in the 1.6.4 form, requiring forge and Ant build system which doesn’t use Gradle yet.

The second (Traincraft-5) is the source code for the rewrite that I started and can be continued after a version is made with the 1.6.4. code, so that the fans have something to play with in the meantime. I have plans for that which I’ll write-up in another blog post sometime down the line. This version also requires the third(MeanCore) code, as it is just an addon to that.

The third(MeanCore) is the code base for all my future mods, although this now seems a bit of a stretch, but can be used nonetheless.

 

Now how do we proceed? I think the first priority should be to get a version working from the old 1.6.4 code, and then work on the rewrite of the mod. If you want to help us out, I suggest you start by reading the Readme and the License files that come with the repository.

MrbrutalThe code is out!

61 Comments on “The code is out!”

  1. PaulEngineer

    That is, we can not play TrainCraft mod in version 1.7.10 or it will be update first, please answer me. Thank you very much.

    1. Kilthorn

      Thank you, because I really didn’t want to setup an ant build.

      Which raises another question for me, where do we want to talk code design direction? There on github on the wiki, or somewhere else?

        1. Hunter

          Please please please please PLEASE update this! If not to 1.10 at least to 1.7. I heave been waiting a LONG time for this to update. It is my absolute FAVORITE Minecraft mod EVER!!

  2. Zenith08

    I will try to help. I don’t know enough to add fancy track but I might be able to work on ores and some of the simple items and crafting recipes.

  3. Guest

    Where would I find the download for the 1.7.10 version once it is made? Or is it already made?

  4. Jcarrondo

    PaulEngineer and Justin,
    MrBrutal wrote this because he is making the mod available for coding by the ones that know how to and agree to the license.
    This meaning that he didn’t get much done in the 1.7x version and he needs the fans from Traincraft to help him and make this a reality, both for 1.7x and 1.8x.

  5. Zenith08

    Does Traincraft 5 require MeanCore?
    Also, could we just use a customized copy of Railcrafts coupling system for this or is there another one that Traincraft uses?
    Thanks,
    -Zenith08

    1. NitroxydeX

      It is and it’s not.
      MrBrutal wrote that it’s used in his future mods. It’s kind of Example-Code at the moment but in the Github description it says: “Core Mod for upcoming Traincraft Rewrite”

    2. Zenith08

      I checked later and it did.
      Could anyone tell me how to setup the files from github into eclipse. I’m not very good with git.
      Thanks,
      -Zenith08

  6. ProHunter02 A fan

    Ive been on this for a long time and im so excited to see that things have started to move again. I hope to see some new versions out soon ,and would like to put in a suggestion. Would you add some amtrack trains to this mod. It requires some work and I cant help (Know idea how to code πŸ™ ) but I will be grateful And im sure many others would be pleased with the that addition to the mod.

      1. DorniNerd

        They are not, as an ex-Amtrak employee. Most steam locomotives were not doing more then 40-50 miles per hour max on average. Our locomotives reach a good average of nearly 70-80 miles an hour. Plus we have areas like the Michigan, Illinois, and Northeast corridors which hit almost 110 miles an hour in a lot of areas. Plus, that photo does not at all show off what we actually don’t have which is a government owned infrastructure with government owned trains. All those countries named are either government owned infrastructure and privately run trains, or both owned and run government trains.

        I’ve not much of an opinion on the matter, can’t say we are not behind, but we do damned well with what we have. But we are most certainly better then steam locomotives speed.

        Also, Amtrak πŸ˜‰ Not Amtrack.

        1. MggMuggins

          Did you run the Lincoln Service? I hear it every day, the track runs less than a ten minute bike ride from my house. πŸ™‚

          1. DorniNerd

            Funny that you mention the Mallard, since it only did it once and records indicate that after that she would never repeat that feat. Actually speaking, the world averages for railroads in regards to speed, yes, the US does not compare well. But for argument, since the dawn of the diesel era, we matched then bested the *average* speeds that most steam railroads would have operated at. Something to argue is that the speed you mention was only held momentarily (Based on the written accounts from the engineer, railway inspector aboard, and dynometer specialist aboard the dyno car) the engineer brought the train down from the 125mph for a 15mph permanent speed limit imposed at the junctions near Essendine.

            Fast wasn’t defined half a century ago by any one steam engine, it was by an industry. The North Shore line of Chicago was commonly criss crossing the rails over 110 miles per hour in the late 30’s till their closure in the 1960’s. In regards to steam for the US, The Norfolk and Western Class J’s, Milwaukee road Class A’s, Empire State Express 4-4-0’s, Pennsylvania E7’s, etc etc. all are known to have blown over the 110mph mark, they were just not “on the record” like the mallard was.

            For European and British railroads, and I quote this from a text on railroad history, ” everyday service it was very uncommon for any steam-hauled service in the UK to reach even 90 mph, much less 100.” Japan didn’t get into the idea until late 1970’s. The American’s vast territory and over regulation killed the railroads from the 50’s thru the 80’s, degrading the infrastructure to such an extent… You could say we rendered ourselves back into a third world railway network. So then the clock is reset, much like the entirety of Europe was reset after the second world war. The Marshal plan then poured money into all of Western Europe, allowing for reconstruction and nationalization of most, if not all, private railroads into state owned systems. This then allowed for the needs of a nation (IE: Britain, France, West Germany, Italy, etc etc.) to build higher speed networks, which much of western Europe already had the “quality of line” for, just not the finishing touches to get it the rest of the way.

            But on the issue of US speeds, just to push up on your side (To which I do agree to some extent, just not to call it generous to your side) the US had many steam locomotives and trains that regularly hit speeds at what the Mallard did, including one that supposedly passed that magic 125mph back in 1905! Competition in the early years for the US fostered a huge want to be the fastest, biggest, safest, etc. But after the second world war, we never had a nationalized system and congresses that never wanted to pour the money into it.

            While Amtrak is subsidized directly to break black on their budget in most years, they are on their own on all else and told to do the best they can. They operate on private corporation railroads, which are practically unsubsidized by any government money (barring grants and loans, or tax benefits) make the system better. It wouldn’t be till the Nationalization of Penn Central and the culling of many branch lines and even main lines that the Government would intervene in the national system. But Conrail would be privatized late 80’s and 90’s after rebuilding to what would be considered “Standard rail”, 60-70 MPH for freight.

            Now in regards to talking about Amtrak; Something you should note is that all services are stopping services. Lots of station stops, harsh operating climates, harsher limits and laws on speed limits and modifications to those speeds. We match and in other cases beat average road speeds in the Northeast for certain, Midwest in many areas, and a couple other routes. The diesels, for being stopping services, have picked up and improved vastly over their counterparts in the early years. I can bet if you looked at the distance between stops vs the amount of traffic on the lines operated vs average speeds, you would find that if compared to similar lines around the world with similar maximum speeds, etc, that they would match very closely.

            Again, I think you are a bit skewed thinking that Amtrak is as slow as steam era railroads. They match and best the routes they travel. The Hudson River line to Buffalo and Albany from New York City has been doing 110MPH for nearly a century. Its a complicated issue, but I think people are too focused on the darkest era of Amtrak vs the world and always look to Max speeds, not average speeds vs number of stops and distances between them. We are not perfect, but we try as hard as we can with what we are able.

  7. John

    I got excited for no reason it looks like. This is not open source as you claimed it was. This is simply “program my dead mod for me while I maintain full control over the source code”, unethical.

  8. RailLord

    Hey MrBrutal, RailLord here. I’ll see to it that I try to help out in between guitar lessons, school, and parents. This oughta be a good time for me as I’m taking a Java programming class in school and I bet my teacher could also help out some. At least this is my final year in high school. Best wishes to you and the others.

  9. ProHunter02 A fan

    And so another silence falls apon the Blog.. only thing to happen now is the long wait to the next post wich will be awhile for work needs to be done. All that there is to do is watch this barren comment section and this empty blog for signs of life on A opened sourced code.

    ~ProHunter02 poet.

  10. Daylight London

    It would be fantastic if TrainCraft were actually be updated, ideally to 1.8 (though 1.7 would work as well.) My train-obsessed 6-year-old has been asking about it for over a year now, and we check regularly for this or any other train-related mods with realistic-looking, functional trains.

    I have no coding knowledge myself, and am a single mom with a more-than-full time job. But, I would be happy to contribute financially to help offset the cost of a programmer’s time.

    -Emily & London

    1. Dat London Guy

      You may be looking for Real trains mod, I recently made my own London underground train for it, indulge your son in this info! πŸ˜€
      YouTube.com/c/sparkyhdminecraftandmusic

      1. Daylight London

        Thanks! Looks like your current YouTube name is GoldenFusionz, right? We’ve used Real Train Mod on 1.7.10 some; I’m not 100% sure why my son keeps asking to go back to Traincraft on 1.6.4. We have a ton of other mods we like and have to jettison most to use 1.6.4.

        I asked, and my son (he’s got some mild special needs so his description may be a bit lacking). Anyhow, he said it’s the variety of trains that are available that makes TrainCraft so attractive. Of course, if you can make your own train models that changes the game. I’ve also noticed Real Trains can be glitchy when you try to pick up a train that’s already been placed, though I haven’t really used it myself (just observed my son).

        All – my original comment stands. It would be AMAZING if we had a functioning, mostly glitch-free train mod for 1.7 or (preferably) 1.8 with a lot of available train models, including classic steam trains (i.e. SP4449 Daylight, UP Big Boy, others), and current diesels & diesel-electrics (Amtrak, CSX, Burlington Northern, Union Pacific etc).

        I’d be happy to contribute monthly to 1-2 people who work on making that happen. (I’ not rich at all but I have a good job and don’t have coding skills, so I’d like to contribute where I can.)

        Thanks,
        Emily

        1. JP

          Looks like we are in the same boat…my 8 year old (also special needs)has been bugging me for months about Minecraft and Traincraft! He loves watching Traincraft videos on Youtube, but wants to start working with the mod himself. I sure wish I knew more about computers–I finally got the courage to download MC. Glad to see I’m not the only one out there.

      2. Daylight London

        Thanks! Looks like your current YouTube name is GoldenFusionz, right? We’ve used Real Train Mod on 1.7.10 some; I’m not 100% sure why my son keeps asking to go back to Traincraft on 1.6.4. We have a ton of other mods we like and have to jettison most to use 1.6.4.

        I asked my son (he’s got some mild special needs so his description may be a bit lacking). Anyhow, he said it’s the variety of trains that are available that makes TrainCraft so attractive. Of course, if you can make your own train models that changes the game. I’ve also noticed Real Trains can be glitchy when you try to pick up a train that’s already been placed, though I haven’t really used it myself (just observed my son).

        All – my original comment stands. It would be AMAZING if we had a functioning, mostly glitch-free train mod for 1.7 or (preferably) 1.8 with a lot of available train models, including classic steam trains (i.e. SP4449 Daylight, UP Big Boy, others), and current diesels & diesel-electrics (Amtrak, CSX, Burlington Northern, Union Pacific etc).

        I’d be happy to contribute monthly to 1-2 people who work on making that happen. (I’ not rich at all but I have a good job and don’t have coding skills, so I’d like to contribute where I can.)

        Thanks,
        Emily

  11. lehjr

    To be quite honest I think it might be too late to focus on 1.7.10. By the time any working port is finished, most mods will have moved to 1.8.x or later, and Traincraft will get left behind again. I know it will be a painful experience, I know because I’m working on porting Modular Powersuits from 1.7.10 to 1.8.9. I’m not loving it at all. There are several unmet dependencies that many of the modules use, so those have to be disabled, along with IC2 power support ( because there’s no IC2), and from what I can tell, no official RF support. Then factor in the newest changes, with json files, blockstates, OBJ model rendering changes, and so on.

    It’s horrible and then some, but it’s either ride out 1.7.10 until it dies and die with it, or start upgrading now and be part of the future.

    1. ProHunter02 (A fan)

      The mod if it will be updated will be updated to 1.7 for that is an improvement of what was once before. Now as if dying the mod shall not die as long as we give it life. If we fail to give life then the mod shall die. As long as one fan still believes in this mod it shall live on.

    2. lehjr

      Looks like the same person working on a 1.8.9 version of Buildcraft also started a 1.8.9 version of Traincraft. That was quick

  12. LucariusRedfield

    You can’t just let the 1.7.10 die like that. There’s still plenty of mods that still work on 1.7.10. Personally, I haven’t seen any good tech mods that work on 1.8, that’s why we remain in 1.7… This version is still worth it, but that doesn’t mean that it will not update to 1.8 later.

  13. bigFISH496

    We should make a forum or something where people submit ideas for new locomotives/rolling stock/blocks/track/etc.

  14. ZibiGabzi

    I have been waiting soo long to get the sweet, sweet taste of traincraft 1.7.10… I almost tought you abandoned the whole project.

  15. Zibi (A fan)

    I love the mod, and i think that 1.7.10 is the best way to go, i play modded survival on 1.7.10 and think that you can lose some fans by upgrading to “too new” versions. I personally don’t really see so many mods for 1.8.X that i would play and i couldn’t accept the fact that it would never come to 1.7.10

    1. Siebren

      Unfortunatly I am afraid that the mod is dead or its still waiting for its ambulance. but I am on you with that about 1.7.10. I am waiting for it to be ported to 1.7.10 so I can use it in my modpack.

    1. ProHunter02 (A fan)

      Mabye they should put a plase where they could post there progress….. O wait. (sorry for that just got board of waiting)

  16. Bernhatd

    I have a question is there any thing where people how whant to update this mod can talk each other because I think there are some people how tried it but if all whout do it together it woud be much faster and better.

  17. Chris Andrews

    I must say i’m looking forward to someone helping out with traincraft and hopefully putting out a 1.7.10 version as I currently have RTM (real trains mod) in my modpack but i’m honestly getting tired of it. haven’t made anything in survival and the authentication key it requires every new install is annoying, and the fact it’s a japanese mod makes even talking to the creator all but impossible unless you can speak there language or know someone who can translate (no, not google translate).
    I eagerly await even a test release of a 1.7.10 version and hope things go well.

  18. saucyfoods

    i am probably the first person to say this needs to be updated to 1.9, because the time of this being written, Minecraft 1.9 just came out, like a month ago.

    IF no Traincraft, no Minecraft.

  19. Deleon

    HI, i would like to know if traincraft is not going to be updated to minecraft 1.7.10 or is it please respond back
    thank you

  20. OldMan

    So… 4 months and nothing. Could you just give us an update on the 1.7 port, MrBrutal?

    Also, I notice very little activity on the github page. What is going on?

  21. Raghalin

    Beep…..Beep…..Beep…………..Beep……………Beeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeep

    get the shock pads! CLEAR! Beep……

    Hmm, ok call it. call the morge.

    so whats for dinner?

  22. MrPostie79

    This is one of the best mods I’ve seen compared to the other train mods in minecraft. The one thing i would like to see added is signals that work with the train craft tracks as the rail-craft ones don’t work with this mods tracks. Also if you can look as some of the UK trains that would be fantastic. cant wait to see what’s to come with this mod.

  23. CSX8600

    This mod is dead.

    If there has been no progress, no updates (whether you have a stubborn developer that refuses to give updates every once in a while or a stubborn development community or lack thereof on open source code) and you’re STILL stuck on 1.6.4 (a version released in 2013), then you can very safely assume that there will be no further development on this mod.

    My recommendation to everyone would to get your worlds prepared to function without the use of the updated tracks, locomotives, and rolling stock. Switch to Railcraft only where you can still have automated transportation where it’s actually updated.

    Again, this mod is dead. Time to move on.

  24. LilShrimp01

    Lol, it’s been almost a year and a half since this post, and Minecraft is already 1.10! I’m going to be frank with you, but this mod needs to be at least 1.7.10 because all the good industrial mods (and all the good mods in general) are 1.7.10 and I believe Traincraft deserves to be up there with the rest of the good mods. I mean, I want this mod to be paired up with Railcraft, Industrialcraft 2.0, Buildcraft, Flans mod, MCHeli, and much more whom are all in 1.7.10. So please, developer, UPDATE THIS MOD TO AT LEAST 1.7.10! Please, I beg of you ;-;

  25. Acela_King

    Hello! First I would like to say that I am a kid that loves trains! But even though I am a young age, I would like to update traincraft… Well somewhat that is. I need about 18 more hours of Java Script to complete the beginner course and that should be all I need to know. I am in the middle of learning Java, HTML and CSS as well. Would I be able to update Traincraft with your permission? I would to do so πŸ˜€ Also one more thing. I went onto the WIKI and there is a Traincraft V2.0? Does that mean its already being worked on? Thanks let me know!

    1. Mrbrutal

      1.7 and 1.9 Versions are being worked on, yes. PS: Not to rain on your parade but completing a beginner course doesn’t make you a developer. That takes years of experience.

Leave a Reply

Your email address will not be published. Required fields are marked *