jfmekker / AurumancyMod

Gold-based magic mod for Minecraft 1.15.2 using Forge.
MIT License
0 stars 0 forks source link

[Refactor] Create AbstractMagicBlock class similar to AbstractMagicItem. #17

Open jfmekker opened 3 years ago

jfmekker commented 3 years ago

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.