Custom Potion Colors #1829
Unanswered
olduvaihand
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been getting my feet wet with modding through Kaupenjoe's youtube tutorials, which have been pretty solid, and am trying to go a little further than his examples. Current thing I'm stuck on is customizing potions.
I understand how to define and register potions and can successfully use them in the game. I see there's a field in the PotionContents data component for custom color that presumably overrides the default effect-color mixing behavior, but I'm confused about how to supply an override, either via PotionContents (which I assume you can do) or by providing a data file somewhere.
I've tried modifying the default component in a ModifyDefaultComponentsEvent handler, but no dice. I've found other posts from modders in early version of forge doing things like redefining the PotionItem class altogether. Any pointers from the experts?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions