User Tools

Site Tools


tutorial:a_new_page

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
tutorial:a_new_page [2022/12/16 06:51] – Checking effects of login on map2fabricyarn daomephstatutorial:a_new_page [2022/12/16 06:55] (current) – check complete daomephsta
Line 3: Line 3:
 Hey, you clicked the link! Hey, you clicked the link!
 But i’m afraid this is not the correct way to create a page, you need to specify your own page name instead of a_new_page, so go on, do it! But i’m afraid this is not the correct way to create a page, you need to specify your own page name instead of a_new_page, so go on, do it!
- 
-===== Test Please Ignore ===== 
-<yarncode java [enable_line_numbers="true"]> 
-public class ExampleMod implements ModInitializer { 
- 
-    // an instance of our new item 
-    public static final class_1792 CUSTOM_ITEM = new class_1792(new FabricItemSettings()); 
- 
-    @Override 
-    public void onInitialize() { 
-        class_2378000.method_10230000(class_7923000.field_41178000, new class_2960000("tutorial", "custom_item"), CUSTOM_ITEM); 
-    } 
-} 
-</yarncode> 
tutorial/a_new_page.txt · Last modified: 2022/12/16 06:55 by daomephsta