net.minecraft.world.entity.monster

public abstract class PatrollingMonster

extends Monster

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Enemy

bhy
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
v()
registerGoals()
method_5959()
initGoals()
m_8099_()
initPathfinder()
public void
b(na arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
saveData(NBTTagCompound arg0)
public void
a(na arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
loadData(NBTTagCompound arg0)
public double
bk()
getMyRidingOffset()
method_5678()
getHeightOffset()
m_6049_()
public boolean
fw()
canBeLeader()
method_16485()
canLead()
m_7490_()
public SpawnGroupData
a(bxd arg0, ary arg1, atx arg2, aul arg3, na 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)
prepare(WorldAccess arg0, DifficultyDamageScaler arg1, EnumMobSpawn arg2, GroupDataEntity arg3, NBTTagCompound arg4)
public static boolean
b(atj<? extends bhy> arg0, bwq arg1, atx arg2, gg 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)
isTypeNotPersistent(double arg0)
public void
g(gg arg0)
setPatrolTarget(BlockPos arg0)
method_16216(class_2338 arg0)
setPatrolTarget(BlockPos targetPos)
m_33070_(C_4675_ arg0)
setPatrolTarget(BlockPosition arg0)
public BlockPos
fx()
getPatrolTarget()
method_16215()
getPatrolTarget()
m_33065_()
getPatrolTarget()
public boolean
fy()
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)
setPatrolLeader(boolean arg0)
public boolean
fB()
isPatrolLeader()
method_16219()
isPatrolLeader()
m_33067_()
isPatrolLeader()
public boolean
fC()
canJoinPatrol()
method_16472()
hasNoRaid()
m_7492_()
public void
fD()
findPatrolTarget()
method_16218()
setRandomPatrolTarget()
m_33068_()
protected boolean
fE()
isPatrolling()
method_16915()
isRaidCenterSet()
m_33069_()
isPatrolling()
protected void
w(boolean arg0)
setPatrolling(boolean arg0)
method_22332(boolean arg0)
setPatrolling(boolean patrolling)
m_33077_(boolean arg0)