net.minecraft.world.entity.raid

public abstract class Raider

extends PatrollingMonster

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, CommandSource, ScoreHolder, Attackable, EquipmentUser, Targeting, Enemy

col
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
bY
canJoinRaid
field_16602
ableToJoinRaid
f_37833_
private int
bZ
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(ako$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
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
gD()
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
n_()
aiStep()
method_6007()
tickMovement()
m_8107_()
protected void
gv()
updateNoActionTime()
method_16827()
updateDespawnCounter()
m_7562_()
public void
a(brp arg0)
die(DamageSource arg0)
method_6078(class_1282 arg0)
onDeath(DamageSource arg0)
m_6667_(C_489_ arg0)
public boolean
gx()
canJoinPatrol()
method_16472()
hasNoRaid()
m_7492_()
public void
a(cok arg0)
setCurrentRaid(Raid arg0)
method_16476(class_3765 arg0)
setRaid(Raid raid)
m_37851_(C_1185_ arg0)
public Raid
gE()
getCurrentRaid()
method_16478()
getRaid()
m_37885_()
public boolean
gF()
isCaptain()
method_58646()
isCaptain()
m_324198_()
public boolean
gG()
hasRaid()
method_58647()
hasRaid()
m_320449_()
public boolean
gH()
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
gI()
getWave()
method_16486()
getWave()
m_37887_()
public boolean
gJ()
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(us arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(us arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
protected void
b(cjj 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
W()
requiresCustomPersistence()
method_17326()
cannotDespawn()
m_8023_()
public int
gK()
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(brp 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(dcp arg0, bqu arg1, btv arg2, buk arg3)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, MobSpawnType arg2, SpawnGroupData arg3)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
m_6518_(C_1618_ p_37857_, C_469_ p_37858_, C_529_ p_37859_, C_542_ arg3)
public abstract SoundEvent
ae_()
getCelebrateSound()
method_20033()
getCelebratingSound()
m_7930_()