net.minecraft.world.entity.monster

public abstract class PatrollingMonster

extends Monster

All mapped superinterfaces:

Nameable, CommandSource, Enemy

awu
net.minecraft.world.entity.monster.PatrollingMonster
net.minecraft.class_3732
net.minecraft.entity.mob.PatrolEntity
net.minecraft.entity.monster.PatrollerEntity
net.minecraft.server.v1_15_R1.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> type, Level arg1)

Method summary

Modifier and TypeMethod
protected void
n()
registerGoals()
method_5959()
initGoals()
func_184651_r()
initPathfinder()
public void
b(jt arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
public void
a(jt arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
public double
aR()
getRidingHeight()
method_5678()
getHeightOffset()
func_70033_W()
public boolean
es()
canBeLeader()
method_16485()
canLead()
func_213637_dY()
public SpawnGroupData
a(bju arg0, ajg arg1, akz arg2, alj arg3, jt arg4)
finalizeSpawn(LevelAccessor arg0, DifficultyInstance arg1, MobSpawnType arg2, SpawnGroupData arg3, CompoundTag arg4)
method_5943(class_1936 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3, class_2487 arg4)
initialize(IWorld arg0, LocalDifficulty arg1, SpawnType arg2, EntityData arg3, CompoundTag arg4)
func_213386_a(IWorld arg0, DifficultyInstance arg1, SpawnReason arg2, ILivingEntityData arg3, CompoundNBT arg4)
prepare(GeneratorAccess arg0, DifficultyDamageScaler arg1, EnumMobSpawn arg2, GroupDataEntity arg3, NBTTagCompound arg4)
public static boolean
b(akr<? extends awu> arg0, bju arg1, akz arg2, fk 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, IWorld world, SpawnType spawnType, 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(fk arg0)
setPatrolTarget(BlockPos arg0)
method_16216(class_2338 arg0)
setPatrolTarget(BlockPos targetPos)
func_213631_g(BlockPos arg0)
setPatrolTarget(BlockPosition arg0)
public BlockPos
et()
getPatrolTarget()
method_16215()
getPatrolTarget()
func_213638_dZ()
getPatrolTarget()
public boolean
eu()
hasPatrolTarget()
method_16220()
hasPatrolTarget()
func_213632_ea()
public void
r(boolean arg0)
setPatrolLeader(boolean arg0)
method_16217(boolean arg0)
setPatrolLeader(boolean patrolLeader)
func_213635_r(boolean arg0)
setPatrolLeader(boolean arg0)
public boolean
ev()
isPatrolLeader()
method_16219()
isPatrolLeader()
func_213630_eb()
isPatrolLeader()
public boolean
ex()
canJoinPatrol()
method_16472()
hasNoRaid()
func_213634_ed()
public void
ey()
findPatrolTarget()
method_16218()
setRandomPatrolTarget()
func_213636_ee()
protected boolean
ez()
isPatrolling()
method_16915()
isRaidCenterSet()
func_213633_ef()
isPatrolling()
protected void
s(boolean arg0)
setPatrolling(boolean arg0)
method_22332(boolean arg0)
func_226541_s_(boolean arg0)