Frontrider / thaumic_arcana

A thaumcraft addon
5 stars 6 forks source link

Obtaining/using the pre release #6

Closed enderger closed 6 years ago

enderger commented 6 years ago

How can I use pre-release 1 of this mod? I would like to beta test the mod, but I can't figure out how to use the decompiled code in eclipse to get myself a testing jar. I will not release it to the public myself, I just want to test for bugs outside of the development environment.

enderger commented 6 years ago

Unfortunately, this mod seems to be impossible to compile due to the usage of depreciated gradle features.

Stacktrace: https://gist.github.com/enderger/6a212a2a0ddef047a1be9f761e375747

Frontrider commented 6 years ago

Blame forge, I made no modifications to the defaults, and haven't ran the build task yet. (yesterday it took too long)

And Use intellij instead of eclipse, importing the gradle project works out of the box.

enderger commented 6 years ago

I ran the gradle build task I was compiling from the command line and I'll look into trying intellij if it works on linux.

Frontrider commented 6 years ago

I have no idea how people use eclipse with gradle (I have a general idea about using eclipse in general, but intellij still looks objectively better to me), it's a real pain in the back.

Frontrider commented 6 years ago

That is the combo I use to develop it.

Frontrider commented 6 years ago

The balance is also something I have to check, the protection 3 enchantment made me invulnerable from certain mobs.

enderger commented 6 years ago

I'll be sure to test that And gradle is not eclipse: it's the linux gradlew

enderger commented 6 years ago

Installing it from the arch user repository (on linux, we usually stick to official repositories for our distro and install what isn't there from the internet)

Frontrider commented 6 years ago

Gradlew is the gradle wrapper (NOT any other gradle that you installed on your computer) that forge includes in the project. Only exists in the project.

With intellij: file, open, select build.gradle, and switch to gradle wrapper configuration. From that point it will work out of the box, and will probably ask you to install the mcdev plugin. (support for forge, bukkit, sponge etc.)

enderger commented 6 years ago

Odd, I have to type in gradle setupDecompWorkspace when I want to begin coding, gradlew fails

enderger commented 6 years ago

And it crashed

Frontrider commented 6 years ago

That is the task where it downloads forge.

enderger commented 6 years ago

I already setup the decompiled workspace

Frontrider commented 6 years ago

I'll fix up the rest of the unfinished features tonight (so they at least work to their intended level), than compile if I'm done.

enderger commented 6 years ago

The thaumcraft api seems to not be properly annotated. I may need to comment out some of the lines within the api.

enderger commented 6 years ago

Where does intellj output it's compiled jars?

enderger commented 6 years ago

The jar has been made and I will begin beta testing. Before I close this issue, could you give me a few things that should be tested with this custom jar?

Frontrider commented 6 years ago

Most of it relies on thaumcraft's api, so recipes need no testing. (there's one that is broken, and I have to figure why) Last time I checked, the plant balls worked as expected, the nutrient mix worked as expected, enchanting worked as expected.

The enchantment balance is something that needs to be tested.

Frontrider commented 6 years ago

calling it done and closed.