Class VillagerBabiesSensor
java.lang.Object
net.minecraft.entity.ai.brain.sensor.Sensor<LivingEntity>
net.minecraft.entity.ai.brain.sensor.VillagerBabiesSensor
- Mappings:
Namespace Name named net/minecraft/entity/ai/brain/sensor/VillagerBabiesSensor
intermediary net/minecraft/class_4257
official ceb
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.brain.sensor.Sensor
BASE_MAX_DISTANCE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSet
<MemoryModuleType<?>> private LivingTargetCache
getVisibleMobs
(LivingEntity entity) private List
<LivingEntity> getVisibleVillagerBabies
(LivingEntity entities) private boolean
isVillagerBaby
(LivingEntity entity) protected void
sense
(ServerWorld world, LivingEntity entity) Methods inherited from class net.minecraft.entity.ai.brain.sensor.Sensor
testAttackableTargetPredicate, testAttackableTargetPredicateIgnoreVisibility, testTargetPredicate, tick
-
Constructor Details
-
VillagerBabiesSensor
public VillagerBabiesSensor()
-
-
Method Details
-
getOutputMemoryModules
- Specified by:
getOutputMemoryModules
in classSensor<LivingEntity>
- Mappings:
Namespace Name Mixin selector named getOutputMemoryModules
Lnet/minecraft/entity/ai/brain/sensor/Sensor;getOutputMemoryModules()Ljava/util/Set;
intermediary method_19099
Lnet/minecraft/class_4148;method_19099()Ljava/util/Set;
official a
Lcdy;a()Ljava/util/Set;
-
sense
- Specified by:
sense
in classSensor<LivingEntity>
- Mappings:
Namespace Name Mixin selector named sense
Lnet/minecraft/entity/ai/brain/sensor/Sensor;sense(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;)V
intermediary method_19101
Lnet/minecraft/class_4148;method_19101(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;)V
official a
Lcdy;a(Laqu;Lbtn;)V
-
getVisibleVillagerBabies
- Mappings:
Namespace Name Mixin selector named getVisibleVillagerBabies
Lnet/minecraft/entity/ai/brain/sensor/VillagerBabiesSensor;getVisibleVillagerBabies(Lnet/minecraft/entity/LivingEntity;)Ljava/util/List;
intermediary method_20000
Lnet/minecraft/class_4257;method_20000(Lnet/minecraft/class_1309;)Ljava/util/List;
official a
Lceb;a(Lbtn;)Ljava/util/List;
-
isVillagerBaby
- Mappings:
Namespace Name Mixin selector named isVillagerBaby
Lnet/minecraft/entity/ai/brain/sensor/VillagerBabiesSensor;isVillagerBaby(Lnet/minecraft/entity/LivingEntity;)Z
intermediary method_20001
Lnet/minecraft/class_4257;method_20001(Lnet/minecraft/class_1309;)Z
official b
Lceb;b(Lbtn;)Z
-
getVisibleMobs
- Mappings:
Namespace Name Mixin selector named getVisibleMobs
Lnet/minecraft/entity/ai/brain/sensor/VillagerBabiesSensor;getVisibleMobs(Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/entity/ai/brain/LivingTargetCache;
intermediary method_20002
Lnet/minecraft/class_4257;method_20002(Lnet/minecraft/class_1309;)Lnet/minecraft/class_6670;
official c
Lceb;c(Lbtn;)Lccu;
-