Genericise spell casting AI class

This commit is contained in:
Electroblob
2018-06-09 17:36:54 +01:00
parent 719c6d5fbb
commit b6400c72a7
6 changed files with 26 additions and 35 deletions
@@ -84,7 +84,7 @@ import net.minecraftforge.oredict.OreDictionary;
@Mod.EventBusSubscriber
public class EntityWizard extends EntityCreature implements INpc, IMerchant, ISpellCaster, IEntityAdditionalSpawnData {
private EntityAIAttackSpell spellCastingAI = new EntityAIAttackSpell(this, 0.5D, 14.0F, 30, 50);
private EntityAIAttackSpell<EntityWizard> spellCastingAI = new EntityAIAttackSpell<>(this, 0.5D, 14.0F, 30, 50);
public int textureIndex = 0;