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'm currently trying to make a block with the same hardness and resistance as a block of emerald. I am using hardnessAndResistance(5f, 10f) and the hardness works but it seems to be more blast resistant than an emerald block in testing.

 

8 minutes ago, Umpaz said:

I'm currently trying to make a block with the same hardness and resistance as a block of emerald. I am using hardnessAndResistance(5f, 10f) and the hardness works but it seems to be more blast resistant than an emerald block in testing.

 

The emerald block has a resistance of 6.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

  • Author

Also what does the f mean? I'm new to coding and I'm wondering why should I put the f after the values? And why 6? On the wiki it says it's 30.

Edited by Umpaz

Just now, Umpaz said:

Also what does the f mean? I'm new to coding and I'm wondering why should I put the f after the values?

You should learn how to code and learn Java before you make a mod. This is not a Java forum this is a Forge forum.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

4 minutes ago, Umpaz said:

But why 6?

Because that is the value Mojang decided to set for the emerald block. I'm not quite sure what you are asking.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

  • Author

On the minecraft wiki the value for resistance is shown as 30. I'm wondering how that translates over to 6.

 

6 minutes ago, Umpaz said:

On the minecraft wiki the value for resistance is shown as 30. I'm wondering how that translates over to 6.

The wiki is wrong/outdated.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

1 minute ago, Umpaz said:

Is there a list of the updated resistances?

Look at the Blocks class it has all of the Block fields.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

  • 2 years later...
  • Guest locked this topic
Guest
This topic is now closed to further replies.

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.