LittleTiles icon indicating copy to clipboard operation
LittleTiles copied to clipboard

RFG & Update `mcmod.info` & Update readme

Open Desoroxxx opened this issue 2 years ago • 5 comments

This PR aims to make working on LittleTiles as painless as possible with the help of RFG.

With this to work on LittleTiles you simply need to:

  • Clone the repository
  • Open in the IDE of your choice
  • Run setupDecompWorkspace (Can be found under Tasks > modded minecraft)
  • Once setupDecompWorkspace is done reload the Gradle project
  • You can now code and test by using Run Client & Run Server

Once you want to build the mod simply use the build task in Gradle

When you need to change the version simply go into the gradle.properties file and change the version property, it will automatically update the version everywhere including in the jar name.


This PR's also update's the readme and the mcmod.info.


Tested this in real instances with lots of mods nothing broke tested with OptiFine Shaders and lots of other mods.


This should also theoretically fix compatibility with Albedo, although I did not test that due to me being on AMD and Albedo seems to just white screens on AMD for some reason.

PS: Sorry for the big PR that spiral in every direction, just layer the groundwork for future more targeted and sane PR's

PS: Same as before except the mapping update

Desoroxxx avatar Jul 28 '23 18:07 Desoroxxx

Oops didn't see the target was set to the 1.20 branch, it's fixed now

Desoroxxx avatar Jul 28 '23 18:07 Desoroxxx

Any news on this @CreativeMD ?

Desoroxxx avatar Aug 09 '23 14:08 Desoroxxx

Hey, I'm so sorry for not responding earlier. I was on vacation and then forgot about this.

Would it be possible to create a separate api sourceSet which is only included when coding, but when compiling it? I use that system for EnhancedVisuals: https://github.com/CreativeMD/EnhancedVisuals/blob/1.20/build.gradle#L13-L23 Because this currently depends on a lot of mods, which you probably do not want to have when working with LittleTiles in dev space (because it will slow down starting time). Furthermore the removal of the api classes might be problematic for others.

Again sorry for responding so late. Also sorry for not merging it right away again. I do appreciate the effort you put in. Something big as this needs a little more caution than usual.

CreativeMD avatar Aug 15 '23 07:08 CreativeMD

I have tested this setup and I ran into some issues when using it with eclipse. There are a few compiler errors: image

CreativeMD avatar Aug 17 '23 07:08 CreativeMD

All errors in LittleTiles.java are normal (you need to run client once for Tags to generate or run the Gradle command manually) And the others I am not sure I will look into it

Desoroxxx avatar Aug 17 '23 11:08 Desoroxxx