History - net.minecraft.entity.ai.brain.sensor.Sensor

26.3-snapshot-3

Names

Fields

Constructors

Methods

26.3-snapshot-2

Names

Fields

Constructors

Methods

26.3-snapshot-1

Names

Fields

Constructors

Methods

26.2

Names

Fields

Constructors

Methods

26.1.2

Names

Fields

Constructors

Methods

26.1.1

Names

Fields

Constructors

Methods

26.1

Names

Fields

Random: RANDOM, field_19294, RANDOM

Constructors

Methods

boolean (BiPredicate, AtomicInteger, int, Object, Object): lambda$rememberPositives$1, method_61447, method_61447

boolean (BiPredicate, AtomicInteger, int, Object, Object): lambda$rememberPositives$0, method_61447, method_61447

void (Random): randomlyDelayStart, method_1_1753, initializeLastSenseTime

1.21.11_unobfuscated

Names

net.minecraft.world.entity.ai.sensing.Sensor

net.minecraft.class_4148

net.minecraft.entity.ai.brain.sensor.Sensor

Fields

Random: RANDOM, field_19294, RANDOM

int: DEFAULT_SCAN_RATE, field_30259, DEFAULT_RUN_TIME

int: DEFAULT_TARGETING_RANGE, field_30258, BASE_MAX_DISTANCE

TargetPredicate: TARGET_CONDITIONS, field_26630, TARGET_PREDICATE

TargetPredicate: TARGET_CONDITIONS_IGNORE_INVISIBILITY_TESTING, field_26631, TARGET_PREDICATE_IGNORE_DISTANCE_SCALING

TargetPredicate: ATTACK_TARGET_CONDITIONS, field_33762, ATTACKABLE_TARGET_PREDICATE

TargetPredicate: ATTACK_TARGET_CONDITIONS_IGNORE_INVISIBILITY_TESTING, field_33763, ATTACKABLE_TARGET_PREDICATE_IGNORE_DISTANCE_SCALING

TargetPredicate: ATTACK_TARGET_CONDITIONS_IGNORE_LINE_OF_SIGHT, field_34050, ATTACKABLE_TARGET_PREDICATE_IGNORE_VISIBILITY

TargetPredicate: ATTACK_TARGET_CONDITIONS_IGNORE_INVISIBILITY_AND_LINE_OF_SIGHT, field_34051, ATTACKABLE_TARGET_PREDICATE_IGNORE_VISIBILITY_OR_DISTANCE_SCALING

int: scanRate, field_18464, senseInterval

long: timeToTick, field_18463, lastSenseTime

Constructors

(int)

()

Methods

void (ServerWorld, E): tick, method_19100, tick

void (E): updateTargetingConditionRanges, method_61444, updateRange

void (ServerWorld, E): doTick, method_19101, sense

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

boolean (ServerWorld, LivingEntity, LivingEntity): isEntityTargetable, method_30954, testTargetPredicate

boolean (ServerWorld, LivingEntity, LivingEntity): isEntityAttackable, method_36982, testAttackableTargetPredicate

BiPredicate<ServerWorld, LivingEntity> (LivingEntity, int): wasEntityAttackableLastNTicks, method_61445, hasTargetBeenAttackableRecently

boolean (ServerWorld, LivingEntity, LivingEntity): isEntityAttackableIgnoringLineOfSight, method_37456, testAttackableTargetPredicateIgnoreVisibility

<T, U> BiPredicate<T, U> (int, BiPredicate<T, U>): rememberPositives, method_61443, hasPredicatePassedRecently

boolean (BiPredicate, AtomicInteger, int, Object, Object): lambda$rememberPositives$1, method_61447, method_61447

boolean (LivingEntity, ServerWorld, LivingEntity): lambda$wasEntityAttackableLastNTicks$0, method_61446, method_61446