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 bkpintermediary net/minecraft/class_7100named net/minecraft/entity/ai/brain/sensor/FrogAttackablesSensor
-
Field Summary
FieldsFields inherited from class net.minecraft.entity.ai.brain.sensor.Sensor
BASE_MAX_DISTANCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected MemoryModuleType<LivingEntity>private booleanisTargetUnreachable(LivingEntity entity, LivingEntity target) protected booleanmatches(LivingEntity entity, LivingEntity target) Methods inherited from class net.minecraft.entity.ai.brain.sensor.NearestVisibleLivingEntitySensor
getOutputMemoryModules, getVisibleLivingEntities, senseMethods 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 aLbkp;a:Fintermediary field_37444Lnet/minecraft/class_7100;field_37444:Fnamed RANGELnet/minecraft/entity/ai/brain/sensor/FrogAttackablesSensor;RANGE:F
-
-
Constructor Details
-
FrogAttackablesSensor
public FrogAttackablesSensor()
-
-
Method Details
-
matches
- Specified by:
matchesin classNearestVisibleLivingEntitySensor- Mappings:
Namespace Name Mixin selector official aLbkx;a(Lbbh;Lbbh;)Zintermediary method_35148Lnet/minecraft/class_6045;method_35148(Lnet/minecraft/class_1309;Lnet/minecraft/class_1309;)Znamed matchesLnet/minecraft/entity/ai/brain/sensor/NearestVisibleLivingEntitySensor;matches(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/LivingEntity;)Z
-
isTargetUnreachable
- Mappings:
Namespace Name Mixin selector official eLbkp;e(Lbbh;Lbbh;)Zintermediary method_44331Lnet/minecraft/class_7100;method_44331(Lnet/minecraft/class_1309;Lnet/minecraft/class_1309;)Znamed isTargetUnreachableLnet/minecraft/entity/ai/brain/sensor/FrogAttackablesSensor;isTargetUnreachable(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/LivingEntity;)Z
-
getOutputMemoryModule
- Specified by:
getOutputMemoryModulein classNearestVisibleLivingEntitySensor- Mappings:
Namespace Name Mixin selector official bLbkx;b()Lbjz;intermediary method_35150Lnet/minecraft/class_6045;method_35150()Lnet/minecraft/class_4140;named getOutputMemoryModuleLnet/minecraft/entity/ai/brain/sensor/NearestVisibleLivingEntitySensor;getOutputMemoryModule()Lnet/minecraft/entity/ai/brain/MemoryModuleType;
-