Skip to content
This repository has been archived by the owner on May 15, 2021. It is now read-only.

A Minecraft Mod about Matter, Energy and using them to conquer the world..

License

Notifications You must be signed in to change notification settings

Aberro/Applied-Energistics-2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Travis Latest Release

Applied Energistics 2

Table of Contents

About

A Mod about Matter, Energy and using them to conquer the world..

Contacts

License

  • Applied Energistics 2 API
    • (c) 2013 - 2018 AlgorithmX2 et al
    • License
  • Applied Energistics 2
    • (c) 2013 - 2018 AlgorithmX2 et al
    • License
  • Textures and Models
    • (c) 2013 - 2018 AlgorithmX2 et al
    • License
  • Text and Translations
    • License

Downloads

Downloads can be found on CurseForge or on the official website.

Installation

You install this mod by putting it into the minecraft/mods/ folder. It has no additional hard dependencies.

Issues

Applied Energistics 2 crashing, have a suggestion, found a bug? Create an issue now!

  1. Make sure your issue has not already been answered or fixed and you are using the latest version. Also think about whether your issue is a valid one before submitting it.
    • If it is already possible with vanilla and AE2 itself, the suggestion will be considered invalid.
    • Asking for a smaller version, more compact version, or more efficient version of something will also be considered invalid.
  2. Go to the issues page and click new issue
  3. Enter your a title of your issue (something that summarizes your issue), and then create a detailed description of the issue.
    • Do not tag it with something like [Feature], [Bug], or a version.
    • Restrict it to a single bug or feature, it makes managing them way easier for us.
    • The following details are required. Also refer to the issue template when creating one.
      • Forge version
      • AE2 version
      • Crash log, when reporting a crash (Please make sure to use pastebin)
        • Never post an excerpt of what you consider important
        • Always post the full log
      • Other mods and their version, when reporting an issue between AE and another mod
        • Also consider updating these before submitting a new issue, it might be already fixed
      • A detailed description of the bug or feature
    • To further help in resolving your issues please try to include the follow if applicable:
      • What was expected?
      • How to reproduce the problem?
        • This is usually a great detail and allows us to fix it way faster
      • Server or Single Player?
      • Screen shots or Pictures of the problem
      • Mod Pack using and version?
        • Keep in mind that some mods might use an outdated version of AE2
        • If so you should report it to your modpack
  4. Click Submit New Issue, and wait for feedback!

Providing as many details as possible does help us to find and resolve the issue faster and also you getting a fixed version as fast as possible.

Please note that we might close any issue not matching these requirements.

Building

  1. Clone this repository via
  • SSH git clone git@github.com:AppliedEnergistics/Applied-Energistics-2.git or
  • HTTPS git clone https://github.com/AppliedEnergistics/Applied-Energistics-2.git
  1. Setup workspace
  • Decompiled source gradlew setupDecompWorkspace
  • Obfuscated source gradlew setupDevWorkspace
  • CI server gradlew setupCIWorkspace
  1. Build gradlew build. Jar will be in build/libs
  2. For core developer: Setup IDE
  • IntelliJ: Import into IDE, execute gradlew genIntellijRuns and change RunConfiguration to *_main as quickfix for ForgeGradle
  • Eclipse: execute gradlew eclipse
  1. For add-on developer: Core-Mod Detection
  • In order to have FML detect AE from your dev environment, add the following VM Option to your run profile
  • -Dfml.coreMods.load=appeng.coremod.AppEngCore

Contribution

Before you want to add major changes, you might want to discuss them with us first, before wasting your time. If you are still willing to contribute to this project, you can contribute via Pull-Request.

The guidelines for contributing contain more detailed information about topics like the used code style and should also be considered.

Here are a few things to keep in mind that will help get your PR approved.

  • A PR should be focused on content. Any PRs where the changes are only syntax will be rejected.
  • Use the file you are editing as a style guide.
  • Consider your feature. Suggestion Guidelines
    • Is your suggestion already possible using Vanilla + AE2?
    • Make sure your feature isn't already in the works, or hasn't been rejected previously.
    • Does your feature simplify another feature of AE2? These changes will not be accepted.
    • If your feature can be done by any popular mod, discuss with us first.

Getting Started

  1. Fork this repository
  2. Clone the fork via
  • SSH git clone git@github.com:<your username>/Applied-Energistics-2.git or
  • HTTPS git clone https://github.com/<your username>/Applied-Energistics-2.git
  1. Change code base
  2. Add changes to git git add -A
  3. Commit changes to your clone git commit -m "<summery of made changes>"
  4. Push to your fork git push
  5. Create a Pull-Request on GitHub
  6. Wait for review
  7. Squash commits for cleaner history

