Skip to content

Trains in Motion (TiM) is a Minecraft mod that handles the underworking systems for trains and rollingstock

License

Notifications You must be signed in to change notification settings

EternalBlueFlame/Trains-In-Motion

Repository files navigation

NOTICE: THIS PROJECT HAS MOVED!

As of May 2020 this project has moved to gitlab due to a lack of features and developer support on GitHub. Check it out on the following link:

https://gitlab.com/EternalBlueFlame/trains-in-motion/

Trains In Motion

Trains In Motion is a Minecraft Mod built using Minecraft Forge.

Trains In Motion alters the looks of, and adds new functionality, to minecarts. Allowing what was once simple minecarts, to become trains and rolling-stock, able to transport almost anything at speeds higher than a normal minecart.

Join the Discussion:

Contributing

Art:

  • Models must match the Mod's Art-style.
  • Format is limited to .java models only; you can use tools such as FMT, BDCraft Cubik, SMP Toolbox, Technie or even writing it manually. FMT is free and the preferred editor due to varying shape support.
  • Model scale is 0.75 meters, or, 12 microblocks, wide for the wheel base, In other words they must fit on minecart rails. It is reccomended the body should be 1.25+ meters, or, 20+ microblocks, wide.
  • Technie models are required to be 512x512 resolution for textures. Models from other editors have a max resolution of 4096x4096 as defined in the editor.
  • Textures must be in .png format.
  • Audio must be in .ogg format and no more than 192kb/s.

Code:

  • Code will be reviewed for optimizations and structure, if the issues are too large they will need to be fixed.
  • Code requires Intellij 2018, available here, and will not work with 2019 or newer, NOTE: 2018 can be installed alongside 2019 without any conflictions. NOTE 2:Eclipse should work, but is unsupported because I don't know how to use it.
  • Code setup also requires the setup from the "Compiling a .jar pre-release" section.
  • Regarding new features/behavior changes, please submit a new Suggestion to the issue tracker, or ask me on discord, before you write any code.
  • Workspace setup may use the idea option in the setup.bat, or by entering the following command manually, without quotes. NOTE: Powershell is not supported, use CMD. And do not run as admin/sudo.
  • windows: "gradlew setupDecompWorkspace --refresh-dependencies idea" Linux/mac: "./gradlewLinux setupDecompWorkspace --refresh-dependencies idea"

Compiling a .jar pre-release:

  • Compiling requires java 1.8, available for windows here. For Linux and Mac use OpenJDK. An Oracle link was not provided due to Oracle restricting various versions to buisness accounts only.
  • compiling also requires this java version as your system default, in windows this is done by going to Enviornment Variables in Advanced System Settings, and adding or changing "JAVA_HOME" to the install path of jdk 8.
  • windows: "gradlew setupDecompWorkspace --refresh-dependencies build" Linux/mac: "./gradlewLinux setupDecompWorkspace --refresh-dependencies build"
  • the resulting .jar file will appear in the folder /build/libs

License

Simplified:

Turbo Model Thingy

Modpacks and Servers:

  • You are allowed to use the compiled .jar in your public and private modpacks without permission.
  • The mod is to bo considered as "experimental" and whether directly, indirectly, or otherwise, we are not responsible for any damages to your server, be it in data, userbase, or any other form.

Videos and Media:

  • You may freely make, share, and earn revenue from videos, pictures, and reviews containing Trains in Motion.

Distribution:

  • Unless you are the creator of the contributed content in question, you may not redistribute the Trains in Motion source or assets, including but not limited to models, pictures, and sounds.
  • Outside of a modpack you are strictly prohibited from distributing the compiled mod in any format or medium, the only exception being the official CurseForge page of Trains in Motion (Unreleased) and other mediums approved by EternalBlueFlame
  • Trains in Motion code is planned/intended to be heavily documented in hopes it can teach some tricks to modding, but because it's nearly impossible to learn from copy-pasting code it's heavily advised against doing so without studying how and why it works.

Full License:

About

Trains in Motion (TiM) is a Minecraft mod that handles the underworking systems for trains and rollingstock

Resources

License

Stars

Watchers

Forks

Languages