net.minecraft.world.entity.raid

public class Raid

axk
net.minecraft.world.entity.raid.Raid
net.minecraft.class_3765
net.minecraft.entity.raid.Raid
net.minecraft.world.raid.Raid
net.minecraft.server.v1_14_R1.Raid

Field summary

Modifier and TypeField
private static final TranslatableComponent
a
RAID_NAME_COMPONENT
field_19016
EVENT_TEXT
field_221338_b
private static final TranslatableComponent
b
VICTORY
field_19017
VICTORY_SUFFIX_TEXT
field_221339_c
private static final TranslatableComponent
c
DEFEAT
field_19018
DEFEAT_SUFFIX_TEXT
field_221340_d
private static final Component
d
RAID_BAR_VICTORY_COMPONENT
field_19019
VICTORY_TITLE
field_221341_e
private static final Component
e
RAID_BAR_DEFEAT_COMPONENT
field_19020
DEFEAT_TITLE
field_221342_f
private final Map<Integer, Raider>
f
groupToLeaderMap
field_16615
waveToCaptain
field_221343_g
private final Map<Integer, Set<Raider>>
g
groupRaiderMap
field_16618
waveToRaiders
field_221344_h
private final Set<UUID>
h
heroesOfTheVillage
field_19021
heroesOfTheVillage
field_221345_i
private long
i
ticksActive
field_16605
ticksActive
field_221346_j
private BlockPos
j
center
field_16613
center
field_221347_k
private final ServerLevel
k
level
field_16619
world
field_221348_l
private boolean
l
started
field_16611
started
field_221349_m
private final int
m
id
field_16625
id
field_221350_n
private float
n
totalHealth
field_16620
totalHealth
field_221351_o
private int
o
badOmenLevel
field_16623
badOmenLevel
field_221352_p
private boolean
p
active
field_16606
active
field_221353_q
private int
q
groupsSpawned
field_16621
wavesSpawned
field_221354_r
private final ServerBossEvent
r
raidEvent
field_16607
bar
field_221355_s
private int
s
postRaidTicks
field_16616
postRaidTicks
field_221356_t
private int
t
raidCooldownTicks
field_16614
preRaidTicks
field_221357_u
private final Random
u
random
field_16608
random
field_221358_v
private final int
v
numGroups
field_19022
waveCount
field_221359_w
private Raid$RaidStatus
w
status
field_19023
status
field_221360_x
private int
x
celebrationTicks
field_19024
finishCooldown
field_221361_y
private Optional<BlockPos>
y
waveSpawnPos
field_19172
preCalculatedRavagerSpawnLocation
field_221362_z

Constructor summary

ModifierConstructor
public (int id, ServerLevel world, BlockPos pos)
public (ServerLevel world, CompoundTag tag)

Method summary

