net.minecraft.world.entity.ai.sensing

public class MobSensor<T extends LivingEntity>

extends Sensor<T>

cgf
net.minecraft.world.entity.ai.sensing.MobSensor
net.minecraft.class_9068
net.minecraft.unmapped.C_pykemoio
net.minecraft.entity.ai.brain.sensor.ArmadilloScareDetectedSensor
net.minecraft.entity.ai.brain.sensor.MobSensor
net.minecraft.src.C_313422_
net.minecraft.world.entity.ai.sensing.IsInWaterSensor

Field summary

Modifier and TypeField
private final BiPredicate<T, LivingEntity>
a
mobTest
field_47764
f_akgvxyyt
threateningEntityPredicate
mobPredicate
f_316153_
private final Predicate<T>
b
readyTest
field_47765
f_avypudcx
canRollUpPredicate
readyPredicate
f_314543_
private final MemoryModuleType<Boolean>
c
toSet
field_47766
f_hsjcsfmo
memoryModuleType
moduleToSet
f_315603_
private final int
d
memoryTimeToLive
field_47767
f_ldvjkelu
expiry
expiry
f_316537_

Constructor summary

ModifierConstructor
public (int senseInterval, BiPredicate<T, LivingEntity> threateningEntityPredicate, Predicate<T> canRollUpPredicate, MemoryModuleType<Boolean> memoryModuleType, int expiry)

Method summary

Modifier and TypeMethod
protected void
a(ash arg0, T arg1)
doTick(ServerLevel arg0, T arg1)
method_19101(class_3218 arg0, T arg1)
m_ssofdmup(C_bdwnwhiu arg0, T arg1)
sense(ServerWorld arg0, T arg1)
sense(ServerWorld arg0, T arg1)
m_5578_(C_12_ p_336316_, T arg1)
public Set<MemoryModuleType<?>>
a()
requires()
method_19099()
m_ttqnpjnq()
getOutputMemoryModules()
getOutputMemoryModules()
m_7163_()
public void
a(T arg0)
checkForMobsNearby(T arg0)
method_55702(T arg0)
m_mpyajcyz(T arg0)
tryDetectThreat(T entity)
checkForMobsNearby(T entity)
m_321981_(T arg0)
public void
b(T arg0)
mobDetected(T arg0)
method_55704(T arg0)
m_jcpofxse(T arg0)
onDetected(T entity)
onMobDetected(T entity)
m_323189_(T arg0)
public void
c(T arg0)
clearMemory(T arg0)
method_55705(T arg0)
m_xorrrohj(T arg0)
clear(T entity)
clearMemory(T entity)
m_320330_(T arg0)