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 [2022/08/17 22:25] – Updated the java version in the mixins.json example clomclemtutorial: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 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.1660775110.txt.gz · Last modified: 2022/08/17 22:25 by clomclem