Modifier and TypeMethod
public boolean
a()
isOver()
method_16832()
isFinished()
func_221319_a()
public boolean
b()
isBetweenWaves()
method_20020()
isPreRaid()
func_221334_b()
public boolean
c()
hasFirstWaveSpawned()
method_20021()
hasSpawned()
func_221297_c()
public boolean
d()
isStopped()
method_20022()
hasStopped()
func_221310_d()
public boolean
e()
isVictory()
method_20023()
hasWon()
func_221321_e()
public boolean
f()
isLoss()
method_20024()
hasLost()
func_221336_f()
public Level
i()
getLevel()
method_16831()
getWorld()
func_221316_i()
public boolean
j()
isStarted()
method_16524()
hasStarted()
func_221301_k()
public int
k()
getGroupsSpawned()
method_16490()
getGroupsSpawned()
func_221315_l()
private Predicate<ServerPlayer>
x()
validPlayer()
method_16501()
isInRaidDistance()
func_221299_x()
private void
y()
updatePlayers()
method_16499()
updateBarToPlayers()
func_221329_y()
public int
l()
getMaxBadOmenLevel()
method_16514()
getMaxAcceptableBadOmenLevel()
func_221327_m()
public int
m()
getBadOmenLevel()
method_16493()
getBadOmenLevel()
func_221291_n()
public void
a(awg arg0)
absorbBadOmen(Player arg0)
method_16518(class_1657 arg0)
start(PlayerEntity player)
func_221309_a(PlayerEntity arg0)
public void
n()
stop()
method_16506()
invalidate()
func_221295_o()
public void
o()
tick()
method_16509()
tick()
func_221307_p()
private void
z()
moveRaidCenterToNearbyVillageSection()
method_20511()
func_223027_y()
private Optional<BlockPos>
d(int arg0)
getValidSpawnPos(int arg0)
method_20267(int arg0)
preCalculateRavagerSpawnLocation(int proximity)
func_221313_d(int arg0)
private boolean
A()
hasMoreWaves()
method_16833()
shouldSpawnMoreGroups()
func_221289_z()
private boolean
B()
isFinalWave()
method_20012()
hasSpawnedFinalWave()
func_221288_A()
private boolean
C()
hasBonusWave()
method_20013()
hasExtraWave()
func_221328_B()
private boolean
D()
hasSpawnedBonusWave()
method_20014()
hasSpawnedExtraWave()
func_221314_C()
private boolean
E()
shouldSpawnBonusGroup()
method_20015()
isSpawningExtraWave()
func_221305_D()
private void
F()
updateRaiders()
method_16834()
removeObsoleteRaiders()
func_221292_E()
private void
a(ew arg0)
playSound(BlockPos arg0)
method_16521(class_2338 arg0)
playRaidHorn(BlockPos pos)
func_221293_a(BlockPos arg0)
private void
b(ew arg0)
spawnGroup(BlockPos arg0)
method_16522(class_2338 arg0)
spawnNextWave(BlockPos pos)
func_221294_b(BlockPos arg0)
public void
a(int arg0, axl arg1, ew arg2, boolean arg3)
joinRaid(int arg0, Raider arg1, BlockPos arg2, boolean arg3)
method_16516(int arg0, class_3763 arg1, class_2338 arg2, boolean arg3)
addRaider(int wave, RaiderEntity raider, BlockPos pos, boolean existing)
func_221317_a(int arg0, AbstractRaiderEntity arg1, BlockPos arg2, boolean arg3)
public void
p()
updateBossbar()
method_16523()
updateBar()
func_221320_q()
public float
q()
getHealthOfLivingRaiders()
method_16513()
getCurrentRaiderHealth()
func_221290_r()
private boolean
G()
shouldSpawnGroup()
method_16519()
canSpawnRaiders()
func_221318_F()
public int
r()
getTotalRaidersAlive()
method_16517()
getRaiderCount()
func_221303_s()
public void
a(axl arg0, boolean arg1)
removeFromRaid(Raider arg0, boolean arg1)
method_16510(class_3763 arg0, boolean arg1)
removeFromWave(RaiderEntity entity, boolean countHealth)
func_221322_a(AbstractRaiderEntity arg0, boolean arg1)
private void
H()
setDirty()
method_16520()
markDirty()
func_221331_G()
public static ItemStack
s()
getLeaderBannerInstance()
method_16515()
getOminousBanner()
func_221312_H()
public Raider
b(int arg0)
getLeader(int arg0)
method_16496(int arg0)
getCaptain(int wave)
func_221332_b(int arg0)
private BlockPos
a(int arg0, int arg1)
findRandomSpawnPos(int arg0, int arg1)
method_16525(int arg0, int arg1)
getRavagerSpawnLocation(int proximity, int tries)
func_221298_a(int arg0, int arg1)
private boolean
b(int arg0, axl arg1)
addWaveMob(int arg0, Raider arg1)
method_16505(int arg0, class_3763 arg1)
addToWave(int wave, RaiderEntity entity)
func_221287_b(int arg0, AbstractRaiderEntity arg1)
public boolean
a(int arg0, axl arg1, boolean arg2)
addWaveMob(int arg0, Raider arg1, boolean arg2)
method_16487(int arg0, class_3763 arg1, boolean arg2)
addToWave(int wave, RaiderEntity entity, boolean countHealth)
func_221300_a(int arg0, AbstractRaiderEntity arg1, boolean arg2)
public void
a(int arg0, axl arg1)
setLeader(int arg0, Raider arg1)
method_16491(int arg0, class_3763 arg1)
setWaveCaptain(int wave, RaiderEntity entity)
func_221324_a(int arg0, AbstractRaiderEntity arg1)
public void
c(int arg0)
removeLeader(int arg0)
method_16500(int arg0)
removeLeader(int wave)
func_221296_c(int arg0)
public BlockPos
t()
getCenter()
method_16495()
getCenter()
func_221304_t()
private void
c(ew arg0)
setCenter(BlockPos arg0)
method_20509(class_2338 arg0)
func_223024_c(BlockPos arg0)
public int
u()
getId()
method_16494()
getRaidId()
func_221325_u()
private int
a(axk$b arg0, int arg1, boolean arg2)
getDefaultNumSpawns(Raid$RaiderType arg0, int arg1, boolean arg2)
method_20018(class_3765$class_3766 arg0, int arg1, boolean arg2)
getCount(Raid$Member member, int wave, boolean extra)
func_221330_a(Raid$WaveMember arg0, int arg1, boolean arg2)
private int
a(axk$b arg0, Random arg1, int arg2, ahh arg3, boolean arg4)
getPotentialBonusSpawns(Raid$RaiderType arg0, Random arg1, int arg2, DifficultyInstance arg3, boolean arg4)
method_20019(class_3765$class_3766 arg0, Random arg1, int arg2, class_1266 arg3, boolean arg4)
getBonusCount(Raid$Member member, Random random, int wave, LocalDifficulty localDifficulty, boolean extra)
func_221335_a(Raid$WaveMember arg0, Random arg1, int arg2, DifficultyInstance arg3, boolean arg4)
public boolean
v()
isActive()
method_16504()
isActive()
func_221333_v()
public CompoundTag
a(id arg0)
save(CompoundTag arg0)
method_16502(class_2487 arg0)
toTag(CompoundTag tag)
func_221326_a(CompoundNBT arg0)
public int
a(ahg arg0)
getNumGroups(Difficulty arg0)
method_20016(class_1267 arg0)
getMaxWaves(Difficulty difficulty)
func_221306_a(Difficulty arg0)
public float
w()
getEnchantOdds()
method_20025()
getEnchantmentChance()
func_221308_w()
public void
a(aio arg0)
addHeroOfTheVillage(Entity arg0)
method_20017(class_1297 arg0)
addHero(Entity entity)
func_221311_a(Entity arg0)