Add summoned creature appear/disappear animation
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package electroblob.wizardry.entity.living;
|
||||
|
||||
import electroblob.wizardry.Wizardry;
|
||||
import electroblob.wizardry.client.DrawingUtils;
|
||||
import net.minecraft.entity.EntityLivingBase;
|
||||
import net.minecraft.entity.ai.EntityAIHurtByTarget;
|
||||
import net.minecraft.entity.ai.EntityAINearestAttackableTarget;
|
||||
@@ -105,6 +106,11 @@ public class EntityBlazeMinion extends EntityBlaze implements ISummonedCreature
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getAnimationColour(float animationProgress){
|
||||
return DrawingUtils.mix(0xffdd4d, 0xff6600, animationProgress);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean processInteract(EntityPlayer player, EnumHand hand){
|
||||
// In this case, the delegate method determines whether super is called.
|
||||
|
||||
Reference in New Issue
Block a user