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.

Featured Replies

Posted

I know by default the tool classes that exist are 'pickaxe', 'axe', 'shovel', with harvest levels 0 (wood, gold), 1 (stone), 2 (iron), 3 (diamond)

 

Why don't mods expand this with other tools? are we not to do so?

 

 

Background:

I have a block that is rotatable on right-click with a wrench, so Block.rotateBlock works perfectly for this.

It also dismantles with sneak + left-click with a wrench, so I check Item.getHarvestLevel if it is a "wrench"

 

In my own wrench tool I set the tool class to "wrench" (harvest 0)

 

Every thing works perfectly,

But when testing wrenches added by other mods they do nothing, after looking through their code none have set their wrenches with a custom tool class.

 

To go another step further I have yet to see any mod adding custom toolClasses (some do set harvest levels higher then 3)

 

Now I'm wondering, is setting a custom tool class an over-looked unused feature, or a modding faux pas?

I'd say an over-looked feature.

The tool classes system is relatively new...

though i have to assume that change was suggested by someone, so there should be at least a few people that use it.

(one of my mod adds "drill" tool class, and i didn't propose this system)

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

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.