SilentChaos512 / SilentGems

A Minecraft mod mostly about tools and colorful building blocks.
MIT License
47 stars 21 forks source link

Multiple Issues #182

Closed TechnicianLP closed 6 years ago

TechnicianLP commented 7 years ago
SilentChaos512 commented 7 years ago
TechnicianLP commented 7 years ago

if i understood you correctly - the 1.12 workspace works by just compiling against the outdated mods but not including them in the run-configuration?

SilentChaos512 commented 7 years ago

Right. That way the code is never called. Then it just has to be updated whenever the other mod(s) update.

TechnicianLP commented 7 years ago

Finally managed to load a world in a dev-environemnt ... (5 hours of work yay - stupid intellij bugs) This is what the current build.gradle looks like now (including a workaround for intellij)

TechnicianLP commented 7 years ago

Could you provide an export of your formatter-settings? (and/or codestyle preferences) (its quite a bit different than what i use normally ...)

SilentChaos512 commented 7 years ago

I mostly follow Google's style guide for Java: https://google.github.io/styleguide/javaguide.html. Here are my clean up and formatter exports from Eclipse: formatter.zip

TechnicianLP commented 7 years ago
SilentChaos512 commented 7 years ago

I didn't write the armor rendering code, that's M4thG33k's work. Can't say I fully understand how it works. He follows a different style as well, and I never bothered to format it.

I'll take a look at your work when I get home, and thank you for your help.

On Sun, Jul 23, 2017, 4:52 PM TechnicianLP notifications@github.com wrote:

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/SilentChaos512/SilentGems/issues/182#issuecomment-317284838, or mute the thread https://github.com/notifications/unsubscribe-auth/AFdPXUc_VqRVAMdtt0-KsYDllgcR012Tks5sQ8C5gaJpZM4ObPUR .

TechnicianLP commented 7 years ago

Btw: if you still have uncolored images of your items/blocks lying around ... i could use those ... (without having to uncolor them myself by guessing colors)

SilentChaos512 commented 7 years ago

I don't, I usually started with ruby and adjusted HSV to create the others. But you might check the "images" folder, there could be something you could use as a reference in there.

On Tue, Jul 25, 2017, 3:55 AM TechnicianLP notifications@github.com wrote:

Btw: if you still have uncolored images of your items/blocks lying around ... i could use those ... (without having to uncolor them myself by guessing colors)

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/SilentChaos512/SilentGems/issues/182#issuecomment-317673856, or mute the thread https://github.com/notifications/unsubscribe-auth/AFdPXflQfVTvy2MkvllPcrKxalrD9-Pkks5sRa1pgaJpZM4ObPUR .

SilentChaos512 commented 7 years ago

There are a couple of things I don't understand here:

TechnicianLP commented 7 years ago

forge has something called an 'AccessTtansformer' it reads a field called _at.cfg (silentgems_at.cfg) from your resources an changes the specified fields/methods to have at least the requested visibility - therefore you can then directly access them without reflection - but for it to work in your ide you have to rerun setupDecompWorkspace (and possibly refresh gradle)

On August 1, 2017 9:34:22 PM GMT+02:00, SilentChaos512 notifications@github.com wrote:

There are a couple of things I don't understand here:

  • In ItemGemArmor, you removed a couple of fields, but left references to them.
  • There are errors in ArmorModelRenderer. I did just update Forge to 2435, maybe that has something to do with it. But compileDisplayList, displayList, and compiled are not visible.

-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/SilentChaos512/SilentGems/issues/182#issuecomment-319473419

SilentChaos512 commented 7 years ago

Alright, I'll read up on that, thanks.

TechnicianLP commented 7 years ago

I just saw you already merged my changes - in the future please wait until i make a pr myself as the changes are not confirmed to be tested (or finished) otherwise ... I also saw you "fixed" the build.gradle again to increment the buildnuber again every time any gradle-task is run and to break intellij compatibility ... (did you have problems with it?)

SilentChaos512 commented 7 years ago

Sorry, thought you had finished for some reason. I do remember having issues with the build.gradle, can't remember exactly what happened.