fabric-loader icon indicating copy to clipboard operation
fabric-loader copied to clipboard

allow constructors as method reference entrypoints

Open rhysdh540 opened this issue 1 year ago • 3 comments

now you can pretend to be forge by making your entrypoint your.package.YourClass::<init>!

not exactly the cleanest implementation ever but it seems to work on the test mod

rhysdh540 avatar Sep 23 '24 03:09 rhysdh540

Whats the benefit of this? Just becuase forge does it doesn't mean its a good idea.

modmuss50 avatar Sep 23 '24 13:09 modmuss50

He wants to make Zume smaller by merging the entrypoint classes for Forge and Fabric.

Nolij avatar Sep 23 '24 14:09 Nolij

that wasn't my initial motivation for making this pull request; constructors not working was something I noticed a while ago. I realized the potential size benefits of it later.

as for why I opened this, I'm not really sure, I just thought it would be cool to have as a feature. do you have any other reasons/potential unwanted behavior that this could cause that would make it a bad idea?

rhysdh540 avatar Sep 23 '24 14:09 rhysdh540