mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-18 11:19:19 +00:00
Fix pink wither being too aggressive in showing its love. Closes #141
This commit is contained in:
1 parent
a3c30caa40
commit
6d7fe40cd3
1 file changed
+3
-10
@@ -10,8 +10,6 @@
|
||||
*/
|
||||
package vazkii.botania.common.entity;
|
||||
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.EntityLivingBase;
|
||||
import net.minecraft.entity.ai.EntityAIArrowAttack;
|
||||
import net.minecraft.entity.ai.EntityAIHurtByTarget;
|
||||
import net.minecraft.entity.ai.EntityAINearestAttackableTarget;
|
||||
@@ -37,7 +35,6 @@ public class EntityPinkWither extends EntityWither {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Iterator<EntityAITasks.EntityAITaskEntry> targetTaskIter = this.targetTasks.taskEntries.iterator();
|
||||
while (targetTaskIter.hasNext()) {
|
||||
EntityAITasks.EntityAITaskEntry entry = targetTaskIter.next();
|
||||
@@ -62,13 +59,9 @@ public class EntityPinkWither extends EntityWither {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setAttackTarget(EntityLivingBase p_70624_1_) {
|
||||
// NO-OP
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean attackEntityAsMob(Entity p_70652_1_) {
|
||||
return false;
|
||||
public void updateAITasks() {
|
||||
if(this.ticksExisted % 20 == 0)
|
||||
this.heal(1.0F);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user