net.minecraft.world.entity.monster

public abstract class PatrollingMonster

extends Monster

All mapped superinterfaces:

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

cke
net.minecraft.world.entity.monster.PatrollingMonster
net.minecraft.class_3732
net.minecraft.entity.mob.PatrolEntity
net.minecraft.src.C_1028_
net.minecraft.world.entity.monster.EntityMonsterPatrolling

Field summary

Modifier and TypeField
private BlockPos
b
patrolTarget
field_16478
patrolTarget
f_33042_
private boolean
c
patrolLeader
field_16479
patrolLeader
f_33043_
private boolean
d
patrolling
field_16477
patrolling
f_33044_

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
B()
registerGoals()
method_5959()
initGoals()
m_8099_()
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)
public boolean
gl()
canBeLeader()
method_16485()
canLead()
m_7490_()
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_33050_, C_469_ p_33051_, C_529_ p_33052_, C_542_ arg3)
public static boolean
b(bsx<? extends cke> arg0, dcx arg1, btr arg2, jd arg3, ayw arg4)
checkPatrollingMonsterSpawnRules(EntityType<? extends PatrollingMonster> arg0, LevelAccessor arg1, MobSpawnType 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)
canSpawn(EntityType<? extends PatrolEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
m_219025_(C_513_<? extends C_1028_> p_219026_, C_1598_ p_219027_, C_529_ p_219028_, C_4675_ p_219029_, C_212974_ p_219030_)
public boolean
h(double arg0)
removeWhenFarAway(double arg0)
method_5974(double arg0)
canImmediatelyDespawn(double arg0)
m_6785_(double arg0)
public void
h(jd arg0)
setPatrolTarget(BlockPos arg0)
method_16216(class_2338 arg0)
setPatrolTarget(BlockPos targetPos)
m_33070_(C_4675_ arg0)
public BlockPos
gm()
getPatrolTarget()
method_16215()
getPatrolTarget()
m_33065_()
public boolean
gn()
hasPatrolTarget()
method_16220()
hasPatrolTarget()
m_33066_()
public void
x(boolean arg0)
setPatrolLeader(boolean arg0)
method_16217(boolean arg0)
setPatrolLeader(boolean patrolLeader)
m_33075_(boolean arg0)
public boolean
go()
isPatrolLeader()
method_16219()
isPatrolLeader()
m_33067_()
public boolean
gr()
canJoinPatrol()
method_16472()
hasNoRaid()
m_7492_()
public void
gs()
findPatrolTarget()
method_16218()
setRandomPatrolTarget()
m_33068_()
protected boolean
gt()
isPatrolling()
method_16915()
isRaidCenterSet()
m_33069_()
protected void
y(boolean arg0)
setPatrolling(boolean arg0)
method_22332(boolean arg0)
setPatrolling(boolean patrolling)
m_33077_(boolean arg0)