Jump to content

Recommended Posts

Posted

I am trying to learn how to create armor for minecraft using mc forge, but I ran into some difficulties. All tutorials I watch add .setIconCoord() and .setItemName() to the end of the new armor, but when I attempt this, it gives me an error.

 

errorOutput.png

 

I am using mcforge version 7.7.0.605. For this test project, I am working on making gold-trimmed diamond armor.

 

GoldTrimmed.java (Main Class)

http://paste.minecraftforge.net/view/68afd075

 

gDiamondArmor.java (Armor Class)

http://paste.minecraftforge.net/view/3384f9d0

 

CommonProxy.java (Server Proxy)

http://paste.minecraftforge.net/view/67a8ed5f

 

ClientProxy.java (Client Proxy)

http://paste.minecraftforge.net/view/9c7a7b24

 

Thanks

Posted

Gosh, people these days.

 

I think you're wrong, you SHOULD use Eclipse.

 

please.. Don't try to act professional without Eclipse.

 

Reason? If you are professional why are you watching YouTube videos?

 

The fix is.

Replace all .setBlockName or .setItemName to .setUnlocalizedName

 

The unlocalized name is your texture, that means you can remove .setIconCoord() and all the other texture stuff.

 

If you have for example

 

testBlock = new TestBlock(222, 0).setUnlocalizedName("testBlock");

 

It would be located in :

 

Minecraft.jar's :

textures/blocks/testBlock.png

 

If it is a ITEM then:

 

testItem = new TestItem(8000).setUnlocalizedName("testItem");

 

It would be located in :

 

Minecraft.jar's :

textures/items/testItem.png

 

 

 

SWITCH TO ECLIPSE!

 

ALSO, YOU HAVE TO USE "recompile.bat" EVERYTIME YOU EDIT THE CODE!

 

ECLIPSE AUTOMATICALLY DOES RECOMPILE FOR YOU! AND IT IS FAST!

Posted

Gosh, people these days.

 

I think you're wrong, you SHOULD use Eclipse.

 

please.. Don't try to act professional without Eclipse.

 

Reason? If you are professional why are you watching YouTube videos?

 

The fix is.

Replace all .setBlockName or .setItemName to .setUnlocalizedName

 

The unlocalized name is your texture, that means you can remove .setIconCoord() and all the other texture stuff.

 

If you have for example

 

testBlock = new TestBlock(222, 0).setUnlocalizedName("testBlock");

 

It would be located in :

 

Minecraft.jar's :

textures/blocks/testBlock.png

 

If it is a ITEM then:

 

testItem = new TestItem(8000).setUnlocalizedName("testItem");

 

It would be located in :

 

Minecraft.jar's :

textures/items/testItem.png

 

 

 

SWITCH TO ECLIPSE!

 

ALSO, YOU HAVE TO USE "recompile.bat" EVERYTIME YOU EDIT THE CODE!

 

ECLIPSE AUTOMATICALLY DOES RECOMPILE FOR YOU! AND IT IS FAST!

why people alawy want the easiest way????????? people should use clipse when they are beginers(or when they will create an android program)i make my mods with n++ and its good, also the textures dont need to go into de jar just put in mcp/eclipse/minecraft/bin (if u start from eclipse) or mcp/bin/minecraft(if u start from startclient and startsever bat).

"ALSO, YOU HAVE TO USE "recompile.bat" EVERYTIME YOU EDIT THE CODE!"

wrong if he uses eclipse he can just copy and paste the recompiled code to the mcp/bin and then just use reobfuscate bat.

ProTip:

