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
Next revisionBoth sides next revision
tutorial:mixin_registration [2020/06/08 21:39] – [Register Mixins] lvanderzandetutorial:mixin_registration [2020/06/08 21:40] – [Register Mixins with Fabric] lvanderzande
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 61: Line 61:
 The ''server'' array defines which classes should be loaded on the server. The ''server'' array defines which classes should be loaded on the server.
  
-Following that logic: ''net.fabricmc.example.mixin.TitleScreenMixin'' is the mixin 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.txt · Last modified: 2022/08/17 22:25 by 127.0.0.1