User Tools

Site Tools


tutorial:introduction

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:introduction [2019/11/03 14:55] – [Mixins] layltutorial:introduction [2019/11/03 23:07] – [Third Party APIs] layl
Line 47: Line 47:
  
 Because the Fabric API is intentionally kept small and focused, third party APIs exist to fill in the gaps. Because the Fabric API is intentionally kept small and focused, third party APIs exist to fill in the gaps.
-Mixins allow any third party library to affect Minecraft's code just as much as the core Fabric API can.+Mixins allow any third party library to affect Minecraft's code in the same way as the core Fabric API can.
 You should use these instead of writing your own mixins where possible to minimize the possibility for conflicts. You should use these instead of writing your own mixins where possible to minimize the possibility for conflicts.
  
-A good example of this is [[https://github.com/cottonmc|Cotton]], which provides a variety of common utilities, as well as common resource ores, items and blocks. +You can find an incomplete lists of [[documentation:libraries|third party libraries]] on this wiki.
- +
 ===== Mixins ===== ===== Mixins =====
  
Line 93: Line 91:
 ==== Overwrite ==== ==== Overwrite ====
  
-Never use overwrites. +Avoid overwrites completely
-Overwrites replace a method entirely.+They replace a method entirely, removing all existing code and conflicting with any other types of mixins on the method.
 They are extremely likely to conflict not just with other mods, but also with changes to Minecraft itself. They are extremely likely to conflict not just with other mods, but also with changes to Minecraft itself.
 You most likely do not need an overwrite to do what you want to do, please use something else. You most likely do not need an overwrite to do what you want to do, please use something else.
tutorial/introduction.txt · Last modified: 2023/09/13 21:20 by 2001:8a0:f4d2:c700:98c:bb27:6ad8:1dab