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 bpn
intermediary net/minecraft/class_6044
named net/minecraft/entity/ai/brain/sensor/AxolotlAttackablesSensor
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.brain.sensor.Sensor
BASE_MAX_DISTANCE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate boolean
canHunt
(LivingEntity axolotl, LivingEntity target) protected MemoryModuleType<LivingEntity>
private boolean
isAlwaysHostileTo
(LivingEntity axolotl) private boolean
isInRange
(LivingEntity axolotl, 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
-
TARGET_RANGE
public static final float TARGET_RANGE- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lbpn;a:F
intermediary field_30248
Lnet/minecraft/class_6044;field_30248:F
named TARGET_RANGE
Lnet/minecraft/entity/ai/brain/sensor/AxolotlAttackablesSensor;TARGET_RANGE:F
-
-
Constructor Details
-
AxolotlAttackablesSensor
public AxolotlAttackablesSensor()
-
-
Method Details
-
matches
- Specified by:
matches
in classNearestVisibleLivingEntitySensor
- Mappings:
Namespace Name Mixin selector official a
Lbpx;a(Lbfx;Lbfx;)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
-
canHunt
- Mappings:
Namespace Name Mixin selector official e
Lbpn;e(Lbfx;Lbfx;)Z
intermediary method_35144
Lnet/minecraft/class_6044;method_35144(Lnet/minecraft/class_1309;Lnet/minecraft/class_1309;)Z
named canHunt
Lnet/minecraft/entity/ai/brain/sensor/AxolotlAttackablesSensor;canHunt(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/LivingEntity;)Z
-
isAlwaysHostileTo
- Mappings:
Namespace Name Mixin selector official b
Lbpn;b(Lbfx;)Z
intermediary method_35145
Lnet/minecraft/class_6044;method_35145(Lnet/minecraft/class_1309;)Z
named isAlwaysHostileTo
Lnet/minecraft/entity/ai/brain/sensor/AxolotlAttackablesSensor;isAlwaysHostileTo(Lnet/minecraft/entity/LivingEntity;)Z
-
isInRange
- Mappings:
Namespace Name Mixin selector official f
Lbpn;f(Lbfx;Lbfx;)Z
intermediary method_35146
Lnet/minecraft/class_6044;method_35146(Lnet/minecraft/class_1309;Lnet/minecraft/class_1309;)Z
named isInRange
Lnet/minecraft/entity/ai/brain/sensor/AxolotlAttackablesSensor;isInRange(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/LivingEntity;)Z
-
getOutputMemoryModule
- Specified by:
getOutputMemoryModule
in classNearestVisibleLivingEntitySensor
- Mappings:
Namespace Name Mixin selector official b
Lbpx;b()Lboz;
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;
-