Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Star_SNG

Members
  • Joined

  • Last visited

  1. Okay, I had to change .fromItems to .of, which I tried before and didn't work. but after putting get() with .of it works. Thanks for the help
  2. I've been searching the internet for hours and tried so many things but I just can't seem to find the solution. Please help me. Here is the code: public enum ModItemTier implements IItemTier { SNG(4, 2031, 9.0F, 4.0F, 15, () -> { return Ingredient.fromItems(ModItems.SNG_INGOT); } );
  3. Okay it works now. Thanks for the help
  4. Star_SNG changed their profile photo
  5. I looked online and can't find a solution that worked. Here is the code for the block: public static final RegistryObject<Block> SNG_ORE = BLOCKS.register("sng_ore", () -> new Block(AbstractBlock.Properties .of(Material.METAL) .strength(5.0f,6.0f) .sound(SoundType.STONE) .harvestLevel(2) .harvestTool(ToolType.PICKAXE) ) );

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.