If you are only doing single file pull requests, GitHub supports using a quick way without the need of cloning your fork. Also read up about synching if you plan to contribute on regular basis.

Applied Energistics 2 API

The API for Applied Energistics 2. It is open source to discuss changes, improve documentation, and provide better add-on support in general.

Universal builds obtained Here should work in a development environment.

Maven

When compiling against the AE2 API you can use gradle dependencies, just add

dependencies {
    compile "appeng:appliedenergistics2:rv_-_____-__:api"
}

or add the compile line to your existing dependencies task to your build.gradle

Where the __ are filled in with the correct version criteria; AE2 is available from the default forge maven so no additional repositories are necessary.

An example string would be appeng:appliedenergistics2:rv5-stable-1:api for the API only or appeng:appliedenergistics2:rv5-stable-1 for the whole mod.

Applied Energistics 2 CraftTweaker

Inscriber

Add a recipe. When inscribe is true the bottom and top inputs are not consumed.

mods.appliedenergistics2.Inscriber.addRecipe(ItemStack output, ItemStack input, boolean inscribe, 
                                             @Optional ItemStack topInput, @Optional ItemStack bottomInput );

Remove all recipes for this output stack.

mods.appliedenergistics2.Inscriber.removeRecipe(ItemStack output);	

Grindstone

Add a recipe.

mods.appliedenergistics2.Grinder.addRecipe( ItemStack output, ItemStack input, int turns, 
                                            @Optional ItemStack secondary1Output, @Optional float secondary1Chance,
                                            @Optional ItemStack secondary2Output, @Optional float secondary2Chance);

Remove recipes for this input.

mods.appliedenergistics2.Grinder.removeRecipe(ItemStack input);	

Spatial

Whitelist a TileEntity class for Spatial IO.

mods.appliedenergistics2.Spatial.whitelistEntity( String fullEntityClassName );

Attunement

Attune a ItemStack or ModID to a specific P2P-Tunnel type. ModID's are used as fallback when no ItemStack was found.

mods.appliedenergistics2.Attunement.attuneME( ItemStack itemStack );
mods.appliedenergistics2.Attunement.attuneME( String modID );
mods.appliedenergistics2.Attunement.attuneItem( ItemStack itemStack );
mods.appliedenergistics2.Attunement.attuneItem( String modID );
mods.appliedenergistics2.Attunement.attuneFluid( ItemStack itemStack );
mods.appliedenergistics2.Attunement.attuneFluid( String modID );
mods.appliedenergistics2.Attunement.attuneRedstone( ItemStack itemStack );
mods.appliedenergistics2.Attunement.attuneRedstone( String modID );
mods.appliedenergistics2.Attunement.attuneRF( ItemStack itemStack );
mods.appliedenergistics2.Attunement.attuneRF( String modID );
mods.appliedenergistics2.Attunement.attuneIC2( ItemStack itemStack );
mods.appliedenergistics2.Attunement.attuneIC2( String modID );
mods.appliedenergistics2.Attunement.attuneLight( ItemStack itemStack );
mods.appliedenergistics2.Attunement.attuneLight( String modID );

Cannon

Add ammo types for the matter cannon.

mods.appliedenergistics2.Cannon.registerAmmo( ItemStack itemStack, double weight );

Applied Energistics 2 Localization

English Text

en_US is included in this repository, fixes to typos are welcome.

Encoding

Files must be encoded as UTF-8.

New or updated Translations

The language files are located in /src/main/resources/assets/appliedenergistics2/lang/ and use the appropriate locale code as name and .lang as extension.

To update an translation edit the corresponding file and improve/correct the existing entry. Or copy any entries from en_US.lang for missing translation.

To create a new translation, copy the contents of en_US.lang, create a new file with appropriate filename, and translate it to your language.

Please keep in mind that we use String format to pass additional data to the text for displaying. Therefore you should preserve parts like %s or %1$d%%, which allows us to replace them with the correct values while you still have the option to change their order for match the rules of grammar. This might not be possible for some languages. Should this be the case, please contact us.

Final Note

If you have have issues localizing something feel free to contact us on IRC, at #AppliedEnergistics on Esper.net

Thanks to everyone helping out to improve localization of AE2.

Credits

Thanks to

  • Notch et al for Minecraft
  • Lex et al for MinecraftForge
  • AlgorithmX2 for AppliedEnergistics2
  • all contributors

About

A Minecraft Mod about Matter, Energy and using them to conquer the world..

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%