Giter VIP home page Giter VIP logo

artemislib's Introduction

-------------------------------------------
Source installation information for modders
-------------------------------------------
This code follows the Minecraft Forge installation methodology. It will apply
some small patches to the vanilla MCP source code, giving you and it access 
to some of the data and functions you need to build a successful mod.

Note also that the patches are built against "unrenamed" MCP source code (aka
srgnames) - this means that you will not be able to read them directly against
normal code.

Source pack installation information:

Standalone source installation
==============================

See the Forge Documentation online for more detailed instructions:
http://mcforge.readthedocs.io/en/latest/gettingstarted/

Step 1: Open your command-line and browse to the folder where you extracted the zip file.

Step 2: Once you have a command window up in the folder that the downloaded material was placed, type:

Windows: "gradlew setupDecompWorkspace"
Linux/Mac OS: "./gradlew setupDecompWorkspace"

Step 3: After all that finished, you're left with a choice.
For eclipse, run "gradlew eclipse" (./gradlew eclipse if you are on Mac/Linux)

If you prefer to use IntelliJ, steps are a little different.
1. Open IDEA, and import project.
2. Select your build.gradle file and have it import.
3. Once it's finished you must close IntelliJ and run the following command:

"gradlew genIntellijRuns" (./gradlew genIntellijRuns if you are on Mac/Linux)

Step 4: The final step is to open Eclipse and switch your workspace to /eclipse/ (if you use IDEA, it should automatically start on your project)

If at any point you are missing libraries in your IDE, or you've run into problems you can run "gradlew --refresh-dependencies" to refresh the local cache. "gradlew clean" to reset everything {this does not affect your code} and then start the processs again.

Should it still not work, 
Refer to #ForgeGradle on EsperNet for more information about the gradle environment.

Tip:
If you do not care about seeing Minecraft's source code you can replace "setupDecompWorkspace" with one of the following:
"setupDevWorkspace": Will patch, deobfuscate, and gather required assets to run minecraft, but will not generate human readable source code.
"setupCIWorkspace": Same as Dev but will not download any assets. This is useful in build servers as it is the fastest because it does the least work.

Tip:
When using Decomp workspace, the Minecraft source code is NOT added to your workspace in a editable way. Minecraft is treated like a normal Library. Sources are there for documentation and research purposes and usually can be accessed under the 'referenced libraries' section of your IDE.

Forge source installation
=========================
MinecraftForge ships with this code and installs it as part of the forge
installation process, no further action is required on your part.

LexManos' Install Video
=======================
https://www.youtube.com/watch?v=8VEdtQLuLO0&feature=youtu.be

For more details update more often refer to the Forge Forums:
http://www.minecraftforge.net/forum/index.php/topic,14048.0.html

artemislib's People

Contributors

cammiepone avatar giantluigi4 avatar laniv713 avatar xzeroair avatar

Watchers

 avatar  avatar

artemislib's Issues

The curseforge maven is broken

Both curseforge maven and mavenforge are completely broken. I've never had curseforge maven repos work.https://maven.minecraftforge.net/artemislib/ArtemisLib/1.13.2/ArtemisLib-1.13.2-v1.0.3.jar. This link gives a 404. This is not a new problem at least for me anyway. I've had the exact same problem with a different mod (Obfuscate).

Could not resolve all files for configuration ':runtimeClasspathCopy'.
> Could not find curse.maven:artlib-313590:ArtemisLib.
  Searched in the following locations:
    - https://www.cursemaven.com/curse/maven/artlib-313590/ArtemisLib/artlib-313590-ArtemisLib.pom
    - https://maven.minecraftforge.net/curse/maven/artlib-313590/ArtemisLib/artlib-313590-ArtemisLib.module
    - https://maven.minecraftforge.net/curse/maven/artlib-313590/ArtemisLib/artlib-313590-ArtemisLib.pom
    - https://maven.minecraftforge.net/curse/maven/artlib-313590/ArtemisLib/artlib-313590-ArtemisLib-2675581.jar
    - file:/home/shadowfoxy32/.gradle/caches/forge_gradle/bundeled_repo/curse/maven/artlib-313590/ArtemisLib/artlib-313590-ArtemisLib.pom
    - file:/home/shadowfoxy32/.gradle/caches/forge_gradle/bundeled_repo/curse/maven/artlib-313590/ArtemisLib/artlib-313590-ArtemisLib-2675581.jar
    - https://libraries.minecraft.net/curse/maven/artlib-313590/ArtemisLib/artlib-313590-ArtemisLib-2675581.jar
    - https://repo.maven.apache.org/maven2/curse/maven/artlib-313590/ArtemisLib/artlib-313590-ArtemisLib.pom
  Required by:
      project :

Possible solution:
 - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html

1.16.4?

Is there going to be a port to 1.16.4?

[1.12.2] Rendering is... kinda broken + GL Error log spam.

Minecraft: 1.12.2
Forge: 14.23.5.2824

Mods: 1
ArtemisLib-1.12.2-v1.0.4



By kinda broken I mean the water doesn't render, the player & mobs will flash / disappear, particles won't render... etc. Depends on where you look.


Also... the log gets spammed with GL Errors endlessly unless you look at a certain angle.

[1.13.2] Capability provider throws NPE

Versions:

  • ArtemisLib: 1.13.2-1.0.3
  • Forge: 1.13.2-25.0.100

Specifically, this method:

public <T> LazyOptional<T> getCapability(Capability<T> capability, EnumFacing facing)

This method is nonnull, so it should return an empty LazyOptional instead. Otherwise, other mods that try to access their capabilities from instances of EntityLivingBase will get an NPE from this mod.

Something to note is that ArtemisLib won't show up in the stacktrace of the crash at all so it could cause erroneous bug reports for other developers. Like so: TheIllusiveC4/Curios#4

[1.12.2] Memory leaks

Hi there,
from my testing it seems like the ArtemisLib causes the minecraft server to memory leak from time to time. Whilst ArtemisLib is installed I will eventually receive messages like: "The world xxxxxxxx (world) may have leaked: seen xx times".
!!The message can only be viewed in the /logs/debug.log and does not appear in the console!! It starts happening about 5 minutes after a player joined the world.
I assume you might have stored some references in the new entity attributes you are providing.
This causes a lot of problems, especially in larger mod packs.
I sadly don't have much else information about it.

[1.12.2] Conflict with Trinkets & Baubles. Unable to use Flight via the Ring of Fairies.

Minecraft: 1.12.2
Forge: 14.23.5.2824

Mods: 3
ArtemisLib-1.12.2-v1.0.4
Baubles-1.12-1.5.2
Trinkets+and+Baubles-1.12.2-0.23


Ring of Fairies is a Ring Bauble which... while worn... you will slowly shrink down in size and grants you the 'flight' ability. The drawbacks? You cannot jump well and you can only climb up 1 full block.


If ArtemisLib is installed and you equip the ring... you instant-shrink down and no wings render and you're unable to use the 'flight' ability.


If ArtemisLib isn't installed and you equip the ring, you slowly shrink down, you get some wings on your back and you're able to use the 'flight' ability.


Here's a strange thing... if you have the ring equipped, exit the world and install ArtemisLib and reopen the world... your size returns to normal, the wings render and you're able to fly around. At that point the ring then works correctly by un-equipping & re-equipping it, reopening the world. The only thing is that you instant-shrink down instead of the slow shrink down.

Perhaps since both mods does something with resizing the model/hitbox it conflicts with each other?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.