Describe the refactor you had in mind
Create a class for the magic blocks to inherit from. Common properties may include actual tick period (in seconds), mana cost, stored mana property, etc.
Also could include an AbstractMagicBlockTileEntity class.
What are the benefits of this change?
Simplify and centralize the handling of tick timing, block activation, and mana use.
List any effected items/classes/etc
All Block and TileEntity classes.
Describe the refactor you had in mind Create a class for the magic blocks to inherit from. Common properties may include actual tick period (in seconds), mana cost, stored mana property, etc.
Also could include an AbstractMagicBlockTileEntity class.
What are the benefits of this change? Simplify and centralize the handling of tick timing, block activation, and mana use.
List any effected items/classes/etc All Block and TileEntity classes.