in your mod zip/jar u need to create a folder mods and then a folder yourmodname and then a folder called textures and then a folder called items (same for blocks just change items to blocks)

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • USA User You can get a 40 Off Temu Coupon code using the code ["aci789589"]. This Temu 40 Off code is specifically for new and existing customers both and can be redeemed to receive a 40% discount on your purchase. Our exclusive Temu Coupon code offers a flat 40 Off your purchase, plus an additional 30% discount on top of that. You can slash prices by up to 70% as a new Temu customer using code ["aci789589"]. Existing users can enjoy 40% off their next haul with this code. But that’s not all! With our Temu Coupon codes for 2025, you can get up to 90% discount on select items and clearance sales. Whether you’re a new customer or an existing shopper, our Temu codes provide extra discounts tailored just for you. Save up to 30% with these current Temu Coupons ["^"aci789589"^"] for June 2025. The latest Temu coupon codes at here. Free Temu codes 40 Off — ["aci789589"] Temu Coupon 40 Off — ["aci789589"] Temu Coupon 30% off — ["aci789589"] Temu Memorial Day Sale 75% off — ["aci789589"] Temu Coupon code today — ["aci789589"] Temu free gift code — ["^"aci789589"^"](Without inviting friends or family member) Temu Coupon code for Canada - 30% Off— ["aci789589"] Temu Coupon code Australia - 30% Off— ["aci789589"] Temu Coupon code New Zealand - 30% Off — ["aci789589"] Temu Coupon code Japan - 30% Off — ["aci789589"] Temu Coupon code Mexico - 30% Off — ["aci789589"] Temu Coupon code Chile - 30% Off — ["aci789589"] Temu Coupon code Peru - 30% Off — ["aci789589"] Temu Coupon code Colombia - 30% Off — ["aci789589"] Temu Coupon code Malaysia - 30% Off — ["aci789589"] Temu Coupon code Philippines - 30% Off — ["aci789589"] Temu Coupon code South Korea - 30% Off — ["aci789589"] Redeem Free Temu Coupon Code ["^"aci789589"^"] for first-time users Get a $100 discount on your Temu order with the promo code "aci789589". You can get a discount by clicking on the item to purchase and entering this Temu Coupon code 40 Off ["aci789589"]. Temu New User Coupon ["aci789589"]: Up To 75% OFF For First-Time Users Our Temu first-time user coupon codes are designed just for new customers, offering the biggest discounts and the best deals currently available on Temu. To maximize your savings, download the Temu app and apply our Temu new user coupon during checkout. Temu Coupon Codes For Existing Users ["aci789589"]: 40% Price Slash Have you been shopping on Temu for a while? Our Temu Coupon for existing customers is here to reward you for your continued support, offering incredible discounts on your favorite products. Temu Coupon For 40 Off ["aci789589"]: Get A Flat $100 Discount On Order Value Get ready to save big with our incredible Temu Coupon for 40 Off! Our amazing Temu 40 Off coupon code will give you a flat $100 discount on your order value, making your shopping experience even more rewarding. Temu Coupon Code For 40% Off ["aci789589"]: For Both New And Existing Customers Our incredible Temu Coupon code for 40% off is here to help you save big on your purchases. Whether you’re a new user or an existing customer, our 40% off code for Temu will give you an additional discount! Temu Coupon Bundle ["aci789589"]: Flat 40 Off + Up To 70% Discount Get ready for an unbelievable deal with our Temu Coupon bundle for 2025! Our Temu Coupon bundles will give you a flat $100 discount and an additional 40% off on top of it. Free Temu Coupons ["aci789589"]: Unlock Unlimited Savings! Get ready to unlock a world of savings with our free Temu Coupons! We’ve got you covered with a wide range of Temu Coupon code options that will help you maximize your shopping experience. 30% Off Temu Coupons, Promo Codes + 25% Cash Back ["aci789589"] Redeem Temu Coupon Code ["aci789589"] Temu Coupon 40 Off ["aci789589"] Temu Coupon 40 Off FOR EXISTING CUSTOMERS ["aci789589"] Temu Coupon 40 Off FIRST ORDER ["aci789589"] Temu Coupon 40 Off REDDIT ["aci789589"] Temu Coupon 40 Off FOR EXISTING CUSTOMERS REDDIT ["aci789589"] Temu 40 Off CODE ["aci789589"] Temu 100 OFF COUPON 2025 ["aci789589"] DOMINOS 100 RS OFF COUPON CODE ["aci789589"] WHAT IS A COUPON RATE ["aci789589"] Temu 40 Off FOR EXISTING CUSTOMERS ["aci789589"] Temu 40 Off FIRST ORDER ["aci789589"] Temu 40 Off FREE SHIPPING ["aci789589"]
    • Make a test with another Launcher like MultiMC or AT Launcher
    • Add crash-reports with sites like https://mclo.gs/ Looks like immersiverailroading and Optifine are conflicting - make a test without Optifine
    • And without create_more_automation?
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.