Advertisement
YTG123

Untitled

Oct 21st, 2020
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.34 KB | None | 0 0
  1. public class ModItems {
  2.     public static final Item EXAMPLE_ITEM = new Item(new FabricItemSettings().group(ItemGroups.MISC));
  3.     // Define other items here
  4.  
  5.     public static void registerItems() {
  6.         Registry.register(Registry.ITEM, new Identifier("example", "example_item"), EXAMPLE_ITEM);
  7.         // Register other items here
  8.     }
  9. }
  10.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement