mirror of
https://github.com/barkeser2002/CatServer.git
synced 2026-09-25 12:46:12 +03:00
21 lines
843 B
Diff
21 lines
843 B
Diff
--- ../src-base/minecraft/net/minecraft/entity/monster/EntityGuardian.java
|
|
+++ ../src-work/minecraft/net/minecraft/entity/monster/EntityGuardian.java
|
|
@@ -55,7 +55,7 @@
|
|
private EntityLivingBase targetedEntity;
|
|
private int clientSideAttackTime;
|
|
private boolean clientSideTouchedGround;
|
|
- private EntityAIWander wander;
|
|
+ public EntityAIWander wander;
|
|
|
|
public EntityGuardian(World worldIn)
|
|
{
|
|
@@ -82,7 +82,7 @@
|
|
this.targetTasks.addTask(1, new EntityAINearestAttackableTarget(this, EntityLivingBase.class, 10, true, false, new EntityGuardian.GuardianTargetSelector(this)));
|
|
}
|
|
|
|
- protected void applyEntityAttributes()
|
|
+ public void applyEntityAttributes()
|
|
{
|
|
super.applyEntityAttributes();
|
|
this.getEntityAttribute(SharedMonsterAttributes.ATTACK_DAMAGE).setBaseValue(6.0D);
|