Class PlayWithVillagerBabiesTask
java.lang.Object
net.minecraft.entity.ai.brain.task.PlayWithVillagerBabiesTask
- Mappings:
Namespace Name named net/minecraft/entity/ai/brain/task/PlayWithVillagerBabiesTask
intermediary net/minecraft/class_4218
official bwt
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final int
private static final float
private static final int
private static final int
private static final float
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Task
<PathAwareEntity> create()
private static Map
<LivingEntity, Integer> private static LivingEntity
private static Optional
<LivingEntity> private static boolean
private static boolean
isInteractionTargetOf
(LivingEntity entity, LivingEntity baby) private static void
setPlayTarget
(MemoryQueryResult<?, LivingEntity> interactionTarget, MemoryQueryResult<?, LookTarget> lookTarget, MemoryQueryResult<?, WalkTarget> walkTarget, LivingEntity baby)
-
Field Details
-
HORIZONTAL_RANGE
private static final int HORIZONTAL_RANGE- See Also:
- Mappings:
Namespace Name Mixin selector named HORIZONTAL_RANGE
Lnet/minecraft/entity/ai/brain/task/PlayWithVillagerBabiesTask;HORIZONTAL_RANGE:I
intermediary field_30151
Lnet/minecraft/class_4218;field_30151:I
official a
Lbwt;a:I
-
VERTICAL_RANGE
private static final int VERTICAL_RANGE- See Also:
- Mappings:
Namespace Name Mixin selector named VERTICAL_RANGE
Lnet/minecraft/entity/ai/brain/task/PlayWithVillagerBabiesTask;VERTICAL_RANGE:I
intermediary field_30152
Lnet/minecraft/class_4218;field_30152:I
official b
Lbwt;b:I
-
WALK_SPEED
private static final float WALK_SPEED- See Also:
- Mappings:
Namespace Name Mixin selector named WALK_SPEED
Lnet/minecraft/entity/ai/brain/task/PlayWithVillagerBabiesTask;WALK_SPEED:F
intermediary field_30153
Lnet/minecraft/class_4218;field_30153:F
official c
Lbwt;c:F
-
PLAYING_WALK_SPEED
private static final float PLAYING_WALK_SPEED- See Also:
- Mappings:
Namespace Name Mixin selector named PLAYING_WALK_SPEED
Lnet/minecraft/entity/ai/brain/task/PlayWithVillagerBabiesTask;PLAYING_WALK_SPEED:F
intermediary field_30154
Lnet/minecraft/class_4218;field_30154:F
official d
Lbwt;d:F
-
MAX_BABY_INTERACTION_COUNT
private static final int MAX_BABY_INTERACTION_COUNT- See Also:
- Mappings:
Namespace Name Mixin selector named MAX_BABY_INTERACTION_COUNT
Lnet/minecraft/entity/ai/brain/task/PlayWithVillagerBabiesTask;MAX_BABY_INTERACTION_COUNT:I
intermediary field_30155
Lnet/minecraft/class_4218;field_30155:I
official e
Lbwt;e:I
-
RUN_CHANCE
private static final int RUN_CHANCE- See Also:
- Mappings:
Namespace Name Mixin selector named RUN_CHANCE
Lnet/minecraft/entity/ai/brain/task/PlayWithVillagerBabiesTask;RUN_CHANCE:I
intermediary field_30156
Lnet/minecraft/class_4218;field_30156:I
official f
Lbwt;f:I
-
-
Constructor Details
-
PlayWithVillagerBabiesTask
public PlayWithVillagerBabiesTask()
-
-
Method Details
-
create
- Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/entity/ai/brain/task/PlayWithVillagerBabiesTask;create()Lnet/minecraft/entity/ai/brain/task/Task;
intermediary method_47000
Lnet/minecraft/class_4218;method_47000()Lnet/minecraft/class_7893;
official a
Lbwt;a()Lbvi;
-
setPlayTarget
private static void setPlayTarget(MemoryQueryResult<?, LivingEntity> interactionTarget, MemoryQueryResult<?, LookTarget> lookTarget, MemoryQueryResult<?, WalkTarget> walkTarget, LivingEntity baby) - Mappings:
Namespace Name Mixin selector named setPlayTarget
Lnet/minecraft/entity/ai/brain/task/PlayWithVillagerBabiesTask;setPlayTarget(Lnet/minecraft/entity/ai/brain/MemoryQueryResult;Lnet/minecraft/entity/ai/brain/MemoryQueryResult;Lnet/minecraft/entity/ai/brain/MemoryQueryResult;Lnet/minecraft/entity/LivingEntity;)V
intermediary method_19580
Lnet/minecraft/class_4218;method_19580(Lnet/minecraft/class_7906;Lnet/minecraft/class_7906;Lnet/minecraft/class_7906;Lnet/minecraft/class_1309;)V
official a
Lbwt;a(Lbyv;Lbyv;Lbyv;Lbtn;)V
-
getLeastPopularBabyInteractionTarget
private static Optional<LivingEntity> getLeastPopularBabyInteractionTarget(List<LivingEntity> babies) - Mappings:
Namespace Name Mixin selector named getLeastPopularBabyInteractionTarget
Lnet/minecraft/entity/ai/brain/task/PlayWithVillagerBabiesTask;getLeastPopularBabyInteractionTarget(Ljava/util/List;)Ljava/util/Optional;
intermediary method_19588
Lnet/minecraft/class_4218;method_19588(Ljava/util/List;)Ljava/util/Optional;
official a
Lbwt;a(Ljava/util/List;)Ljava/util/Optional;
-
getBabyInteractionTargetCounts
- Mappings:
Namespace Name Mixin selector named getBabyInteractionTargetCounts
Lnet/minecraft/entity/ai/brain/task/PlayWithVillagerBabiesTask;getBabyInteractionTargetCounts(Ljava/util/List;)Ljava/util/Map;
intermediary method_19592
Lnet/minecraft/class_4218;method_19592(Ljava/util/List;)Ljava/util/Map;
official b
Lbwt;b(Ljava/util/List;)Ljava/util/Map;
-
getInteractionTarget
- Mappings:
Namespace Name Mixin selector named getInteractionTarget
Lnet/minecraft/entity/ai/brain/task/PlayWithVillagerBabiesTask;getInteractionTarget(Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/entity/LivingEntity;
intermediary method_19576
Lnet/minecraft/class_4218;method_19576(Lnet/minecraft/class_1309;)Lnet/minecraft/class_1309;
official a
Lbwt;a(Lbtn;)Lbtn;
-
hasInteractionTarget
- Mappings:
Namespace Name Mixin selector named hasInteractionTarget
Lnet/minecraft/entity/ai/brain/task/PlayWithVillagerBabiesTask;hasInteractionTarget(Lnet/minecraft/entity/LivingEntity;)Z
intermediary method_19593
Lnet/minecraft/class_4218;method_19593(Lnet/minecraft/class_1309;)Z
official b
Lbwt;b(Lbtn;)Z
-
isInteractionTargetOf
- Mappings:
Namespace Name Mixin selector named isInteractionTargetOf
Lnet/minecraft/entity/ai/brain/task/PlayWithVillagerBabiesTask;isInteractionTargetOf(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/LivingEntity;)Z
intermediary method_19577
Lnet/minecraft/class_4218;method_19577(Lnet/minecraft/class_1309;Lnet/minecraft/class_1309;)Z
official a
Lbwt;a(Lbtn;Lbtn;)Z
-