@@ -74,7 +74,7 @@
|
||||
this.stop();
|
||||
return;
|
||||
}
|
||||
@@ -538,6 +553,10 @@
|
||||
@@ -539,6 +554,10 @@
|
||||
Raid.Wave[] araid_wave = Raid.Wave.VALUES;
|
||||
int j = araid_wave.length;
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
for (int k = 0; k < j; ++k) {
|
||||
Raid.Wave raid_wave = araid_wave[k];
|
||||
int l = this.getDefaultNumSpawns(raid_wave, i, flag1) + this.getPotentialBonusSpawns(raid_wave, this.random, i, difficultydamagescaler, flag1);
|
||||
@@ -550,9 +569,11 @@
|
||||
@@ -551,9 +570,11 @@
|
||||
entityraider.setPatrolLeader(true);
|
||||
this.setLeader(i, entityraider);
|
||||
flag = true;
|
||||
@@ -97,7 +97,7 @@
|
||||
if (raid_wave.entityType == EntityTypes.RAVAGER) {
|
||||
EntityRaider entityraider1 = null;
|
||||
|
||||
@@ -571,6 +592,7 @@
|
||||
@@ -572,6 +593,7 @@
|
||||
this.joinRaid(i, entityraider1, blockposition, false);
|
||||
entityraider1.moveTo(blockposition, 0.0F, 0.0F);
|
||||
entityraider1.startRiding(entityraider);
|
||||
@@ -105,7 +105,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -580,6 +602,7 @@
|
||||
@@ -581,6 +603,7 @@
|
||||
++this.groupsSpawned;
|
||||
this.updateBossbar();
|
||||
this.setDirty();
|
||||
@@ -113,7 +113,7 @@
|
||||
}
|
||||
|
||||
public void joinRaid(int i, EntityRaider entityraider, @Nullable BlockPosition blockposition, boolean flag) {
|
||||
@@ -595,7 +618,7 @@
|
||||
@@ -596,7 +619,7 @@
|
||||
entityraider.finalizeSpawn(this.level, this.level.getCurrentDifficultyAt(blockposition), EnumMobSpawn.EVENT, (GroupDataEntity) null, (NBTTagCompound) null);
|
||||
entityraider.applyRaidBuffs(i, false);
|
||||
entityraider.setOnGround(true);
|
||||
@@ -122,7 +122,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
@@ -845,6 +868,12 @@
|
||||
@@ -846,6 +869,12 @@
|
||||
this.heroesOfTheVillage.add(entity.getUUID());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user