Add minVersion to template mixin config #41
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Steven/fabric-example-mod#41
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "feature/minVersion"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
As per a discussion on Spongecord with Mumfrey he noticed the obvious lack of a
minVersion
element within the Mixin config included in the template mod and reccomended the addition of one. Of course since loader 0.7+ uses mixin 0.8, the defaultminVersion
is set to0.8
I don’t think this is needed, loader gets a version bump when mixin gets updated, so if you need to depend on a mixin version I’d just depend on the loader version. You get an error gui as well.
still, it'd be good practice to have a
minVersion
specified and thus have mixin show a proper error, rather than just failing for missing classes/methods.I think the change is not bad, but it definitely shouldn't go in without also bumping the loader dep to at least .4
I will do that a bit later today
Since we are at this, I've thought of possibly changing a bit with properties version to remove the redundant yarn MC version and makes it something like this in the mappings:
https://github.com/i509VCB/BulkyShulkies/blob/1.15.x/build.gradle#L63
That specifically doesn't need to be included but I feel it simplifies the setup
I recall the fabric loom automatically adds this attribute to mixin jsons when building the mod
Hmm I extracted bulky shulkies (release 1.0.5 and I didn't see the minVersion set at all by Loom)
Alright bumped default loader dep to >=0.7.4