CLASS net/minecraft/class_7897 net/minecraft/entity/ai/brain/task/Tasks COMMENT Contains task-related utility methods. METHOD method_47163 (Lnet/minecraft/class_4103$class_4104;Lnet/minecraft/class_6032;Lnet/minecraft/class_4103$class_4216;Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;J)Z ARG 3 world ARG 4 entity ARG 5 time METHOD method_47164 (Lnet/minecraft/class_4103$class_4104;Lnet/minecraft/class_6032;Lnet/minecraft/class_4103$class_4216;Lnet/minecraft/class_7898$class_7900;)Lcom/mojang/datafixers/kinds/App; ARG 3 context METHOD method_47165 (Lnet/minecraft/class_6032;Lcom/mojang/datafixers/util/Pair;)V ARG 1 task METHOD method_47166 pickRandomly (Ljava/util/List;)Lnet/minecraft/class_7894; COMMENT {@return a task that picks and runs a task from {@code weightedTasks} randomly} ARG 0 weightedTasks COMMENT the list of pairs of the task function and its weight METHOD method_47167 weighted (Ljava/util/List;Lnet/minecraft/class_4103$class_4104;Lnet/minecraft/class_4103$class_4216;)Lnet/minecraft/class_7894; COMMENT {@return a task that runs task(s) from {@code weightedTasks}} ARG 0 weightedTasks COMMENT the list of pairs of the task function and its weight ARG 1 order COMMENT whether to sort or shuffle the task list ARG 2 runMode COMMENT whether to run all or just one of the tasks