Class VillagerTaskListProvider
java.lang.Object
net.minecraft.entity.ai.brain.task.VillagerTaskListProvider
public class VillagerTaskListProvider extends Object
-
Constructor Summary
Constructors Constructor Description VillagerTaskListProvider()
-
Method Summary
Modifier and Type Method Description private static com.mojang.datafixers.util.Pair<Integer,Task<LivingEntity>>
createBusyFollowTask()
static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>>
createCoreTasks(VillagerProfession profession, float float2)
private static com.mojang.datafixers.util.Pair<Integer,Task<LivingEntity>>
createFreeFollowTask()
static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>>
createHideTasks(VillagerProfession villagerProfession, float float2)
static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>>
createIdleTasks(VillagerProfession profession, float float2)
static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>>
createMeetTasks(VillagerProfession profession, float float2)
static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>>
createPanicTasks(VillagerProfession profession, float float2)
static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>>
createPlayTasks(float float2)
static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>>
createPreRaidTasks(VillagerProfession villagerProfession, float float2)
static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>>
createRaidTasks(VillagerProfession villagerProfession, float float2)
static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>>
createRestTasks(VillagerProfession profession, float float2)
static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>>
createWorkTasks(VillagerProfession profession, float float2)
-
Constructor Details
-
VillagerTaskListProvider
public VillagerTaskListProvider()
-
-
Method Details
-
createCoreTasks
public static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> createCoreTasks(VillagerProfession profession, float float2) -
createWorkTasks
public static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> createWorkTasks(VillagerProfession profession, float float2) -
createPlayTasks
public static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> createPlayTasks(float float2) -
createRestTasks
public static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> createRestTasks(VillagerProfession profession, float float2) -
createMeetTasks
public static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> createMeetTasks(VillagerProfession profession, float float2) -
createIdleTasks
public static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> createIdleTasks(VillagerProfession profession, float float2) -
createPanicTasks
public static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> createPanicTasks(VillagerProfession profession, float float2) -
createPreRaidTasks
public static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> createPreRaidTasks(VillagerProfession villagerProfession, float float2) -
createRaidTasks
public static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> createRaidTasks(VillagerProfession villagerProfession, float float2) -
createHideTasks
public static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> createHideTasks(VillagerProfession villagerProfession, float float2) -
createFreeFollowTask
-
createBusyFollowTask
-