net.minecraft.world.entity.raid

public abstract class Raider

extends PatrollingMonster

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Attackable, Targeting, Enemy

cdc
net.minecraft.world.entity.raid.Raider
net.minecraft.class_3763
net.minecraft.entity.raid.RaiderEntity
net.minecraft.src.C_1189_
net.minecraft.world.entity.raid.EntityRaider

Field summary

Modifier and TypeField
protected static final EntityDataAccessor<Boolean>
c
IS_CELEBRATING
field_19032
CELEBRATING
f_37835_
static final Predicate<ItemEntity>
b
ALLOWED_ITEMS
field_16600
OBTAINABLE_OMINOUS_BANNER_PREDICATE
f_37831_
protected Raid
d
raid
field_16599
raid
f_37836_
private int
e
wave
field_16601
wave
f_37832_
private boolean
bT
canJoinRaid
field_16602
ableToJoinRaid
f_37833_
private int
bU
ticksOutsideRaid
field_16997
outOfRaidCounter
f_37834_

Constructor summary

ModifierConstructor
protected (EntityType<? extends Raider> p_37840_, Level arg1)

Method summary

Modifier and TypeMethod
protected void
z()
registerGoals()
method_5959()
initGoals()
m_8099_()
protected void
a_()
defineSynchedData()
method_5693()
initDataTracker()
m_8097_()
public abstract void
a(int arg0, boolean arg1)
applyRaidBuffs(int arg0, boolean arg1)
method_16484(int arg0, boolean arg1)
addBonusForWave(int wave, boolean unused)
m_7895_(int p_37845_, boolean arg1)
public boolean
gq()
canJoinRaid()
method_16481()
canJoinRaid()
m_37882_()
public void
z(boolean arg0)
setCanJoinRaid(boolean arg0)
method_16480(boolean arg0)
setAbleToJoinRaid(boolean ableToJoinRaid)
m_37897_(boolean arg0)
public void
b_()
aiStep()
method_6007()
tickMovement()
m_8107_()
protected void
gi()
updateNoActionTime()
method_16827()
updateDespawnCounter()
m_7562_()
public void
a(bho arg0)
die(DamageSource arg0)
method_6078(class_1282 arg0)
onDeath(DamageSource arg0)
m_6667_(C_489_ arg0)
public boolean
gk()
canJoinPatrol()
method_16472()
hasNoRaid()
m_7492_()
public void
a(cdb arg0)
setCurrentRaid(Raid arg0)
method_16476(class_3765 arg0)
setRaid(Raid raid)
m_37851_(C_1185_ arg0)
public Raid
gr()
getCurrentRaid()
method_16478()
getRaid()
m_37885_()
public boolean
gs()
hasActiveRaid()
method_16482()
hasActiveRaid()
m_37886_()
public void
b(int arg0)
setWave(int arg0)
method_16477(int arg0)
setWave(int wave)
m_37842_(int arg0)
public int
gt()
getWave()
method_16486()
getWave()
m_37887_()
public boolean
gu()
isCelebrating()
method_20034()
isCelebrating()
m_37888_()
public void
A(boolean arg0)
setCelebrating(boolean arg0)
method_20036(boolean arg0)
setCelebrating(boolean celebrating)
m_37899_(boolean arg0)
public void
b(qw arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(qw arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
protected void
b(byn arg0)
pickUpItem(ItemEntity arg0)
method_5949(class_1542 arg0)
loot(ItemEntity arg0)
m_7581_(C_976_ arg0)
public boolean
h(double arg0)
removeWhenFarAway(double arg0)
method_5974(double arg0)
canImmediatelyDespawn(double arg0)
m_6785_(double arg0)
public boolean
U()
requiresCustomPersistence()
method_17326()
cannotDespawn()
m_8023_()
public int
gv()
getTicksOutsideRaid()
method_16836()
getOutOfRaidCounter()
m_37889_()
public void
c(int arg0)
setTicksOutsideRaid(int arg0)
method_16835(int arg0)
setOutOfRaidCounter(int outOfRaidCounter)
m_37863_(int arg0)
public boolean
a(bho arg0, float arg1)
hurt(DamageSource arg0, float arg1)
method_5643(class_1282 arg0, float arg1)
damage(DamageSource arg0, float arg1)
m_6469_(C_489_ p_37850_, float arg1)
public SpawnGroupData
a(cqk arg0, bgw arg1, bjk arg2, bjz arg3, qw arg4)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, MobSpawnType arg2, SpawnGroupData arg3, CompoundTag arg4)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3, class_2487 arg4)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3, NbtCompound arg4)
m_6518_(C_1618_ p_37857_, C_469_ p_37858_, C_529_ p_37859_, C_542_ p_37860_, C_4917_ arg4)
public abstract SoundEvent
ac_()
getCelebrateSound()
method_20033()
getCelebratingSound()
m_7930_()