net.minecraft.world.entity.raid

public abstract class Raider

extends PatrollingMonster

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Enemy

blk
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
v()
registerGoals()
method_5959()
initGoals()
m_8099_()
initPathfinder()
protected void
a_()
defineSynchedData()
method_5693()
initDataTracker()
m_8097_()
initDatawatcher()
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
fJ()
canJoinRaid()
method_16481()
canJoinRaid()
m_37882_()
isCanJoinRaid()
public void
y(boolean arg0)
setCanJoinRaid(boolean arg0)
method_16480(boolean arg0)
setAbleToJoinRaid(boolean ableToJoinRaid)
m_37897_(boolean arg0)
setCanJoinRaid(boolean arg0)
public void
u_()
aiStep()
method_6007()
tickMovement()
m_8107_()
movementTick()
protected void
fA()
updateNoActionTime()
method_16827()
updateDespawnCounter()
m_7562_()
public void
a(asq arg0)
die(DamageSource arg0)
method_6078(class_1282 arg0)
onDeath(DamageSource arg0)
m_6667_(C_489_ arg0)
die(DamageSource arg0)
public boolean
fD()
canJoinPatrol()
method_16472()
hasNoRaid()
m_7492_()
public void
a(blj arg0)
setCurrentRaid(Raid arg0)
method_16476(class_3765 arg0)
setRaid(Raid raid)
m_37851_(C_1185_ arg0)
public Raid
fK()
getCurrentRaid()
method_16478()
getRaid()
m_37885_()
public boolean
fL()
hasActiveRaid()
method_16482()
hasActiveRaid()
m_37886_()
public void
a(int arg0)
setWave(int arg0)
method_16477(int arg0)
setWave(int wave)
m_37842_(int arg0)
public int
fM()
getWave()
method_16486()
getWave()
m_37887_()
public boolean
fN()
isCelebrating()
method_20034()
isCelebrating()
m_37888_()
public void
z(boolean arg0)
setCelebrating(boolean arg0)
method_20036(boolean arg0)
setCelebrating(boolean celebrating)
m_37899_(boolean arg0)
public void
b(na arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
saveData(NBTTagCompound arg0)
public void
a(na arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
loadData(NBTTagCompound arg0)
protected void
b(bhd 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)
isTypeNotPersistent(double arg0)
public boolean
O()
requiresCustomPersistence()
method_17326()
cannotDespawn()
m_8023_()
isSpecialPersistence()
public int
fO()
getTicksOutsideRaid()
method_16836()
getOutOfRaidCounter()
m_37889_()
public void
b(int arg0)
setTicksOutsideRaid(int arg0)
method_16835(int arg0)
setOutOfRaidCounter(int counter)
m_37863_(int arg0)
public boolean
a(asq 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)
damageEntity(DamageSource arg0, float arg1)
public SpawnGroupData
a(bxe arg0, arz arg1, aty arg2, aum arg3, na 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)
prepare(WorldAccess arg0, DifficultyDamageScaler arg1, EnumMobSpawn arg2, GroupDataEntity arg3, NBTTagCompound arg4)
public abstract SoundEvent
t()
getCelebrateSound()
method_20033()
getCelebratingSound()
m_7930_()