Open Modular Turrets

Open Modular Turrets

26M Downloads

Modularize Coding and enhance API

Keridos opened this issue ยท 1 comments

commented
  • Remove Hardcoded TurretHead and Base and add relevant functions to Interfaces for API. Especially in TurretHeadUtils
  • Implement Interfaces for TurretHead and TurretBase
  • condense ammo consuming method into 1 method, use bases new getInventories() function
  • remove hardcoded slot numbers for bases. Instead create a map<int,type> that maps slots to their types
  • Add in support to allow modifiying our filterlists for entities via Mod messaging
commented

Closing this, not much refactoring needed for 1.12 anyway. 1.16 will almost be a full rewrite.