History - net.minecraft.world.entity.ai.sensing.Sensor
1.21.2
Names
cgp
net.minecraft.world.entity.ai.sensing.Sensor
net.minecraft.class_4148
net.minecraft.unmapped.C_brvrbzqh
net.minecraft.entity.ai.brain.sensor.Sensor
net.minecraft.entity.ai.brain.sensor.Sensor
net.minecraft.src.C_776_
net.minecraft.world.entity.ai.sensing.EntitySenses
Fields
RandomSource: a, RANDOM, field_19294, f_eigjameu, RANDOM, RANDOM, f_26792_
int: b, DEFAULT_SCAN_RATE, field_30259, f_kfqocqmk, DEFAULT_RUN_TIME, DEFAULT_RUN_TIME, f_148309_
int: c, DEFAULT_TARGETING_RANGE, field_30258, f_tqpujoog, BASE_MAX_DISTANCE, f_348615_
TargetingConditions: d, TARGET_CONDITIONS, field_26630, f_cntwatpt, TARGET_PREDICATE, TARGET_PREDICATE, f_26793_
TargetingConditions: e, TARGET_CONDITIONS_IGNORE_INVISIBILITY_TESTING, field_26631, f_bfcyfafb, TARGET_PREDICATE_IGNORE_DISTANCE_SCALING, TARGET_PREDICATE_IGNORE_DISTANCE_SCALING, f_26794_
TargetingConditions: f, ATTACK_TARGET_CONDITIONS, field_33762, f_savrjxrj, ATTACKABLE_TARGET_PREDICATE, ATTACKABLE_TARGET_PREDICATE, f_148310_
TargetingConditions: g, ATTACK_TARGET_CONDITIONS_IGNORE_INVISIBILITY_TESTING, field_33763, f_hsvrjsuq, ATTACKABLE_TARGET_PREDICATE_IGNORE_DISTANCE_SCALING, ATTACKABLE_TARGET_PREDICATE_IGNORE_DISTANCE_SCALING, f_148311_
TargetingConditions: h, ATTACK_TARGET_CONDITIONS_IGNORE_LINE_OF_SIGHT, field_34050, f_avedcbxv, ATTACKABLE_TARGET_PREDICATE_IGNORE_VISIBILITY, ATTACKABLE_TARGET_PREDICATE_IGNORE_VISIBILITY, f_182375_
TargetingConditions: i, ATTACK_TARGET_CONDITIONS_IGNORE_INVISIBILITY_AND_LINE_OF_SIGHT, field_34051, f_olgwztxk, ATTACKABLE_TARGET_PREDICATE_IGNORE_VISIBILITY_OR_DISTANCE_SCALING, ATTACKABLE_TARGET_PREDICATE_IGNORE_VISIBILITY_OR_DISTANCE_SCALING, f_182376_
int: j, scanRate, field_18464, f_dadgqjbx, senseInterval, senseInterval, f_26795_
long: k, timeToTick, field_18463, f_gdnpaauu, lastSenseTime, lastSenseTime, f_26796_
Constructors
(int)
()
Methods
void (ServerLevel, E): b, tick, method_19100, m_dzzsgvsj, tick, tick, m_26806_
void (E): a, updateTargetingConditionRanges, method_61444, m_oaooofgj, updateRange, m_oaooofgj, m_352098_
void (ServerLevel, E): a, doTick, method_19101, m_ssofdmup, sense, sense, m_5578_
Set<MemoryModuleType<?>> (): a, requires, method_19099, m_ttqnpjnq, getOutputMemoryModules, getOutputMemoryModules, m_7163_
boolean (ServerLevel, LivingEntity, LivingEntity): b, isEntityTargetable, method_30954, m_pjqiwcnh, testTargetPredicate, testTargetPredicate, m_26803_
boolean (ServerLevel, LivingEntity, LivingEntity): c, isEntityAttackable, method_36982, m_rtpssfaw, testAttackableTargetPredicate, testAttackableTargetPredicate, m_148312_
BiPredicate<ServerLevel, LivingEntity> (LivingEntity, int): a, wasEntityAttackableLastNTicks, method_61445, m_cqcoyxpn, hasTargetBeenAttackableRecently, m_cqcoyxpn, m_353355_
boolean (ServerLevel, LivingEntity, LivingEntity): d, isEntityAttackableIgnoringLineOfSight, method_37456, m_namfjgwr, testAttackableTargetPredicateIgnoreVisibility, testAttackableTargetPredicateIgnoreVisibility, m_182377_
<T, U> BiPredicate<T, U> (int, BiPredicate<T, U>): a, rememberPositives, method_61443, m_aputesvt, hasPredicatePassedRecently, m_356688_