Class FrogAttackablesSensor
java.lang.Object
net.minecraft.entity.ai.brain.sensor.Sensor<LivingEntity>
net.minecraft.entity.ai.brain.sensor.NearestVisibleLivingEntitySensor
net.minecraft.entity.ai.brain.sensor.FrogAttackablesSensor
- Mappings:
Namespace Name official bpl
intermediary net/minecraft/class_7100
named net/minecraft/entity/ai/brain/sensor/FrogAttackablesSensor
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.brain.sensor.Sensor
BASE_MAX_DISTANCE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected MemoryModuleType<LivingEntity>
private boolean
isTargetUnreachable
(LivingEntity entity, LivingEntity target) protected boolean
matches
(LivingEntity entity, LivingEntity target) Methods inherited from class net.minecraft.entity.ai.brain.sensor.NearestVisibleLivingEntitySensor
getOutputMemoryModules, getVisibleLivingEntities, sense
Methods inherited from class net.minecraft.entity.ai.brain.sensor.Sensor
testAttackableTargetPredicate, testAttackableTargetPredicateIgnoreVisibility, testTargetPredicate, tick
-
Field Details
-
RANGE
public static final float RANGE- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lbpl;a:F
intermediary field_37444
Lnet/minecraft/class_7100;field_37444:F
named RANGE
Lnet/minecraft/entity/ai/brain/sensor/FrogAttackablesSensor;RANGE:F
-
-
Constructor Details
-
FrogAttackablesSensor
public FrogAttackablesSensor()
-
-
Method Details
-
matches
- Specified by:
matches
in classNearestVisibleLivingEntitySensor
- Mappings:
Namespace Name Mixin selector official a
Lbpt;a(Lbft;Lbft;)Z
intermediary method_35148
Lnet/minecraft/class_6045;method_35148(Lnet/minecraft/class_1309;Lnet/minecraft/class_1309;)Z
named matches
Lnet/minecraft/entity/ai/brain/sensor/NearestVisibleLivingEntitySensor;matches(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/LivingEntity;)Z
-
isTargetUnreachable
- Mappings:
Namespace Name Mixin selector official e
Lbpl;e(Lbft;Lbft;)Z
intermediary method_44331
Lnet/minecraft/class_7100;method_44331(Lnet/minecraft/class_1309;Lnet/minecraft/class_1309;)Z
named isTargetUnreachable
Lnet/minecraft/entity/ai/brain/sensor/FrogAttackablesSensor;isTargetUnreachable(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/LivingEntity;)Z
-
getOutputMemoryModule
- Specified by:
getOutputMemoryModule
in classNearestVisibleLivingEntitySensor
- Mappings:
Namespace Name Mixin selector official b
Lbpt;b()Lbov;
intermediary method_35150
Lnet/minecraft/class_6045;method_35150()Lnet/minecraft/class_4140;
named getOutputMemoryModule
Lnet/minecraft/entity/ai/brain/sensor/NearestVisibleLivingEntitySensor;getOutputMemoryModule()Lnet/minecraft/entity/ai/brain/MemoryModuleType;
-