Jump to content

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


Recommended Posts

Posted

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?

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.