net.minecraft.world.entity.raid

public abstract class Raider

extends PatrollingMonster

All mapped superinterfaces:

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

coj
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
cc
canJoinRaid
field_16602
ableToJoinRaid
f_37833_
private int
cd
ticksOutsideRaid
field_16997
outOfRaidCounter
f_37834_

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
B()
registerGoals()
method_5959()
initGoals()
m_8099_()
protected void
a(aka$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(aqu arg0, int arg1, boolean arg2)
applyRaidBuffs(ServerLevel arg0, int arg1, boolean arg2)
method_16484(class_3218 arg0, int arg1, boolean arg2)
addBonusForWave(ServerWorld world, int wave, boolean unused)
m_7895_(C_12_ p_37844_, int p_37845_, boolean arg2)
public boolean
gx()
canJoinRaid()
method_16481()
canJoinRaid()
m_37882_()
public void
A(boolean arg0)
setCanJoinRaid(boolean arg0)
method_16480(boolean arg0)
setAbleToJoinRaid(boolean ableToJoinRaid)
m_37897_(boolean arg0)
public void
m_()
aiStep()
method_6007()
tickMovement()
m_8107_()
protected void
gp()
updateNoActionTime()
method_16827()
updateDespawnCounter()
m_7562_()
public void
a(brk arg0)
die(DamageSource arg0)
method_6078(class_1282 arg0)
onDeath(DamageSource arg0)
m_6667_(C_489_ arg0)
public boolean
gr()
canJoinPatrol()
method_16472()
hasNoRaid()
m_7492_()
public void
a(coi arg0)
setCurrentRaid(Raid arg0)
method_16476(class_3765 arg0)
setRaid(Raid raid)
m_37851_(C_1185_ arg0)
public Raid
gy()
getCurrentRaid()
method_16478()
getRaid()
m_37885_()
public boolean
gz()
isCaptain()
method_58646()
isCaptain()
m_324198_()
public boolean
gA()
hasRaid()
method_58647()
hasRaid()
m_320449_()
public boolean
gB()
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
gC()
getWave()
method_16486()
getWave()
m_37887_()
public boolean
gD()
isCelebrating()
method_20034()
isCelebrating()
m_37888_()
public void
B(boolean arg0)
setCelebrating(boolean arg0)
method_20036(boolean arg0)
setCelebrating(boolean celebrating)
m_37899_(boolean arg0)
public void
b(ub arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(ub arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
protected void
b(cjh 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
Y()
requiresCustomPersistence()
method_17326()
cannotDespawn()
m_8023_()
public int
gE()
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(brk 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(ddl arg0, bqp arg1, btr arg2, buh 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
ai_()
getCelebrateSound()
method_20033()
getCelebratingSound()
m_7930_()