net.minecraft.world.entity.monster

public abstract class PatrollingMonster

extends Monster

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Enemy

brr
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
u()
registerGoals()
method_5959()
initGoals()
m_8099_()
public void
b(pj arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(pj arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public double
bs()
getMyRidingOffset()
method_5678()
getHeightOffset()
m_6049_()
public boolean
fK()
canBeLeader()
method_16485()
canLead()
m_7490_()
public SpawnGroupData
a(chm arg0, bah arg1, bcg arg2, bcu arg3, pj 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_33050_, C_469_ p_33051_, C_529_ p_33052_, C_542_ p_33053_, C_4917_ arg4)
public static boolean
b(bbr<? extends brr> arg0, cgy arg1, bcg arg2, gt arg3, amn 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
g(gt arg0)
setPatrolTarget(BlockPos arg0)
method_16216(class_2338 arg0)
setPatrolTarget(BlockPos targetPos)
m_33070_(C_4675_ arg0)
public BlockPos
fL()
getPatrolTarget()
method_16215()
getPatrolTarget()
m_33065_()
public boolean
fM()
hasPatrolTarget()
method_16220()
hasPatrolTarget()
m_33066_()
public void
v(boolean arg0)
setPatrolLeader(boolean arg0)
method_16217(boolean arg0)
setPatrolLeader(boolean patrolLeader)
m_33075_(boolean arg0)
public boolean
fP()
isPatrolLeader()
method_16219()
isPatrolLeader()
m_33067_()
public boolean
fQ()
canJoinPatrol()
method_16472()
hasNoRaid()
m_7492_()
public void
fR()
findPatrolTarget()
method_16218()
setRandomPatrolTarget()
m_33068_()
protected boolean
fS()
isPatrolling()
method_16915()
isRaidCenterSet()
m_33069_()
protected void
w(boolean arg0)
setPatrolling(boolean arg0)
method_22332(boolean arg0)
setPatrolling(boolean patrolling)
m_33077_(boolean arg0)