Generalized bloomery specific ai states

- Generalized some states to work with tile entities and/or isided
inventories instead of specifically the bloomery
- Added most of the logic for anvilling items.