Use hashmap for getting materials
Add method for getting entity from material
Use the mob power when right clicking
Add null check
Cancel event