net.minecraft.world.entity.raid

public abstract class Raider

extends PatrollingMonster

All mapped superinterfaces:

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

crl
net.minecraft.world.entity.raid.Raider
net.minecraft.class_3763
net.minecraft.entity.raid.RaiderEntity
net.minecraft.world.entity.raid.EntityRaider

Field summary

Modifier and TypeField
protected static final EntityDataAccessor<Boolean>
c
IS_CELEBRATING
field_19032
CELEBRATING
static final Predicate<ItemEntity>
a
ALLOWED_ITEMS
field_16600
OBTAINABLE_OMINOUS_BANNER_PREDICATE
protected Raid
d
raid
field_16599
raid
private int
b
wave
field_16601
wave
private boolean
bZ
canJoinRaid
field_16602
ableToJoinRaid
private int
ca
ticksOutsideRaid
field_16997
outOfRaidCounter

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
B()
registerGoals()
method_5959()
initGoals()
protected void
a(alg$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public abstract void
a(ash 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)
public boolean
gA()
canJoinRaid()
method_16481()
canJoinRaid()
public void
A(boolean arg0)
setCanJoinRaid(boolean arg0)
method_16480(boolean arg0)
setAbleToJoinRaid(boolean ableToJoinRaid)
public void
d_()
aiStep()
method_6007()
tickMovement()
protected void
gs()
updateNoActionTime()
method_16827()
updateDespawnCounter()
public void
a(bua arg0)
die(DamageSource arg0)
method_6078(class_1282 arg0)
onDeath(DamageSource arg0)
public boolean
gu()
canJoinPatrol()
method_16472()
hasNoRaid()
public void
a(crk arg0)
setCurrentRaid(Raid arg0)
method_16476(class_3765 arg0)
setRaid(Raid raid)
public Raid
gB()
getCurrentRaid()
method_16478()
getRaid()
public boolean
gC()
isCaptain()
method_58646()
isCaptain()
public boolean
gD()
hasRaid()
method_58647()
hasRaid()
public boolean
gE()
hasActiveRaid()
method_16482()
hasActiveRaid()
public void
b(int arg0)
setWave(int arg0)
method_16477(int arg0)
setWave(int wave)
public int
gF()
getWave()
method_16486()
getWave()
public boolean
gG()
isCelebrating()
method_20034()
isCelebrating()
public void
B(boolean arg0)
setCelebrating(boolean arg0)
method_20036(boolean arg0)
setCelebrating(boolean celebrating)
public void
b(ux arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(ux arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
protected void
a(ash arg0, cmb arg1)
pickUpItem(ServerLevel arg0, ItemEntity arg1)
method_5949(class_3218 arg0, class_1542 arg1)
loot(ServerWorld arg0, ItemEntity arg1)
public boolean
h(double arg0)
removeWhenFarAway(double arg0)
method_5974(double arg0)
canImmediatelyDespawn(double arg0)
public boolean
W()
requiresCustomPersistence()
method_17326()
cannotDespawn()
public int
gH()
getTicksOutsideRaid()
method_16836()
getOutOfRaidCounter()
public void
c(int arg0)
setTicksOutsideRaid(int arg0)
method_16835(int arg0)
setOutOfRaidCounter(int outOfRaidCounter)
public boolean
a(ash arg0, bua arg1, float arg2)
hurtServer(ServerLevel arg0, DamageSource arg1, float arg2)
method_64397(class_3218 arg0, class_1282 arg1, float arg2)
damage(ServerWorld arg0, DamageSource arg1, float arg2)
public SpawnGroupData
a(dhz arg0, bth arg1, bvq arg2, bwz arg3)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, EntitySpawnReason 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)
public abstract SoundEvent
ak_()
getCelebrateSound()
method_20033()
getCelebratingSound()