Jump to content

Registered items won't show up for some reason [1.7.10]


m8w0t

Recommended Posts

Hey, I've been trying to make a mod recently that incorporates the Redstone Flux api. I'm thinking about making an armor set capable of receiving upgrades that will work based on the amount of energy each armor piece has. Anyway...

 

It's been a while since I made a mod, and what I did was extremely simple (most complicated function of that mod was a bow with a custom draw speed). This time however, eclipse absolutely REFUSES to register more than 1 item. The ingot registered fine, got everything to work, texture and everything by memory. No problem there. The armor set (that will take the upgrades) however, won't show up in game. Nothing else will, in fact. I tried making more items, but nothing changed. Only the ingot works, and it's extremely frustrating because I literally copied and pasted the registration code and the classes, just changed the names appropriately. I'll give you the classes (3 of them, the main CarbonWeaponry one, the Ingot class that actually works, and the Helmet class that refuses to work):

 

Main class:

http://pastebin.com/S6sncHTA

 

Ingot class:

http://pastebin.com/F0KmJ2Pp

 

Helmet class:

http://pastebin.com/tMqK1Z44

 

The super constructor in the helmet class was just a test (to see if it would work). Nope, not even that works, just like the normal constructor.

 

One more question, I got the Flux api and put it in src/main/java right next to the com folder, will Gradle compile it normally if I write the dependency code right? Or should it be elsewhere?

Link to comment
Share on other sites

1.7.10 is no longer supported on this forum. Use 1.10.2.

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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