Wolf Armor and Storage Legacy

Wolf Armor and Storage Legacy

17M Downloads

EntityDataManager registers based on EntityWolf.class, causing ID issues

satyrnidae opened this issue ยท 2 comments

commented

Capability attempts to store data in the wolf's datamanager. This apparently does not work. leading to duplicate ids.
Cause appears to be due to other mods' use of custom entities derived from EntityWolf.class with their own custom data. Due to the new method of capability injection these custom IDs end up conflicting with the other mods' custom IDs. Will likely have to add a class-based data registration method to handle those.
Needs to address custom entity data and Client/Server data watcher ID sync, may require a custom packet and extra network handling.

To do:

  • Investigate cast exception to determine relatedness
  • Investigate methods of fixing data manager fix

Related: #34, #38, #13, #21, #7, #44

commented
commented

Ended up removing the entire data manager and plopping a packet call into the onUpdate event handler. This is slightly concerning to me since I can only assume that's not a great way to handle that whole thing. I'll implement a more lightweight solution in the future.