

HarroldSaxon
Members-
Content count
2 -
Joined
-
Last visited
Community Reputation
0 NeutralAbout HarroldSaxon
-
Rank
Tree Puncher
-
getClassFromName().entrySet VS ENTITIES.getEntries()
HarroldSaxon replied to HarroldSaxon's topic in Modder Support
This code loads, or generates if not found, a file for each entity in a folder in configs, named and containing the entity's id by default. additional information added to these files is used by the mod to alter some in game behaviors, but at the moment those files are not loading correctly. -
I'm updating a mod from 1.10.2 to 1.12.2, and am somewhat confused about the registry changes. I can generate files, but i don't think the generated files are being loaded correctly. here's the original code and here's my changes I know i have at least one line wrong, not sure what i should be using instead. If anyone can point me in the right direction, I'd greatly appreciate it.