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.

brepi

Members
  • Joined

  • Last visited

  1. it worked! thank you so much! i would have never thought of doing that
  2. code looks like this : public static final RegistryObject<Block> TEST_ORE= BLOCKS.register("testore",()-> new Block(BlockBehaviour.Properties.of(Material.STONE,MaterialColor.COLOR_BROWN) .strength(1.0F, 1.0F) .harvestTool(ToolType.PICKAXE) .harvestLevel(2) .requiresCorrectToolForDrops() .sound(SoundType.STONE))); }
  3. brepi changed their profile photo
  4. i am working on the FML 1.17 beta version when using .harvestTool(ToolType.PICKAXE) and .harvestLevel(2), it doesnt make a difference and i can still mine my block with my hand i read some other forums and they said to add ".func_235861_h_()" or "setRequiresTool()" , but it looks like in the newest version, it has changed to ".requiresCorrectToolForDrops()" however, when i tried to use .requiresCorrectToolForDrops(), it made everything slower and doesnt drop an item at all anymore. Am i missing something? is there a different syntax for the old "setRequiresTool()" ?

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.