类的使用
net.minecraft.entity.passive.VillagerEntity
-
-
net.minecraft.advancement.criterion中VillagerEntity的使用
参数类型为VillagerEntity的net.minecraft.advancement.criterion中的方法 修饰符和类型 方法 说明 voidCuredZombieVillagerCriterion. trigger(ServerPlayerEntity player, ZombieEntity zombie, VillagerEntity villager) -
net.minecraft.client.render.entity中VillagerEntity的使用
参数类型为VillagerEntity的net.minecraft.client.render.entity中的方法 修饰符和类型 方法 说明 IdentifierVillagerEntityRenderer. getTexture(VillagerEntity villagerEntity)protected voidVillagerEntityRenderer. scale(VillagerEntity villagerEntity, MatrixStack matrixStack, float float2) -
net.minecraft.entity中VillagerEntity的使用
类型参数类型为VillagerEntity的net.minecraft.entity中的字段 修饰符和类型 字段 说明 static EntityType<VillagerEntity>EntityType. VILLAGER -
net.minecraft.entity.ai.brain.sensor中VillagerEntity的使用
参数类型为VillagerEntity的net.minecraft.entity.ai.brain.sensor中的方法 修饰符和类型 方法 说明 protected voidSecondaryPointsOfInterestSensor. sense(ServerWorld serverWorld, VillagerEntity villagerEntity) -
net.minecraft.entity.ai.brain.task中VillagerEntity的使用
返回VillagerEntity的net.minecraft.entity.ai.brain.task中的方法 修饰符和类型 方法 说明 private static VillagerEntityWorkStationCompetitionTask. keepJobSiteForMoreExperiencedVillager(VillagerEntity first, VillagerEntity second)返回变量类型为VillagerEntity的类型的net.minecraft.entity.ai.brain.task中的方法 修饰符和类型 方法 说明 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)参数类型为VillagerEntity的net.minecraft.entity.ai.brain.task中的方法 修饰符和类型 方法 说明 private voidBoneMealTask. addLookWalkTargets(VillagerEntity villager)private booleanVillagerBreedTask. canReachHome(VillagerEntity villager, BlockPos pos)private booleanTakeJobSiteTask. canReachJobSite(VillagerEntity villager, BlockPos pos, PointOfInterestType poiType)private booleanTakeJobSiteTask. canUseJobSite(PointOfInterestType poiType, VillagerEntity villager, BlockPos pos)private voidTakeJobSiteTask. claimSite(ServerWorld world, VillagerEntity previousOwner, VillagerEntity newOwner, BlockPos pos, boolean jobSitePresent)private voidFarmerWorkTask. compostSeeds(ServerWorld world, VillagerEntity entity, GlobalPos pos, BlockState composterState)private voidFarmerWorkTask. craftAndDropBread(VillagerEntity entity)private Optional<VillagerEntity>VillagerBreedTask. createChild(ServerWorld world, VillagerEntity parent, VillagerEntity partner)private booleanVillagerWalkTowardsTask. exceedsMaxRange(VillagerEntity villager, GlobalPos pos)private Optional<BlockPos>BoneMealTask. findBoneMealPos(ServerWorld world, VillagerEntity entity)private LivingEntityHoldTradeOffersTask. findPotentialCustomer(VillagerEntity villager)protected voidBoneMealTask. finishRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)protected voidCelebrateRaidWinTask. finishRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)protected voidFarmerVillagerTask. finishRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)protected voidFollowCustomerTask. finishRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)protected voidGatherItemsVillagerTask. finishRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)protected voidGiveGiftsToHeroTask. finishRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)voidHoldTradeOffersTask. finishRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)protected voidVillagerBreedTask. finishRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)protected voidWalkTowardJobSiteTask. finishRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)private voidTakeJobSiteTask. 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 voidGiveGiftsToHeroTask. giveGifts(VillagerEntity villager, LivingEntity recipient)private static voidGatherItemsVillagerTask. giveHalfOfStack(VillagerEntity villager, Set<Item> validItems, LivingEntity target)private voidVillagerWalkTowardsTask. giveUp(VillagerEntity villager, long time)private voidVillagerBreedTask. goHome(ServerWorld world, VillagerEntity first, VillagerEntity second)private booleanWorkStationCompetitionTask. hasJobSite(VillagerEntity villager)private voidHoldTradeOffersTask. holdOffer(VillagerEntity villager)private booleanGiveGiftsToHeroTask. isCloseEnough(VillagerEntity villager, PlayerEntity player)private booleanGiveGiftsToHeroTask. isNearestPlayerHero(VillagerEntity villager)private booleanVillagerBreedTask. isReadyToBreed(VillagerEntity villager)private booleanWorkStationCompetitionTask. isUsingWorkStationAt(GlobalPos pos, PointOfInterestType poiType, VillagerEntity villager)private static VillagerEntityWorkStationCompetitionTask. keepJobSiteForMoreExperiencedVillager(VillagerEntity first, VillagerEntity second)protected voidBoneMealTask. keepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)protected voidCelebrateRaidWinTask. keepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)protected voidFarmerVillagerTask. keepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)protected voidFollowCustomerTask. keepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)protected voidGatherItemsVillagerTask. keepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)protected voidGiveGiftsToHeroTask. keepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)voidHoldTradeOffersTask. keepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)protected voidPanicTask. keepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)protected voidVillagerBreedTask. keepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)protected voidWalkTowardJobSiteTask. keepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)private voidHoldTradeOffersTask. loadPossibleOffers(VillagerEntity villager)protected voidFarmerWorkTask. performAdditionalWork(ServerWorld world, VillagerEntity entity)protected voidVillagerWorkTask. performAdditionalWork(ServerWorld world, VillagerEntity entity)private booleanVillagerWalkTowardsTask. reachedDestination(ServerWorld world, VillagerEntity villager, GlobalPos pos)private voidHoldTradeOffersTask. refreshShownOffer(VillagerEntity villager)protected voidBoneMealTask. run(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)protected voidFarmerVillagerTask. run(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)protected voidFollowCustomerTask. run(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)protected voidGatherItemsVillagerTask. run(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)protected voidGiveGiftsToHeroTask. run(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)protected voidGoToPointOfInterestTask. run(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)protected voidGoToSecondaryPositionTask. run(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)protected voidGoToWorkTask. run(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)voidHoldTradeOffersTask. run(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)protected voidLoseJobOnSiteLossTask. run(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)protected voidPanicTask. run(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)protected voidStopPanickingTask. run(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)protected voidTakeJobSiteTask. run(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)protected voidVillagerBreedTask. run(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)protected voidVillagerWalkTowardsTask. run(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)protected voidVillagerWorkTask. run(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)protected voidWorkStationCompetitionTask. run(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)private voidVillagerBreedTask. setChildHome(ServerWorld world, VillagerEntity child, BlockPos pos)private voidHoldTradeOffersTask. setupOffers(LivingEntity customer, VillagerEntity villager)private booleanVillagerWalkTowardsTask. shouldGiveUp(ServerWorld world, VillagerEntity villager)protected booleanBoneMealTask. shouldKeepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)protected booleanCelebrateRaidWinTask. shouldKeepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)protected booleanFarmerVillagerTask. shouldKeepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)protected booleanFollowCustomerTask. shouldKeepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)protected booleanGatherItemsVillagerTask. shouldKeepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)protected booleanGiveGiftsToHeroTask. shouldKeepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)booleanHoldTradeOffersTask. shouldKeepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)protected booleanPanicTask. shouldKeepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)protected booleanVillagerBreedTask. shouldKeepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)protected booleanVillagerWorkTask. shouldKeepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)protected booleanWalkTowardJobSiteTask. shouldKeepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)protected booleanBoneMealTask. shouldRun(ServerWorld serverWorld, VillagerEntity villagerEntity)protected booleanCelebrateRaidWinTask. shouldRun(ServerWorld serverWorld, VillagerEntity villagerEntity)protected booleanFarmerVillagerTask. shouldRun(ServerWorld serverWorld, VillagerEntity villagerEntity)protected booleanFollowCustomerTask. shouldRun(ServerWorld serverWorld, VillagerEntity villagerEntity)protected booleanGatherItemsVillagerTask. shouldRun(ServerWorld serverWorld, VillagerEntity villagerEntity)protected booleanGiveGiftsToHeroTask. shouldRun(ServerWorld serverWorld, VillagerEntity villagerEntity)protected booleanGoToPointOfInterestTask. shouldRun(ServerWorld serverWorld, VillagerEntity villagerEntity)protected booleanGoToSecondaryPositionTask. shouldRun(ServerWorld serverWorld, VillagerEntity villagerEntity)protected booleanGoToWorkTask. shouldRun(ServerWorld serverWorld, VillagerEntity villagerEntity)booleanHoldTradeOffersTask. shouldRun(ServerWorld serverWorld, VillagerEntity villagerEntity)protected booleanLoseJobOnSiteLossTask. shouldRun(ServerWorld serverWorld, VillagerEntity villagerEntity)protected booleanTakeJobSiteTask. shouldRun(ServerWorld serverWorld, VillagerEntity villagerEntity)protected booleanVillagerBreedTask. shouldRun(ServerWorld serverWorld, VillagerEntity villagerEntity)protected booleanVillagerWorkTask. shouldRun(ServerWorld serverWorld, VillagerEntity villagerEntity)protected booleanWalkTowardJobSiteTask. shouldRun(ServerWorld serverWorld, VillagerEntity villagerEntity)static Stream<VillagerEntity>LookTargetUtil. streamSeenVillagers(VillagerEntity villager, Predicate<VillagerEntity> filter)private voidFollowCustomerTask. update(VillagerEntity villager)private static booleanStopPanickingTask. wasHurtByNearbyEntity(VillagerEntity entity)类型变量类型为VillagerEntity的net.minecraft.entity.ai.brain.task中的方法参数 修饰符和类型 方法 说明 static Stream<VillagerEntity>LookTargetUtil. streamSeenVillagers(VillagerEntity villager, Predicate<VillagerEntity> filter) -
net.minecraft.entity.ai.goal中VillagerEntity的使用
声明为VillagerEntity的net.minecraft.entity.ai.goal中的字段 修饰符和类型 字段 说明 private VillagerEntityIronGolemLookGoal. targetVillager参数类型为VillagerEntity的net.minecraft.entity.ai.goal中的方法 修饰符和类型 方法 说明 private booleanIronGolemWanderAroundGoal. canVillagerSummonGolem(VillagerEntity villager) -
net.minecraft.entity.passive中VillagerEntity的使用
类型参数类型为VillagerEntity的net.minecraft.entity.passive中的字段 修饰符和类型 字段 说明 static Map<MemoryModuleType<GlobalPos>,BiPredicate<VillagerEntity,PointOfInterestType>>VillagerEntity. POINTS_OF_INTERESTprivate static ImmutableList<SensorType<? extends Sensor<? super VillagerEntity>>>VillagerEntity. SENSORS返回VillagerEntity的net.minecraft.entity.passive中的方法 修饰符和类型 方法 说明 VillagerEntityVillagerEntity. createChild(ServerWorld serverWorld, PassiveEntity passiveEntity)返回变量类型为VillagerEntity的类型的net.minecraft.entity.passive中的方法 修饰符和类型 方法 说明 protected Brain.Profile<VillagerEntity>VillagerEntity. createBrainProfile()Brain<VillagerEntity>VillagerEntity. getBrain()参数类型为VillagerEntity的net.minecraft.entity.passive中的方法 修饰符和类型 方法 说明 voidVillagerEntity. talkWithVillager(ServerWorld world, VillagerEntity villager, long time)类型变量类型为VillagerEntity的net.minecraft.entity.passive中的方法参数 修饰符和类型 方法 说明 private voidVillagerEntity. initBrain(Brain<VillagerEntity> brain)类型变量类型为VillagerEntity的net.minecraft.entity.passive中的构造器参数 构造器 说明 VillagerEntity(EntityType<? extends VillagerEntity> type, World world)VillagerEntity(EntityType<? extends VillagerEntity> entityType, World world, VillagerType type)
-