Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I add my own custom items? #1711

Open
Seagate-1TB opened this issue Oct 1, 2024 · 7 comments
Open

How do I add my own custom items? #1711

Seagate-1TB opened this issue Oct 1, 2024 · 7 comments
Labels

Comments

@Seagate-1TB
Copy link

I am running eclipse on my laptop, and I'm trying to find out how to make custom items (such as fuel rods) with their own stats and everything, but I am new to java coding, how do I do this?

I have git cloned it to a folder called "CUSTOM-HBM-NTM" and I don't know what to do

@Seagate-1TB
Copy link
Author

I have added the RTG pellets I needed to ModItems.java

@TheChosenIndividual
Copy link

You should...probably delete this before HBM sees it, ooooh boy is he gonna be pissed with you if he sees it, a nice verbal beatdown

@BallOfEnergy1
Copy link
Contributor

why is this created as an issue

@Vaern
Copy link
Contributor

Vaern commented Oct 2, 2024

getting pissed over... modifying an open-source mod? what are you on about

@HbmMods
Copy link
Owner

HbmMods commented Oct 2, 2024

For instructions on how to build the mod, consult the README. Items are generally all found and registered in com.hbm.items.ModItems.java, create a field at the top, instantiate in the middle and then use GameRegistry.registerItem at the bottom.

@Seagate-1TB
Copy link
Author

So the only thing is to do is create a field, instantiate it, and use GameRegistery.registerItem, I'll start making my images for the RTG pellets

@Seagate-1TB
Copy link
Author

Right, so How do I make custom discriptions and such that PELLET_RTG requires?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants