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

EDIT: I /still/ can't seem to find the minecraft src files. I found the forge java, but the minecraft folder only has a forge related java file. I am wondering if I did something wrong in the command line process, although my projects compile just fine.

 

EDIT 2: I finally found that you have to run "gradlew setupDecompWorkspace --refresh-dependencies" and then run gradlew setupDevWorkspace eclipse" this adds the source java files to your project. There may be a condensed way to do this but this worked for me.

  • Author

Thanks! EDIT: Actually I found the forge src files, but all the minecraft files are Classes from what I can tell. I'll keep fishing around in the build folder.

 

Now maybe I can find out how to implement the new block/item naming system via the asset lang system since .addName was deprecated.

There is a "lang" folder inside of the assets on 1.7.2 "src\main\resources\assets\modid\lang\en_US.lang"

The format is:

 

the name minecraft has=Your name here

for example:

tile.testblock.name=Test Block

 

Would rename the testblock to Test Block.

 

Honestly no idea about building it yet - when you hit run in the eclipse workspace it loads up the assets no problem, so I'm assuming if you build the way intended it'll auto handle packaging the assets for you.

  • Author

You can see how I have my lang file set up here. Note that I prefix my names with my shortened modid, which isn't really necessary, but I like it.

 

That's basically what mine looks like, good so far. Now, I just need to create an assets package in my src/ folder? BTW Thanks so much for the help. Your mod looks amazing just from looking at your code. I can't wait to try it out once my mod is up an running the way I want.

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.