Coder Social home page Coder Social logo

altrisi / fastopenlinksandfolders Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 0.0 150 KB

A lightweight mod to make the game not block when opening a chat link, a screenshot or the resourcepacks or datapacks folder.

Home Page: https://www.curseforge.com/minecraft/mc-mods/fastopenlinksandfolders

License: GNU Lesser General Public License v3.0

Java 100.00%

fastopenlinksandfolders's Introduction

FastOpenLinksAndFolders

A lightweight mod to make the game not block when opening a chat link, a screenshot or either the resourcepacks or datapacks folder.

Setup

For setup instructions please see the fabric wiki page that relates to the IDE that you are using.

fastopenlinksandfolders's People

Contributors

altrisi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

fastopenlinksandfolders's Issues

Forge support

On curseforge, multiple people have asked for Forge support, three people already, last time being just 3 days ago.

I already considered Forge support could be a thing at the start, but didn't think people would actually want it, I didn't fully either tbh.

To get it:

Ideally, I'd like to get a single jar release for both loaders, that wouldn't bloat file size given I've made updates just to reduce it and it would be weird to up it now.

I can't use architectury because they don't support the Eclipse IDE, and another multi-loader gradle thing I found also doesn't support it.

Again ideally, I'd like to not start the entire forge machinery on my machine just for this mod, given when I did it last time, I remember it used a lot of space. I may have to do it though.

Issues I have found while investigating:

  • Mixin refmap has some fields for specific namespaces (like intermediary/searge), but it doesn't actually care about it so I can't use that to save the duplication of the class file. This info could be useful though to get rid of the json file in releases and save a bit of space, if loaders support it.
  • Forge requires a class annotated with a useless @Mod annotation

My current idea to get this done while checking all the above and with the issues in mind is to make the copy of the mixin and manually remap it to srg using a tool like recaf. Then create the annotated class by faking the annotation class with the only required field, and finally creating the mods.toml file with metadata. Refmap and icon can be shared, given it's currently empty, but it'll need a different mixin json file that points to the remapped mixin.

After that testing will be just loading the mod and seeing what happens. Worse thing will be checking compatibility with different forge versions, given I believe forge doesn't include mixin in all of them, and I think they also have different mod formats in different versions.

As to how that'd be in the repo to assert it's still open source: I'd upload the annotated class and the forge files to a forge folder in the repo root and provide instructions to create the final JAR.

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.