User Tools

Site Tools


tutorial:terms

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
tutorial:terms [2020/02/21 12:08]
mkpoli Add initializers.
tutorial:terms [2020/02/23 22:32] (current)
earthcomputer [Entry Points and Initializers] Mod initializers are not technically required
Line 21: Line 21:
 Fabric Loader use ''​fabric.mod.json''​ to detect and load your mod. Fabric Loader use ''​fabric.mod.json''​ to detect and load your mod.
  
-A mod must contain ​at least one initializer class which should implement one of ''​ModInitializer'',​ ''​ClientInitializer''​ and ''​ServerInitializer''​. The interfaces are all in the ''​net.fabricmc.api''​ package. In order to change or add initializers,​ you need to edit ''​fabric.mod.json''​ and find ''​entrypoints''​ block, then edit them accordingly. ''​main''​ block is for Mod Initializers,​ ''​client''​ block is for Client Mod Initializers and ''​server''​ block is for Server Mod Initializers.+A mod usually contains ​at least one initializer class which should implement one of ''​ModInitializer'',​ ''​ClientInitializer''​ and ''​ServerInitializer''​. The interfaces are all in the ''​net.fabricmc.api''​ package. In order to change or add initializers,​ you need to edit ''​fabric.mod.json''​ and find ''​entrypoints''​ block, then edit them accordingly. ''​main''​ block is for Mod Initializers,​ ''​client''​ block is for Client Mod Initializers and ''​server''​ block is for Server Mod Initializers.
  
 <code java> <code java>
tutorial/terms.txt ยท Last modified: 2020/02/23 22:32 by earthcomputer