net.minecraft.world.entity.monster

public abstract class PatrollingMonster

extends Monster

All mapped superinterfaces:

Nameable, CommandSource, Enemy

bdo
net.minecraft.world.entity.monster.PatrollingMonster
net.minecraft.class_3732
net.minecraft.entity.mob.PatrolEntity
net.minecraft.entity.monster.PatrollerEntity
net.minecraft.server.v1_16_R2.EntityMonsterPatrolling

Field summary

Modifier and TypeField
private BlockPos
b
patrolTarget
field_16478
patrolTarget
field_213639_b
patrolTarget
private boolean
c
patrolLeader
field_16479
patrolLeader
field_213640_c
patrolLeader
private boolean
d
patrolling
field_16477
patrolling
field_213641_d
patrolling

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
o()
registerGoals()
method_5959()
initGoals()
func_184651_r()
initPathfinder()
public void
b(md arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
saveData(NBTTagCompound arg0)
public void
a(md arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
loadData(NBTTagCompound arg0)
public double
ba()
getMyRidingOffset()
method_5678()
getHeightOffset()
func_70033_W()
public boolean
eN()
canBeLeader()
method_16485()
canLead()
func_213637_dY()
public SpawnGroupData
a(bsh arg0, aop arg1, aqm arg2, aqz arg3, md 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, CompoundTag arg4)
func_213386_a(IServerWorld arg0, DifficultyInstance arg1, SpawnReason arg2, ILivingEntityData arg3, CompoundNBT arg4)
prepare(WorldAccess arg0, DifficultyDamageScaler arg1, EnumMobSpawn arg2, GroupDataEntity arg3, NBTTagCompound arg4)
public static boolean
b(aqb<? extends bdo> arg0, brv arg1, aqm arg2, fx 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)
func_223330_b(EntityType<? extends PatrollerEntity> arg0, IWorld arg1, SpawnReason arg2, BlockPos arg3, Random arg4)
public boolean
h(double arg0)
removeWhenFarAway(double arg0)
method_5974(double arg0)
canImmediatelyDespawn(double arg0)
func_213397_c(double arg0)
isTypeNotPersistent(double arg0)
public void
g(fx arg0)
setPatrolTarget(BlockPos arg0)
method_16216(class_2338 arg0)
setPatrolTarget(BlockPos targetPos)
func_213631_g(BlockPos arg0)
setPatrolTarget(BlockPosition arg0)
public BlockPos
eO()
getPatrolTarget()
method_16215()
getPatrolTarget()
func_213638_dZ()
getPatrolTarget()
public boolean
eP()
hasPatrolTarget()
method_16220()
hasPatrolTarget()
func_213632_ea()
public void
t(boolean arg0)
setPatrolLeader(boolean arg0)
method_16217(boolean arg0)
setPatrolLeader(boolean patrolLeader)
func_213635_r(boolean arg0)
setPatrolLeader(boolean arg0)
public boolean
eS()
isPatrolLeader()
method_16219()
isPatrolLeader()
func_213630_eb()
isPatrolLeader()
public boolean
eT()
canJoinPatrol()
method_16472()
hasNoRaid()
func_213634_ed()
public void
eU()
findPatrolTarget()
method_16218()
setRandomPatrolTarget()
func_213636_ee()
protected boolean
eV()
isPatrolling()
method_16915()
isRaidCenterSet()
func_213633_ef()
isPatrolling()
protected void
u(boolean arg0)
setPatrolling(boolean arg0)
method_22332(boolean arg0)
setPatrolling(boolean patrolling)
func_226541_s_(boolean arg0)