net.minecraft.world.entity.monster

public abstract class PatrollingMonster

extends Monster

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Enemy

bme
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(ok arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(ok arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public double
bp()
getMyRidingOffset()
method_5678()
getHeightOffset()
m_6049_()
public boolean
fA()
canBeLeader()
method_16485()
canLead()
m_7490_()
public SpawnGroupData
a(cbk arg0, awf arg1, ayc arg2, ayq arg3, ok 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(axo<? extends bme> arg0, caw arg1, ayc arg2, gj arg3, Random arg4)
checkPatrollingMonsterSpawnRules(EntityType<? extends PatrollingMonster> arg0, LevelAccessor arg1, MobSpawnType arg2, BlockPos arg3, Random arg4)
method_20739(class_1299<? extends class_3732> arg0, class_1936 arg1, class_3730 arg2, class_2338 arg3, Random arg4)
canSpawn(EntityType<? extends PatrolEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
m_33056_(C_513_<? extends C_1028_> p_33057_, C_1598_ p_33058_, C_529_ p_33059_, C_4675_ p_33060_, Random p_33061_)
public boolean
h(double arg0)
removeWhenFarAway(double arg0)
method_5974(double arg0)
canImmediatelyDespawn(double arg0)
m_6785_(double arg0)
public void
g(gj arg0)
setPatrolTarget(BlockPos arg0)
method_16216(class_2338 arg0)
setPatrolTarget(BlockPos targetPos)
m_33070_(C_4675_ arg0)
public BlockPos
fB()
getPatrolTarget()
method_16215()
getPatrolTarget()
m_33065_()
public boolean
fC()
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
fF()
isPatrolLeader()
method_16219()
isPatrolLeader()
m_33067_()
public boolean
fG()
canJoinPatrol()
method_16472()
hasNoRaid()
m_7492_()
public void
fH()
findPatrolTarget()
method_16218()
setRandomPatrolTarget()
m_33068_()
protected boolean
fI()
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)