Class AxolotlAttackablesSensor
java.lang.Object
net.minecraft.entity.ai.brain.sensor.Sensor<LivingEntity>
net.minecraft.entity.ai.brain.sensor.NearestVisibleLivingEntitySensor
net.minecraft.entity.ai.brain.sensor.AxolotlAttackablesSensor
- Mappings:
Namespace Name official bpnintermediary net/minecraft/class_6044named net/minecraft/entity/ai/brain/sensor/AxolotlAttackablesSensor
-
Field Summary
FieldsFields inherited from class net.minecraft.entity.ai.brain.sensor.Sensor
BASE_MAX_DISTANCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate booleancanHunt(LivingEntity axolotl, LivingEntity target) protected MemoryModuleType<LivingEntity>private booleanisAlwaysHostileTo(LivingEntity axolotl) private booleanisInRange(LivingEntity axolotl, 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
-
TARGET_RANGE
public static final float TARGET_RANGE- See Also:
- Mappings:
Namespace Name Mixin selector official aLbpn;a:Fintermediary field_30248Lnet/minecraft/class_6044;field_30248:Fnamed TARGET_RANGELnet/minecraft/entity/ai/brain/sensor/AxolotlAttackablesSensor;TARGET_RANGE:F
-
-
Constructor Details
-
AxolotlAttackablesSensor
public AxolotlAttackablesSensor()
-
-
Method Details
-
matches
- Specified by:
matchesin classNearestVisibleLivingEntitySensor- Mappings:
Namespace Name Mixin selector official aLbpx;a(Lbfx;Lbfx;)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
-
canHunt
- Mappings:
Namespace Name Mixin selector official eLbpn;e(Lbfx;Lbfx;)Zintermediary method_35144Lnet/minecraft/class_6044;method_35144(Lnet/minecraft/class_1309;Lnet/minecraft/class_1309;)Znamed canHuntLnet/minecraft/entity/ai/brain/sensor/AxolotlAttackablesSensor;canHunt(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/LivingEntity;)Z
-
isAlwaysHostileTo
- Mappings:
Namespace Name Mixin selector official bLbpn;b(Lbfx;)Zintermediary method_35145Lnet/minecraft/class_6044;method_35145(Lnet/minecraft/class_1309;)Znamed isAlwaysHostileToLnet/minecraft/entity/ai/brain/sensor/AxolotlAttackablesSensor;isAlwaysHostileTo(Lnet/minecraft/entity/LivingEntity;)Z
-
isInRange
- Mappings:
Namespace Name Mixin selector official fLbpn;f(Lbfx;Lbfx;)Zintermediary method_35146Lnet/minecraft/class_6044;method_35146(Lnet/minecraft/class_1309;Lnet/minecraft/class_1309;)Znamed isInRangeLnet/minecraft/entity/ai/brain/sensor/AxolotlAttackablesSensor;isInRange(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/LivingEntity;)Z
-
getOutputMemoryModule
- Specified by:
getOutputMemoryModulein classNearestVisibleLivingEntitySensor- Mappings:
Namespace Name Mixin selector official bLbpx;b()Lboz;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;
-