History - net.minecraft.world.entity.ai.sensing.MobSensor

1.21.3

Names

cgg

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.MobSensor

Fields

BiPredicate<T, LivingEntity>: a, mobTest, field_47764, f_akgvxyyt, threateningEntityPredicate, mobPredicate, f_316153_

Predicate<T>: b, readyTest, field_47765, f_avypudcx, canRollUpPredicate, readyPredicate, f_314543_

MemoryModuleType<Boolean>: c, toSet, field_47766, f_hsjcsfmo, memoryModuleType, moduleToSet, f_315603_

int: d, memoryTimeToLive, field_47767, f_ldvjkelu, expiry, expiry, f_316537_

Constructors

(int, BiPredicate<T, LivingEntity>, Predicate<T>, MemoryModuleType<Boolean>, int)

Methods

void (ServerLevel, T): a, doTick, method_19101, m_ssofdmup, sense, sense, m_5578_

Set<MemoryModuleType<?>> (): a, requires, method_19099, m_ttqnpjnq, getOutputMemoryModules, getOutputMemoryModules, m_7163_

void (T): a, checkForMobsNearby, method_55702, m_mpyajcyz, tryDetectThreat, checkForMobsNearby, m_321981_

void (T): b, mobDetected, method_55704, m_jcpofxse, onDetected, onMobDetected, m_323189_

void (T): c, clearMemory, method_55705, m_xorrrohj, clear, clearMemory, m_320330_