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.

TheHuntrod

Members
  • Joined

  • Last visited

Everything posted by TheHuntrod

  1. For some reason harryPotterWand.getUnlocalizedName() in the code GameRegistry.registerItem(harryPotterWand, harryPotterWand.getUnlocalizedName()); was not actually working correctly. I changed the line harryPotterWand.getUnlocalizedName() to "harryPotterWand" and it worked
  2. Yup, when I made the post it was not but I renamed my .json and my picture to harryPotterWand because I figured that was the case and I figured it would be easier to find the problem if everything was consistent.... however that didn't change the fact the texture is still a purple and black block. I did read your mod post a few times looking for the answer and I couldn't find it, I also looked through your files and your MBE block 10 or 11, whichever one you set the texture up in. In my code I made it so where ever it says HarryPotterWand it is now harryPotterWand, I will re-upload the code if needed but I don't think the problem is with those lines of code
  3. [01:27:12] [Client thread/ERROR] [FML]: Model definition for location harrypottercraft:item.harryPotterWand#inventory not found [01:27:17] [Client thread/ERROR] [FML]: Model definition for location harrypottercraft:item.harryPotterWand#inventory not found this shows up in my console when I run the game
  4. http://pastebin.com/UqQZetk1 here is my ModItems class, and I shouldn't need to do the .setUnlocalizedName("harryPotterWand") code if I already have it in the ModItems class, right?
  5. I am still having problems, here is what my item looks like in game, it is not a block it is an item like a stick Here is my code: texture manager http://pastebin.com/aDxGVt5t main registry http://pastebin.com/JsaWNs4C HarryPotterWand.json file in \src\main\resources\assets\harrypottercraft\models\item (ive tried the last folder as item and items and still no luck) http://pastebin.com/QXtfpVJv ref strings: http://pastebin.com/H9N83HXd my texture is 128x128, if that is the problem is there any way I can set it to accept images of that size
  6. Resources go in src/main/resources , not in src/main/java . Yea, I know they do, I have my resources in there (lang models and textures). Only thing that is not in there is the HarryPotterWand.json which is in the path I had previously said (I tried it in both the src/main/resources/models and src/main/java folder and neither of them show the texture) my texture is 128x128, if that is the problem is there any way I can set it to accept images of that size
  7. I am still having problems, here is what my item looks like in game, it is not a block it is an item like a stick Here is my code: texture manager http://pastebin.com/aDxGVt5t main registry http://pastebin.com/JsaWNs4C HarryPotterWand.json file in C:\Users\Kyle\Desktop\Minecraft Modding\src\main\java\kwrod13\harrypottercraft\models\items http://pastebin.com/QXtfpVJv ref strings: http://pastebin.com/H9N83HXd

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.