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

My guess is that these errors are due to the tutorial not being updated for 1.6.1, so I just wanted to mention that and see if we can work together to get that tutorial updated.

 

However it is also quite possible that I am doing something wrong as well. Here is the crash report:

 

http://paste.minecraftforge.net/view/0470161a

 

Thanks!

 

Reading through that crash report, it seems as though you are using the method "preloadTexture(String texture)"? If you are, I would suggest getting rid of it. I may actually (considering this is the second time now) update that tutorial... Hmmm... Ill get back to you on that one.

 

But yeah, preloadTexture(String texture) is no longer "valid". Minecraft/forge no longer uses that to load the texture into memory. It does that via the icon registry in the block/item class.

I am Mew. The Legendary Psychic. I behave oddly and am always playing practical jokes.

 

I have also found that I really love making extremely long and extremely but sometimes not so descriptive variables. Sort of like what I just did there xD

Havvy's tutorials are for 1.5 and earlier, chances are they wont work for 1.6. Forge is still in development for 1.6, so you may have to wait a while for new tutorials.

And even with 1.5.2 there are some tweaks needed in the blocks/items section. The rest are fine though, they work.

  • Author

Yep, it was choking on MinecraftForgeClient.preloadTexture(String texture). Commented out those lines, builds fine.

 

I think the idea behind the tutorial is to just get something added, compiled, and working. How should we change that tutorial for 1.6.1 so that at least one very basic line of code is executed?

 

I was thinking about replacing those two lines with System.out.print("Hello world"); but....maybe there is something more Minecraft-centric that would make more sense ;)

 

I'm also going to complete that tutorial series and document everything that needs to be changed.

 

Thanks!

I'm also going to complete that tutorial series and document everything that needs to be changed.

 

Thanks!

 

Please give me that documentation. I am fixing some stuff up now :D

I am Mew. The Legendary Psychic. I behave oddly and am always playing practical jokes.

 

I have also found that I really love making extremely long and extremely but sometimes not so descriptive variables. Sort of like what I just did there xD

Check out my other thread, I had a few things highlighted. The tutorials are really good, they just need a few corrections... I think additional explanations / comments / clarifications are always welcome of course...

 

On the basic blocks tutorial, I think the Generic.Ore class is missing a

 

import net.minecraft.client.renderer.texture.IconRegister;

 

at the beginning.

  • Author

I'm also going to complete that tutorial series and document everything that needs to be changed.

 

Thanks!

 

Please give me that documentation. I am fixing some stuff up now :D

 

er, my plan was to do that next week. :) I'll let you know if I find anything that doesn't work for me. Cheers!!

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.