net.minecraft.world.entity.raid

public class Raid

crk
net.minecraft.world.entity.raid.Raid
net.minecraft.class_3765
net.minecraft.unmapped.C_szefbyex
net.minecraft.village.raid.Raid
net.minecraft.village.raid.Raid
net.minecraft.src.C_1185_
net.minecraft.world.entity.raid.Raid

Field summary

Modifier and TypeField
public static final SpawnPlacementType
a
RAVAGER_SPAWN_PLACEMENT_TYPE
field_53976
f_jbrszwhw
RAVAGER_SPAWN_LOCATION
RAVAGER_SPAWN_RESTRICTION
f_348976_
private static final int
i
ALLOW_SPAWNING_WITHIN_VILLAGE_SECONDS_THRESHOLD
field_53977
f_paujqkzq
field_53977
RAVAGER_SPAWNING_ALLOWED_SECONDS
f_347858_
private static final int
j
SECTION_RADIUS_FOR_FINDING_NEW_VILLAGE_CENTER
field_30676
f_ydvdobdu
field_30676
VILLAGE_CENTER_SEARCH_RADIUS
f_150204_
private static final int
k
VILLAGE_SEARCH_RADIUS
field_30680
f_mihznwna
field_30680
VILLAGE_SEARCH_RADIUS
f_150208_
private static final int
l
RAID_TIMEOUT_TICKS
field_30681
f_ngzvyrzk
field_30681
RAID_TIMEOUT_TICKS
f_150209_
private static final int
m
NUM_SPAWN_ATTEMPTS
field_30682
f_gknmsuhn
field_30682
SPAWN_ATTEMPTS
f_150210_
private static final Component
n
OMINOUS_BANNER_PATTERN_NAME
field_30683
f_vwnpawwa
OMINOUS_BANNER_TRANSLATION_KEY
OMINOUS_BANNER_TRANSLATION_KEY
f_150211_
private static final String
o
RAIDERS_REMAINING
field_30684
f_urbconqf
RAIDERS_REMAINING_TRANSLATION_KEY
RAIDERS_REMAINING_TRANSLATION_KEY
f_150212_
public static final int
b
VILLAGE_RADIUS_BUFFER
field_30669
f_yigyyxom
field_30669
VILLAGE_RADIUS_BUFFER
f_150197_
private static final int
p
POST_RAID_TICK_LIMIT
field_30685
f_fmgwzkdu
field_30685
POST_RAID_TICK_LIMIT
f_150213_
private static final int
q
DEFAULT_PRE_RAID_TICKS
field_30686
f_eizpltqd
DEFAULT_PRE_RAID_TICKS
DEFAULT_PRE_RAID_TICKS
f_150214_
public static final int
c
MAX_NO_ACTION_TIME
field_30670
f_xzkplzsb
MAX_DESPAWN_COUNTER
MAX_DESPAWN_COUNTER
f_150198_
public static final int
d
MAX_CELEBRATION_TICKS
field_30671
f_zzbgiosv
field_30671
MAX_CELEBRATION_TICKS
f_150199_
private static final int
r
OUTSIDE_RAID_BOUNDS_TIMEOUT
field_30687
f_clnrejkb
field_30687
OUTSIDE_RAID_AREA_TIMEOUT
f_150215_
public static final int
e
TICKS_PER_DAY
field_30672
f_cstfokux
field_30672
TICKS_PER_DAY
f_150200_
public static final int
f
DEFAULT_MAX_RAID_OMEN_LEVEL
field_30673
f_mpawerox
field_30673
MAX_BAD_OMEN_LEVEL
f_316707_
private static final int
s
LOW_MOB_THRESHOLD
field_30688
f_zfilwezn
field_30688
LOW_MOB_THRESHOLD
f_150216_
private static final Component
t
RAID_NAME_COMPONENT
field_19016
f_beoyahpx
EVENT_TEXT
EVENT
f_37665_
private static final Component
u
RAID_BAR_VICTORY_COMPONENT
field_19019
f_bjukdnhe
VICTORY_TITLE
VICTORY_TITLE
f_37668_
private static final Component
v
RAID_BAR_DEFEAT_COMPONENT
field_19020
f_fnxkdmas
DEFEAT_TITLE
DEFEAT_TITLE
f_37669_
private static final int
w
HERO_OF_THE_VILLAGE_DURATION
field_30689
f_jakhyora
MAX_ACTIVE_TICKS
MAX_ACTIVE_TICKS
f_150217_
private static final int
x
VALID_RAID_RADIUS
field_53978
f_ieyxqzve
field_53978
VALID_RAID_RADIUS
f_347959_
public static final int
g
VALID_RAID_RADIUS_SQR
field_30674
f_thidierq
field_30674
VALID_VILLAGE_RADIUS_SQUARED
f_150202_
public static final int
h
RAID_REMOVAL_THRESHOLD_SQR
field_30675
f_kdhitzkh
SQUARED_MAX_RAIDER_DISTANCE
RAID_REMOVE_THRESHOLD_SQUARED
f_150203_
private final Map<Integer, Raider>
y
groupToLeaderMap
field_16615
f_okfqfabw
waveToCaptain
waveToCaptain
f_37670_
private final Map<Integer, Set<Raider>>
z
groupRaiderMap
field_16618
f_apbpyjyx
waveToRaiders
waveToRaiders
f_37671_
private final Set<UUID>
A
heroesOfTheVillage
field_19021
f_yknvrgan
heroesOfTheVillage
heroesOfTheVillage
f_37672_
private long
B
ticksActive
field_16605
f_cpajdkjy
ticksActive
ticksActive
f_37673_
private BlockPos
C
center
field_16613
f_oxeijusq
center
center
f_37674_
private final ServerLevel
D
level
field_16619
f_ursemuft
world
world
f_37675_
private boolean
E
started
field_16611
f_kujahjos
started
started
f_37676_
private final int
F
id
field_16625
f_rvzgnmzd
id
id
f_37677_
private float
G
totalHealth
field_16620
f_ygwncywc
totalHealth
totalHealth
f_37678_
private int
H
raidOmenLevel
field_16623
f_dandncjl
badOmenLevel
badOmenLevel
f_316894_
private boolean
I
active
field_16606
f_defpxtbi
active
active
f_37680_
private int
J
groupsSpawned
field_16621
f_utuluoyn
wavesSpawned
wavesSpawned
f_37681_
private final ServerBossEvent
K
raidEvent
field_16607
f_yapxmkha
bar
bar
f_37682_
private int
L
postRaidTicks
field_16616
f_rnqazgdq
postRaidTicks
postRaidTicks
f_37683_
private int
M
raidCooldownTicks
field_16614
f_egmjrlfl
preRaidTicks
preRaidTicks
f_37684_
private final RandomSource
N
random
field_16608
f_kyzgcvgr
random
random
f_37685_
private final int
O
numGroups
field_19022
f_etfjbcak
waveCount
waveCount
f_37686_
private Raid$RaidStatus
P
status
field_19023
f_qqdyznei
status
status
f_37687_
private int
Q
celebrationTicks
field_19024
f_lwjerqav
finishCooldown
finishCooldown
f_37688_
private Optional<BlockPos>
R
waveSpawnPos
field_19172
f_zbapqfgc
preCalculatedRaidersSpawnLocation
preCalculatedRavagerSpawnLocation
f_37689_

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
a()
isOver()
method_16832()
m_dudktkmw()
isFinished()
isFinished()
m_37706_()
public boolean
b()
isBetweenWaves()
method_20020()
m_hvxdnwas()
isPreRaid()
isPreRaid()
m_37749_()
public boolean
c()
hasFirstWaveSpawned()
method_20021()
m_upnrpmew()
hasSpawned()
hasSpawned()
m_37757_()
public boolean
d()
isStopped()
method_20022()
m_zmfpxjlb()
hasStopped()
hasStopped()
m_37762_()
public boolean
e()
isVictory()
method_20023()
m_vzteskok()
hasWon()
hasWon()
m_37767_()
public boolean
f()
isLoss()
method_20024()
m_rvyhugft()
hasLost()
hasLost()
m_37768_()
public float
g()
getTotalHealth()
method_35212()
m_zfqbnypl()
getTotalHealth()
getTotalHealth()
m_150220_()
public Set<Raider>
h()
getAllRaiders()
method_35213()
m_yonjbfvp()
getAllRaiders()
getAllRaiders()
m_150221_()
public Level
i()
getLevel()
method_16831()
m_scwlydks()
getWorld()
getWorld()
m_37769_()
public boolean
j()
isStarted()
method_16524()
m_zagijkkj()
hasStarted()
hasStarted()
m_37770_()
public int
k()
getGroupsSpawned()
method_16490()
m_pcjjizjn()
getGroupsSpawned()
getGroupsSpawned()
m_37771_()
private Predicate<ServerPlayer>
w()
validPlayer()
method_16501()
m_mwiqgpfz()
isInRaidDistance()
isInRaidDistance()
m_37784_()
private void
x()
updatePlayers()
method_16499()
m_ykzdnyxz()
updateBarToPlayers()
updateBarToPlayers()
m_37785_()
public int
l()
getMaxRaidOmenLevel()
method_16514()
m_evxnagza()
getMaxAcceptableBadOmenLevel()
getMaxBadOmenLevel()
m_37772_()
public int
m()
getRaidOmenLevel()
method_16493()
m_azkplhcc()
getBadOmenLevel()
getBadOmenLevel()
m_322744_()
public void
a(int arg0)
setRaidOmenLevel(int arg0)
method_35211(int arg0)
m_gkjhoeun(int arg0)
setBadOmenLevel(int badOmenLevel)
setBadOmenLevel(int level)
m_319881_(int arg0)
public boolean
a(asi arg0)
absorbRaidOmen(ServerPlayer arg0)
method_16518(class_3222 arg0)
m_kkhfgadp(C_mxrobsgg arg0)
start(ServerPlayerEntity player)
start(ServerPlayerEntity player)
m_321520_(C_13_ arg0)
public void
n()
stop()
method_16506()
m_ihifrprf()
invalidate()
invalidate()
m_37774_()
public void
o()
tick()
method_16509()
m_jvxffxut()
tick()
tick()
m_37775_()
private void
y()
moveRaidCenterToNearbyVillageSection()
method_20511()
m_ohbdkubj()
moveRaidCenter()
moveRaidCenter()
m_37786_()
private Optional<BlockPos>
z()
getValidSpawnPos()
method_20267()
m_ncpwdmit()
getRaidersSpawnLocation()
preCalculateRavagerSpawnLocation()
m_37763_()
private boolean
A()
hasMoreWaves()
method_16833()
m_ftutcsco()
shouldSpawnMoreGroups()
shouldSpawnMoreGroups()
m_37698_()
private boolean
B()
isFinalWave()
method_20012()
m_msoysvru()
hasSpawnedFinalWave()
hasSpawnedFinalWave()
m_37699_()
private boolean
C()
hasBonusWave()
method_20013()
m_wfjndsvw()
hasExtraWave()
hasExtraWave()
m_37700_()
private boolean
D()
hasSpawnedBonusWave()
method_20014()
m_iarhyjws()
hasSpawnedExtraWave()
hasSpawnedExtraWave()
m_37701_()
private boolean
E()
shouldSpawnBonusGroup()
method_20015()
m_vvadisvs()
isSpawningExtraWave()
isSpawningExtraWave()
m_37702_()
private void
F()
updateRaiders()
method_16834()
m_ilwmzynv()
removeObsoleteRaiders()
removeObsoleteRaiders()
m_37703_()
private void
a(jh arg0)
playSound(BlockPos arg0)
method_16521(class_2338 arg0)
m_hnnchmuz(C_hynzadkk arg0)
playRaidHorn(BlockPos pos)
playRaidHorn(BlockPos pos)
m_37743_(C_4675_ arg0)
private void
b(jh arg0)
spawnGroup(BlockPos arg0)
method_16522(class_2338 arg0)
m_rshbtejz(C_hynzadkk arg0)
spawnNextWave(BlockPos pos)
spawnNextWave(BlockPos pos)
m_37755_(C_4675_ arg0)
public void
a(int arg0, crl arg1, jh arg2, boolean arg3)
joinRaid(int arg0, Raider arg1, BlockPos arg2, boolean arg3)
method_16516(int arg0, class_3763 arg1, class_2338 arg2, boolean arg3)
m_prgonsry(int arg0, C_iaguvmwh arg1, C_hynzadkk arg2, boolean arg3)
addRaider(int wave, RaiderEntity raider, BlockPos pos, boolean existing)
addRaider(int wave, RaiderEntity raider, BlockPos pos, boolean existing)
m_37713_(int p_37715_, C_1189_ p_37716_, C_4675_ p_37717_, boolean arg3)
public void
p()
updateBossbar()
method_16523()
m_nodtgeic()
updateBar()
updateBar()
m_37776_()
public float
q()
getHealthOfLivingRaiders()
method_16513()
m_zrbdaqtr()
getCurrentRaiderHealth()
getCurrentRaiderHealth()
m_37777_()
private boolean
G()
shouldSpawnGroup()
method_16519()
m_zpxnmupw()
canSpawnRaiders()
canSpawnRaiders()
m_37704_()
public int
r()
getTotalRaidersAlive()
method_16517()
m_odulvant()
getRaiderCount()
getRaiderCount()
m_37778_()
public void
a(crl arg0, boolean arg1)
removeFromRaid(Raider arg0, boolean arg1)
method_16510(class_3763 arg0, boolean arg1)
m_zdjkplmy(C_iaguvmwh arg0, boolean arg1)
removeFromWave(RaiderEntity entity, boolean countHealth)
removeFromWave(RaiderEntity entity, boolean countHealth)
m_37740_(C_1189_ p_37742_, boolean arg1)
private void
H()
setDirty()
method_16520()
m_cysuwdln()
markDirty()
markDirty()
m_37705_()
public static ItemStack
a(jr<dun> arg0)
getOminousBannerInstance(HolderGetter<BannerPattern> arg0)
method_61558(class_7871<class_2582> arg0)
m_pbwmgtdj(C_pzdchrcy<C_fjtvwotb> arg0)
createOminousBanner(RegistryEntryLookup<BannerPattern> bannerPatternLookup)
createOminousBanner(HolderProvider<BannerPattern> pattern)
m_352012_(C_254583_<C_1977_> p_360793_)
public Raider
b(int arg0)
getLeader(int arg0)
method_16496(int arg0)
m_dllpoezn(int arg0)
getCaptain(int wave)
getCaptain(int wave)
m_37750_(int arg0)
private BlockPos
d(int arg0)
findRandomSpawnPos(int arg0)
method_16525(int arg0)
m_jnntkqxs(int arg0)
findRandomRaidersSpawnLocation(int proximity)
getRavagerSpawnLocation(int proximity)
m_37707_(int arg0)
private boolean
b(int arg0, crl arg1)
addWaveMob(int arg0, Raider arg1)
method_16505(int arg0, class_3763 arg1)
m_txylqctn(int arg0, C_iaguvmwh arg1)
addToWave(int wave, RaiderEntity entity)
addToWave(int wave, RaiderEntity entity)
m_37752_(int p_37754_, C_1189_ arg1)
public boolean
a(int arg0, crl arg1, boolean arg2)
addWaveMob(int arg0, Raider arg1, boolean arg2)
method_16487(int arg0, class_3763 arg1, boolean arg2)
m_auegkfsl(int arg0, C_iaguvmwh arg1, boolean arg2)
addToWave(int wave, RaiderEntity entity, boolean countHealth)
addToWave(int wave, RaiderEntity entity, boolean countHealth)
m_37718_(int p_37720_, C_1189_ p_37721_, boolean arg2)
public void
a(int arg0, crl arg1)
setLeader(int arg0, Raider arg1)
method_16491(int arg0, class_3763 arg1)
m_orpkrvnp(int arg0, C_iaguvmwh arg1)
setWaveCaptain(int wave, RaiderEntity entity)
setWaveCaptain(int wave, RaiderEntity entity)
m_37710_(int p_37712_, C_1189_ arg1)
public void
c(int arg0)
removeLeader(int arg0)
method_16500(int arg0)
m_ohyrjokd(int arg0)
removeLeader(int wave)
removeLeader(int wave)
m_37758_(int arg0)
public BlockPos
s()
getCenter()
method_16495()
m_mesmxuol()
getCenter()
getCenter()
m_37780_()
private void
c(jh arg0)
setCenter(BlockPos arg0)
method_20509(class_2338 arg0)
m_pajuwpzg(C_hynzadkk arg0)
setCenter(BlockPos center)
setCenter(BlockPos center)
m_37760_(C_4675_ arg0)
public int
t()
getId()
method_16494()
m_wcbziqjn()
getRaidId()
getRaidId()
m_37781_()
private int
a(crk$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)
m_bsoqtuva(C_szefbyex$C_mgsrpgzv arg0, int arg1, boolean arg2)
getCount(Raid$Member member, int wave, boolean extra)
getCount(Raid$Member member, int wave, boolean extra)
m_37730_(C_1185_$C_1188_ p_37732_, int p_37733_, boolean arg2)
private int
a(crk$b arg0, bam arg1, int arg2, bth arg3, boolean arg4)
getPotentialBonusSpawns(Raid$RaiderType arg0, RandomSource arg1, int arg2, DifficultyInstance arg3, boolean arg4)
method_20019(class_3765$class_3766 arg0, class_5819 arg1, int arg2, class_1266 arg3, boolean arg4)
m_bkcundwm(C_szefbyex$C_mgsrpgzv arg0, C_rlomrsco arg1, int arg2, C_jiailwzt arg3, boolean arg4)
getBonusCount(Raid$Member member, Random random, int wave, LocalDifficulty localDifficulty, boolean extra)
getBonusCount(Raid$Member member, RandomGenerator random, int wave, LocalDifficulty localDifficulty, boolean extra)
m_219828_(C_1185_$C_1188_ p_219830_, C_212974_ p_219831_, int p_219832_, C_469_ p_219833_, boolean arg4)
public boolean
u()
isActive()
method_16504()
m_ciifszic()
isActive()
isActive()
m_37782_()
public CompoundTag
a(ux arg0)
save(CompoundTag arg0)
method_16502(class_2487 arg0)
m_ozblxlgo(C_hhlwcnih arg0)
writeNbt(NbtCompound nbt)
writeNbt(NbtCompound nbt)
m_37747_(C_4917_ arg0)
public int
a(btg arg0)
getNumGroups(Difficulty arg0)
method_20016(class_1267 arg0)
m_yondxzyr(C_mpbjgxic arg0)
getMaxWaves(Difficulty difficulty)
getMaxWaves(Difficulty difficulty)
m_37724_(C_468_ arg0)
public float
v()
getEnchantOdds()
method_20025()
m_sxehawhg()
getEnchantmentChance()
getEnchantmentChance()
m_37783_()
public void
a(bvk arg0)
addHeroOfTheVillage(Entity arg0)
method_20017(class_1297 arg0)
m_fxiylzar(C_astfners arg0)
addHero(Entity entity)
addHero(Entity entity)
m_37726_(C_507_ arg0)