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

Hello,

As most of you knows vanilia MC has some disadvantages, and when you try to butt-in with your mod you may get stuck on some things.

Let's say I've got more (using Forge) EnumToolMaterials, and i want to implement them in game. Yeah - thats VERY easy, but there is one problem - i've got to obey some rules of vanilia code. We got Wood->Stone->Iron in vanilia, and i want to put, let's say: Copper, Steel, and Bronze between them.

If we follow real life hardness it should be: Wood->Stone->Copper->Bronze->Iron->Steel, and i've done it so... BUT!

But... i want for example change Diamond's (and others) Hardness, which is 12.0F, or its Durability (1561) to lower - I dunno how to do it without butting-in into Vanilia Code (and I don't want to). How can I use forge to override properties / vanilia code in minecarft?

Second question (actually the same) - how can I use this overrides to ,,replace" IronBlock with MyIronBlock (or just override IronBlock properties)

ex.

When in mod you got:

public static final Block OreIron = new MyOre(1001, 0, Material.rock).setHardness(2.0F).setBlockName("IronOre");

and in vanilia you got ,,something", I want minecarft to use MY OreIron, not the oryginal one (it needs to be done by minecraft itself - some of plugins - not mine -  use IronBlock ID and I want this ID be automatically changed into my ID (and other properties as well).

 

Sorry - I just write much :o  - Hopefully everything is clear :D

Thanks for help,

Ernio

1.7.10 is no longer supported by forge, you are on your own.

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.