net.minecraft.world.entity.monster

public abstract class PatrollingMonster

extends Monster

All mapped superinterfaces:

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

cma
net.minecraft.world.entity.monster.PatrollingMonster
net.minecraft.class_3732
net.minecraft.unmapped.C_lywhhcqo
net.minecraft.entity.mob.PatrolEntity
net.minecraft.entity.mob.PatrolEntity
net.minecraft.src.C_1028_
net.minecraft.world.entity.monster.EntityMonsterPatrolling

Field summary

Modifier and TypeField
private BlockPos
a
patrolTarget
field_16478
f_qgaaxvgt
patrolTarget
patrolTarget
f_33042_
private boolean
b
patrolLeader
field_16479
f_gabjxeyc
patrolLeader
patrolLeader
f_33043_
private boolean
c
patrolling
field_16477
f_moatzrpo
patrolling
patrolling
f_33044_

Constructor summary

ModifierConstructor
protected (EntityType<? extends PatrollingMonster> p_33047_, Level world)

Method summary

Modifier and TypeMethod
protected void
E()
registerGoals()
method_5959()
m_itjttsuo()
initGoals()
initGoals()
m_8099_()
public void
b(tq arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(tq arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public boolean
gs()
canBeLeader()
method_16485()
m_zmfgqqak()
canLead()
canLead()
m_7490_()
public SpawnGroupData
a(dha arg0, bsj arg1, bus arg2, bwb arg3)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, EntitySpawnReason arg2, SpawnGroupData arg3)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3)
m_oxrxxqyz(C_jmnzlycd arg0, C_jiailwzt arg1, C_bhyaesep arg2, C_lsmqixfx arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
m_6518_(C_1618_ p_33050_, C_469_ p_370139_, C_345845_ p_33052_, C_542_ arg3)
public static boolean
b(but<? extends cma> arg0, dgk arg1, bus arg2, ji arg3, azh arg4)
checkPatrollingMonsterSpawnRules(EntityType<? extends PatrollingMonster> arg0, LevelAccessor arg1, EntitySpawnReason arg2, BlockPos arg3, RandomSource arg4)
method_20739(class_1299<? extends class_3732> arg0, class_1936 arg1, class_3730 arg2, class_2338 arg3, class_5819 arg4)
m_sqstpxwu(C_ogavsvbr<? extends C_lywhhcqo> arg0, C_vdvbsyle arg1, C_bhyaesep arg2, C_hynzadkk arg3, C_rlomrsco arg4)
canSpawn(EntityType<? extends PatrolEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
canSpawn(EntityType<? extends PatrolEntity> type, WorldAccess world, SpawnReason reason, BlockPos pos, RandomGenerator random)
m_219025_(C_513_<? extends C_1028_> p_219026_, C_1598_ p_219027_, C_345845_ p_363098_, C_4675_ p_219029_, C_212974_ p_219030_)
public boolean
h(double arg0)
removeWhenFarAway(double arg0)
method_5974(double arg0)
m_dciqpbdm(double arg0)
canImmediatelyDespawn(double arg0)
canImmediatelyDespawn(double arg0)
m_6785_(double arg0)
public void
h(ji arg0)
setPatrolTarget(BlockPos arg0)
method_16216(class_2338 arg0)
m_womerzzy(C_hynzadkk arg0)
setPatrolTarget(BlockPos targetPos)
setPatrolTarget(BlockPos targetPos)
m_33070_(C_4675_ arg0)
public BlockPos
gt()
getPatrolTarget()
method_16215()
m_adxqfnwy()
getPatrolTarget()
getPatrolTarget()
m_33065_()
public boolean
gu()
hasPatrolTarget()
method_16220()
m_syczdaxf()
hasPatrolTarget()
hasPatrolTarget()
m_33066_()
public void
x(boolean arg0)
setPatrolLeader(boolean arg0)
method_16217(boolean arg0)
m_ibduffgp(boolean arg0)
setPatrolLeader(boolean patrolLeader)
setPatrolLeader(boolean patrolLeader)
m_33075_(boolean arg0)
public boolean
gv()
isPatrolLeader()
method_16219()
m_izkipniq()
isPatrolLeader()
isPatrolLeader()
m_33067_()
public boolean
gy()
canJoinPatrol()
method_16472()
m_lbnwsucw()
hasNoRaid()
hasNoRaid()
m_7492_()
public void
gz()
findPatrolTarget()
method_16218()
m_qoyleckx()
setRandomPatrolTarget()
setRandomPatrolTarget()
m_33068_()
protected boolean
gA()
isPatrolling()
method_16915()
m_vibgzzha()
isRaidCenterSet()
isRaidCenterSet()
m_33069_()
protected void
y(boolean arg0)
setPatrolling(boolean arg0)
method_22332(boolean arg0)
m_cdogmadp(boolean arg0)
setPatrolling(boolean patrolling)
setPatrolling(boolean patrolling)
m_33077_(boolean arg0)