Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFG & Update mcmod.info & Update readme #874

Open
wants to merge 3 commits into
base: 1.12
Choose a base branch
from

Conversation

Desoroxxx
Copy link
Contributor

@Desoroxxx Desoroxxx commented Jul 28, 2023

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 Desoroxxx changed the base branch from 1.20 to 1.12 July 28, 2023 18:42
@Desoroxxx
Copy link
Contributor Author

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

@Desoroxxx
Copy link
Contributor Author

Any news on this @CreativeMD ?

@CreativeMD
Copy link
Owner

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
Copy link
Owner

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

@Desoroxxx
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants