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 named net/minecraft/entity/ai/brain/sensor/FrogAttackablesSensor
intermediary net/minecraft/class_7100
official cdl
-
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 named RANGE
Lnet/minecraft/entity/ai/brain/sensor/FrogAttackablesSensor;RANGE:F
intermediary field_37444
Lnet/minecraft/class_7100;field_37444:F
official a
Lcdl;a:F
-
-
Constructor Details
-
FrogAttackablesSensor
public FrogAttackablesSensor()
-
-
Method Details
-
matches
- Specified by:
matches
in classNearestVisibleLivingEntitySensor
- Mappings:
Namespace Name Mixin selector named matches
Lnet/minecraft/entity/ai/brain/sensor/NearestVisibleLivingEntitySensor;matches(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/LivingEntity;)Z
intermediary method_35148
Lnet/minecraft/class_6045;method_35148(Lnet/minecraft/class_1309;Lnet/minecraft/class_1309;)Z
official a
Lcdu;a(Lbtq;Lbtq;)Z
-
isTargetUnreachable
- Mappings:
Namespace Name Mixin selector named isTargetUnreachable
Lnet/minecraft/entity/ai/brain/sensor/FrogAttackablesSensor;isTargetUnreachable(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/LivingEntity;)Z
intermediary method_44331
Lnet/minecraft/class_7100;method_44331(Lnet/minecraft/class_1309;Lnet/minecraft/class_1309;)Z
official e
Lcdl;e(Lbtq;Lbtq;)Z
-
getOutputMemoryModule
- Specified by:
getOutputMemoryModule
in classNearestVisibleLivingEntitySensor
- Mappings:
Namespace Name Mixin selector named getOutputMemoryModule
Lnet/minecraft/entity/ai/brain/sensor/NearestVisibleLivingEntitySensor;getOutputMemoryModule()Lnet/minecraft/entity/ai/brain/MemoryModuleType;
intermediary method_35150
Lnet/minecraft/class_6045;method_35150()Lnet/minecraft/class_4140;
official b
Lcdu;b()Lccu;
-