Skip to content

Mod Integration Development: What's the correct way to register additional item details? #2106

Answered by SquidDev
benjaminiserman asked this question in Q&A
Discussion options

You must be logged in to vote

What I have is fully working, but I'm pretty sure I'm committing a faux pas by referencing ComputerCraftAPIService from a dependent mod.

Yes, anything in the impl is a no-no :p. You want to do VanillaDetailRegistries.ITEM_STACK.addProvider(ModItemDetailProvider()) instead.

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
5 replies
@benjaminiserman
Comment options

@SirEdvin
Comment options

@SquidDev
Comment options

@SirEdvin
Comment options

@SquidDev
Comment options

Comment options

You must be logged in to vote
2 replies
@SquidDev
Comment options

@benjaminiserman
Comment options

Answer selected by benjaminiserman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants