User Tools

Site Tools


tutorial:mixin_registration

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
tutorial:mixin_registration [2020/06/08 21:40] – [Register Mixins] lvanderzandetutorial:mixin_registration [2022/08/17 22:25] – Updated the java version in the mixins.json example clomclem
Line 24: Line 24:
 </code> </code>
  
-Providing a String ''%%"<modid>.mixins.json"%%'' inside the mixins array tells Fabric to load the mixins defined inside the file ''<modid>.mixins.json'' on **both client and server**.+Providing a String ''%%"<modid>.mixins.json"%%'' inside the mixins array tells Fabric to load the mixins defined inside the file ''<modid>.mixins.json''.
  
 ==== Register Mixins ==== ==== Register Mixins ====
Line 39: Line 39:
   "minVersion": "0.8",   "minVersion": "0.8",
   "package": "net.fabricmc.example.mixin",   "package": "net.fabricmc.example.mixin",
-  "compatibilityLevel": "JAVA_8",+  "compatibilityLevel": "JAVA_17",
   "mixins": [],   "mixins": [],
   "client": [   "client": [
tutorial/mixin_registration.txt · Last modified: 2022/08/17 22:25 by 127.0.0.1