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 just tried to update to my mod from 1.6.4 to 1.7.4 and It was hit very hard. I don't know much about 1.7 yet and there are not many tutorials to follow, so I would appreciate it if people can help my fix my problems.

 

I would like help with the following problems:

(I know its a lot and not well organized & I apologize)

 

- They changed the block id system, so for setting blocks and getting blocks, how does that and they whole block system work now and are items impacted?

 

- What happened to @NetworkMod and How can I initialize my packet Handler, packetHandler channels, and other stuff

 

- TickRegistry Class?

 

- Icon Registry and Textures?

 

- Registering things like Player Tracker

 

- Language and Block Registry

 

- Everything Else That You Think That Would Help Me!!!

 

 

Don't be afraid to ask question when modding, there are no stupid question! Unless you don't know java then all your questions are stupid!

Forge now handles Data Values, so remove them for everything.

Network mod is not needed; just remove it.

No idea; haven't ever used it

Remove the registerIcons methods, and add .setBlockTextureName("modid:texture.png") or .setTextureName("modid:texture.png") to the end of each Block or Item you add. (e.g., public static final Item exampleItem = new ItemExampleItem().setUnlocalizedName("exampleItem).setTextureName("parker8283_example:exampleItem.png");

LanguageRegistry no longer exists. You must now put your In-Game Names in a seperate file called en_US.lang in the assets/modid/lang/ directory, and do the following:

For blocks, write tile.exampleBlock.name=Example Block, and for Items, put item.exampleItem.name=Example Item.

Block Registry should be the same.

BlockRegistry is this.

 

public static Block ConicalFlask = new BlockConicalFlask(Material.glass);

 

GameRegistry.registerBlock(ConicalFlask, Strings.ConicalFlaskInfo[1]);

 

I am not sure what the string does in GameRegistry.registerBlock so I just gave it the string of the unlocalizedname

 

LanguageRegistry works in the .lang file tho I don't know how to do it yet

 

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.