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
tutorial:mixin_registration [2020/06/08 21:40] – [Register Mixins with Fabric] lvanderzandetutorial:mixin_registration [2024/06/13 11:24] (current) – change: accentuate that "client" and "server" fields in mixins.json refer to the physical side l1ttle
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": [
Line 55: Line 55:
 The ''package'' field defines which folder (package) to find the Mixins in. The ''package'' field defines which folder (package) to find the Mixins in.
  
-The ''mixins'' array defines which classes should be loaded on both the client and server.+The ''mixins'' array defines which classes should be loaded on both the **physical** client and **physical** server.
  
-The ''client'' array defines which classes should be loaded on the client.+The ''client'' array defines which classes should be loaded only on the **physical** client.
  
-The ''server'' array defines which classes should be loaded on the server.+The ''server'' array defines which classes should be loaded only on the **physical** server.
  
 Following that logic: ''net.fabricmc.example.mixin.TitleScreenMixin'' is the mixin class that will be loaded on the client. Following that logic: ''net.fabricmc.example.mixin.TitleScreenMixin'' is the mixin class that will be loaded on the client.
  
  
tutorial/mixin_registration.1591652442.txt.gz · Last modified: 2020/06/08 21:40 by lvanderzande