-
-
-
-
-
Methods in net.minecraft.entity.ai.brain.task that return types with arguments of type VillagerEntity
Modifier and Type |
Method |
Description |
private Optional<VillagerEntity> |
VillagerBreedTask.createChild(ServerWorld world,
VillagerEntity parent,
VillagerEntity partner) |
|
static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> |
VillagerTaskListProvider.createCoreTasks(VillagerProfession profession,
float speed) |
|
static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> |
VillagerTaskListProvider.createHideTasks(VillagerProfession profession,
float speed) |
|
static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> |
VillagerTaskListProvider.createIdleTasks(VillagerProfession profession,
float speed) |
|
static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> |
VillagerTaskListProvider.createMeetTasks(VillagerProfession profession,
float speed) |
|
static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> |
VillagerTaskListProvider.createPanicTasks(VillagerProfession profession,
float speed) |
|
static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> |
VillagerTaskListProvider.createPlayTasks(float speed) |
|
static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> |
VillagerTaskListProvider.createPreRaidTasks(VillagerProfession profession,
float speed) |
|
static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> |
VillagerTaskListProvider.createRaidTasks(VillagerProfession profession,
float speed) |
|
static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> |
VillagerTaskListProvider.createRestTasks(VillagerProfession profession,
float speed) |
|
static ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Task<? super VillagerEntity>>> |
VillagerTaskListProvider.createWorkTasks(VillagerProfession profession,
float speed) |
|
static Stream<VillagerEntity> |
LookTargetUtil.streamSeenVillagers(VillagerEntity villager,
Predicate<VillagerEntity> filter) |
|
Methods in net.minecraft.entity.ai.brain.task with parameters of type VillagerEntity
Modifier and Type |
Method |
Description |
private void |
BoneMealTask.addLookWalkTargets(VillagerEntity villager) |
|
private boolean |
VillagerBreedTask.canReachHome(VillagerEntity villager,
BlockPos pos) |
|
private boolean |
TakeJobSiteTask.canReachJobSite(VillagerEntity villager,
BlockPos pos,
PointOfInterestType poiType) |
|
private boolean |
TakeJobSiteTask.canUseJobSite(PointOfInterestType poiType,
VillagerEntity villager,
BlockPos pos) |
|
private void |
TakeJobSiteTask.claimSite(ServerWorld world,
VillagerEntity previousOwner,
VillagerEntity newOwner,
BlockPos pos,
boolean jobSitePresent) |
|
private void |
FarmerWorkTask.compostSeeds(ServerWorld world,
VillagerEntity entity,
GlobalPos pos,
BlockState composterState) |
|
private void |
FarmerWorkTask.craftAndDropBread(VillagerEntity entity) |
|
private Optional<VillagerEntity> |
VillagerBreedTask.createChild(ServerWorld world,
VillagerEntity parent,
VillagerEntity partner) |
|
private boolean |
VillagerWalkTowardsTask.exceedsMaxRange(VillagerEntity villager,
GlobalPos pos) |
|
private Optional<BlockPos> |
BoneMealTask.findBoneMealPos(ServerWorld world,
VillagerEntity entity) |
|
private LivingEntity |
HoldTradeOffersTask.findPotentialCustomer(VillagerEntity villager) |
|
protected void |
BoneMealTask.finishRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
CelebrateRaidWinTask.finishRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
FarmerVillagerTask.finishRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
FollowCustomerTask.finishRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
GatherItemsVillagerTask.finishRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
GiveGiftsToHeroTask.finishRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
void |
HoldTradeOffersTask.finishRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
VillagerBreedTask.finishRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
WalkTowardJobSiteTask.finishRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
private void |
TakeJobSiteTask.forgetJobSiteAndWalkTarget(VillagerEntity villager) |
|
private static Set<Item> |
GatherItemsVillagerTask.getGatherableItems(VillagerEntity villagerEntity,
VillagerEntity villagerEntity2) |
|
private List<ItemStack> |
GiveGiftsToHeroTask.getGifts(VillagerEntity villager) |
|
private Optional<PlayerEntity> |
GiveGiftsToHeroTask.getNearestPlayerIfHero(VillagerEntity villager) |
|
private Optional<BlockPos> |
VillagerBreedTask.getReachableHome(ServerWorld world,
VillagerEntity villager) |
|
private void |
GiveGiftsToHeroTask.giveGifts(VillagerEntity villager,
LivingEntity recipient) |
|
private static void |
GatherItemsVillagerTask.giveHalfOfStack(VillagerEntity villager,
Set<Item> validItems,
LivingEntity target) |
|
private void |
VillagerWalkTowardsTask.giveUp(VillagerEntity villager,
long time) |
|
private void |
VillagerBreedTask.goHome(ServerWorld world,
VillagerEntity first,
VillagerEntity second) |
|
private boolean |
WorkStationCompetitionTask.hasJobSite(VillagerEntity villager) |
|
private void |
HoldTradeOffersTask.holdOffer(VillagerEntity villager) |
|
private boolean |
GiveGiftsToHeroTask.isCloseEnough(VillagerEntity villager,
PlayerEntity player) |
|
private boolean |
GiveGiftsToHeroTask.isNearestPlayerHero(VillagerEntity villager) |
|
private boolean |
VillagerBreedTask.isReadyToBreed(VillagerEntity villager) |
|
private boolean |
WorkStationCompetitionTask.isUsingWorkStationAt(GlobalPos pos,
PointOfInterestType poiType,
VillagerEntity villager) |
|
private static VillagerEntity |
WorkStationCompetitionTask.keepJobSiteForMoreExperiencedVillager(VillagerEntity first,
VillagerEntity second) |
|
protected void |
BoneMealTask.keepRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
CelebrateRaidWinTask.keepRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
FarmerVillagerTask.keepRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
FollowCustomerTask.keepRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
GatherItemsVillagerTask.keepRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
GiveGiftsToHeroTask.keepRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
void |
HoldTradeOffersTask.keepRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
PanicTask.keepRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
VillagerBreedTask.keepRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
WalkTowardJobSiteTask.keepRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
private void |
HoldTradeOffersTask.loadPossibleOffers(VillagerEntity villager) |
|
protected void |
FarmerWorkTask.performAdditionalWork(ServerWorld world,
VillagerEntity entity) |
protected void |
VillagerWorkTask.performAdditionalWork(ServerWorld world,
VillagerEntity entity) |
|
private boolean |
VillagerWalkTowardsTask.reachedDestination(ServerWorld world,
VillagerEntity villager,
GlobalPos pos) |
|
private void |
HoldTradeOffersTask.refreshShownOffer(VillagerEntity villager) |
|
protected void |
BoneMealTask.run(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
FarmerVillagerTask.run(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
FollowCustomerTask.run(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
GatherItemsVillagerTask.run(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
GiveGiftsToHeroTask.run(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
GoToPointOfInterestTask.run(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
GoToSecondaryPositionTask.run(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
GoToWorkTask.run(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
void |
HoldTradeOffersTask.run(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
LoseJobOnSiteLossTask.run(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
PanicTask.run(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
StopPanickingTask.run(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
TakeJobSiteTask.run(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
VillagerBreedTask.run(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
VillagerWalkTowardsTask.run(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
VillagerWorkTask.run(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
WorkStationCompetitionTask.run(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
private void |
VillagerBreedTask.setChildHome(ServerWorld world,
VillagerEntity child,
BlockPos pos) |
|
private void |
HoldTradeOffersTask.setupOffers(LivingEntity customer,
VillagerEntity villager) |
|
private boolean |
VillagerWalkTowardsTask.shouldGiveUp(ServerWorld world,
VillagerEntity villager) |
|
protected boolean |
BoneMealTask.shouldKeepRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected boolean |
CelebrateRaidWinTask.shouldKeepRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected boolean |
FarmerVillagerTask.shouldKeepRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected boolean |
FollowCustomerTask.shouldKeepRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected boolean |
GatherItemsVillagerTask.shouldKeepRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected boolean |
GiveGiftsToHeroTask.shouldKeepRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
boolean |
HoldTradeOffersTask.shouldKeepRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected boolean |
PanicTask.shouldKeepRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected boolean |
VillagerBreedTask.shouldKeepRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected boolean |
VillagerWorkTask.shouldKeepRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected boolean |
WalkTowardJobSiteTask.shouldKeepRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected boolean |
BoneMealTask.shouldRun(ServerWorld serverWorld,
VillagerEntity villagerEntity) |
|
protected boolean |
CelebrateRaidWinTask.shouldRun(ServerWorld serverWorld,
VillagerEntity villagerEntity) |
|
protected boolean |
FarmerVillagerTask.shouldRun(ServerWorld serverWorld,
VillagerEntity villagerEntity) |
|
protected boolean |
FollowCustomerTask.shouldRun(ServerWorld serverWorld,
VillagerEntity villagerEntity) |
|
protected boolean |
GatherItemsVillagerTask.shouldRun(ServerWorld serverWorld,
VillagerEntity villagerEntity) |
|
protected boolean |
GiveGiftsToHeroTask.shouldRun(ServerWorld serverWorld,
VillagerEntity villagerEntity) |
|
protected boolean |
GoToPointOfInterestTask.shouldRun(ServerWorld serverWorld,
VillagerEntity villagerEntity) |
|
protected boolean |
GoToSecondaryPositionTask.shouldRun(ServerWorld serverWorld,
VillagerEntity villagerEntity) |
|
protected boolean |
GoToWorkTask.shouldRun(ServerWorld serverWorld,
VillagerEntity villagerEntity) |
|
boolean |
HoldTradeOffersTask.shouldRun(ServerWorld serverWorld,
VillagerEntity villagerEntity) |
|
protected boolean |
LoseJobOnSiteLossTask.shouldRun(ServerWorld serverWorld,
VillagerEntity villagerEntity) |
|
protected boolean |
TakeJobSiteTask.shouldRun(ServerWorld serverWorld,
VillagerEntity villagerEntity) |
|
protected boolean |
VillagerBreedTask.shouldRun(ServerWorld serverWorld,
VillagerEntity villagerEntity) |
|
protected boolean |
VillagerWorkTask.shouldRun(ServerWorld serverWorld,
VillagerEntity villagerEntity) |
|
protected boolean |
WalkTowardJobSiteTask.shouldRun(ServerWorld serverWorld,
VillagerEntity villagerEntity) |
|
static Stream<VillagerEntity> |
LookTargetUtil.streamSeenVillagers(VillagerEntity villager,
Predicate<VillagerEntity> filter) |
|
private void |
FollowCustomerTask.update(VillagerEntity villager) |
|
private static boolean |
StopPanickingTask.wasHurtByNearbyEntity(VillagerEntity entity) |
|
-
-