类的使用
net.minecraft.world.poi.PointOfInterestType
-
使用PointOfInterestType的程序包 程序包 说明 net.minecraft.entity.ai.brain.task net.minecraft.entity.passive net.minecraft.util.registry net.minecraft.village net.minecraft.world.poi -
-
net.minecraft.entity.ai.brain.task中PointOfInterestType的使用
声明为PointOfInterestType的net.minecraft.entity.ai.brain.task中的字段 修饰符和类型 字段 说明 private PointOfInterestTypeFindPointOfInterestTask. poiType类型参数类型为PointOfInterestType的net.minecraft.entity.ai.brain.task中的字段 修饰符和类型 字段 说明 private Predicate<PointOfInterestType>ForgetCompletedPointOfInterestTask. condition参数类型为PointOfInterestType的net.minecraft.entity.ai.brain.task中的方法 修饰符和类型 方法 说明 private booleanTakeJobSiteTask. canReachJobSite(VillagerEntity villager, BlockPos pos, PointOfInterestType poiType)private booleanTakeJobSiteTask. canUseJobSite(PointOfInterestType poiType, VillagerEntity villager, BlockPos pos)private booleanWorkStationCompetitionTask. isCompletedWorkStation(PointOfInterestType poiType, VillagerProfession profession)private booleanWorkStationCompetitionTask. isUsingWorkStationAt(GlobalPos pos, PointOfInterestType poiType, VillagerEntity villager)参数类型为PointOfInterestType的net.minecraft.entity.ai.brain.task中的构造器 构造器 说明 FindPointOfInterestTask(PointOfInterestType poiType, MemoryModuleType<GlobalPos> memoryModuleType, boolean onlyRunIfChild, Optional<Byte> optional)FindPointOfInterestTask(PointOfInterestType poiType, MemoryModuleType<GlobalPos> memoryModuleType, MemoryModuleType<GlobalPos> targetMemoryModuleType, boolean onlyRunIfChild, Optional<Byte> optional)ForgetCompletedPointOfInterestTask(PointOfInterestType poiType, MemoryModuleType<GlobalPos> memoryModule) -
net.minecraft.entity.passive中PointOfInterestType的使用
类型参数类型为PointOfInterestType的net.minecraft.entity.passive中的字段 修饰符和类型 字段 说明 static Map<MemoryModuleType<GlobalPos>,BiPredicate<VillagerEntity,PointOfInterestType>>VillagerEntity. POINTS_OF_INTEREST -
net.minecraft.util.registry中PointOfInterestType的使用
类型参数类型为PointOfInterestType的net.minecraft.util.registry中的字段 修饰符和类型 字段 说明 static DefaultedRegistry<PointOfInterestType>Registry. POINT_OF_INTEREST_TYPEstatic RegistryKey<Registry<PointOfInterestType>>Registry. POINT_OF_INTEREST_TYPE_KEY -
net.minecraft.village中PointOfInterestType的使用
声明为PointOfInterestType的net.minecraft.village中的字段 修饰符和类型 字段 说明 private PointOfInterestTypeVillagerProfession. workStation返回PointOfInterestType的net.minecraft.village中的方法 修饰符和类型 方法 说明 PointOfInterestTypeVillagerProfession. getWorkStation()参数类型为PointOfInterestType的net.minecraft.village中的方法 修饰符和类型 方法 说明 (专用程序包) static VillagerProfessionVillagerProfession. register(String id, PointOfInterestType workStation, @Nullable SoundEvent workSound)(专用程序包) static VillagerProfessionVillagerProfession. register(String id, PointOfInterestType workStation, ImmutableSet<Item> gatherableItems, ImmutableSet<Block> secondaryJobSites, @Nullable SoundEvent workSound)参数类型为PointOfInterestType的net.minecraft.village中的构造器 构造器 说明 VillagerProfession(String id, PointOfInterestType workStation, ImmutableSet<Item> gatherableItems, ImmutableSet<Block> secondaryJobSites, @Nullable SoundEvent workSound) -
net.minecraft.world.poi中PointOfInterestType的使用
声明为PointOfInterestType的net.minecraft.world.poi中的字段 修饰符和类型 字段 说明 static PointOfInterestTypePointOfInterestType. ARMORERstatic PointOfInterestTypePointOfInterestType. BEE_NESTstatic PointOfInterestTypePointOfInterestType. BEEHIVEstatic PointOfInterestTypePointOfInterestType. BUTCHERstatic PointOfInterestTypePointOfInterestType. CARTOGRAPHERstatic PointOfInterestTypePointOfInterestType. CLERICstatic PointOfInterestTypePointOfInterestType. FARMERstatic PointOfInterestTypePointOfInterestType. FISHERMANstatic PointOfInterestTypePointOfInterestType. FLETCHERstatic PointOfInterestTypePointOfInterestType. HOMEstatic PointOfInterestTypePointOfInterestType. LEATHERWORKERstatic PointOfInterestTypePointOfInterestType. LIBRARIANstatic PointOfInterestTypePointOfInterestType. LIGHTNING_RODstatic PointOfInterestTypePointOfInterestType. LODESTONEstatic PointOfInterestTypePointOfInterestType. MASONstatic PointOfInterestTypePointOfInterestType. MEETINGstatic PointOfInterestTypePointOfInterestType. NETHER_PORTALstatic PointOfInterestTypePointOfInterestType. NITWITstatic PointOfInterestTypePointOfInterestType. SHEPHERDstatic PointOfInterestTypePointOfInterestType. TOOLSMITHprivate PointOfInterestTypePointOfInterest. typestatic PointOfInterestTypePointOfInterestType. UNEMPLOYEDstatic PointOfInterestTypePointOfInterestType. WEAPONSMITH类型参数类型为PointOfInterestType的net.minecraft.world.poi中的字段 修饰符和类型 字段 说明 static Predicate<PointOfInterestType>PointOfInterestType. ALWAYS_TRUEprivate static Map<BlockState,PointOfInterestType>PointOfInterestType. BLOCK_STATE_TO_POINT_OF_INTEREST_TYPEprivate Predicate<PointOfInterestType>PointOfInterestType. completionConditionstatic Predicate<PointOfInterestType>PointOfInterestType. IS_USED_BY_PROFESSIONprivate Map<PointOfInterestType,Set<PointOfInterest>>PointOfInterestSet. pointsOfInterestByTypeprivate static Supplier<Set<PointOfInterestType>>PointOfInterestType. VILLAGER_WORKSTATIONS返回PointOfInterestType的net.minecraft.world.poi中的方法 修饰符和类型 方法 说明 PointOfInterestTypePointOfInterest. getType()private static PointOfInterestTypePointOfInterestType. register(String id, Set<BlockState> workStationStates, int ticketCount, int searchDistance)private static PointOfInterestTypePointOfInterestType. register(String id, Set<BlockState> workStationStates, int ticketCount, Predicate<PointOfInterestType> completionCondition, int searchDistance)private static PointOfInterestTypePointOfInterestType. setup(PointOfInterestType poiType)返回变量类型为PointOfInterestType的类型的net.minecraft.world.poi中的方法 修饰符和类型 方法 说明 static Optional<PointOfInterestType>PointOfInterestType. from(BlockState state)Predicate<PointOfInterestType>PointOfInterestType. getCompletionCondition()Optional<PointOfInterestType>PointOfInterestSet. getType(BlockPos pos)Optional<PointOfInterestType>PointOfInterestStorage. getType(BlockPos pos)参数类型为PointOfInterestType的net.minecraft.world.poi中的方法 修饰符和类型 方法 说明 voidPointOfInterestSet. add(BlockPos pos, PointOfInterestType type)voidPointOfInterestStorage. add(BlockPos pos, PointOfInterestType type)booleanPointOfInterestStorage. hasTypeAt(PointOfInterestType type, BlockPos pos)private static PointOfInterestTypePointOfInterestType. setup(PointOfInterestType poiType)参数类型为PointOfInterestType的net.minecraft.world.poi中的构造器 构造器 说明 PointOfInterest(BlockPos pos, PointOfInterestType type, int freeTickets, Runnable updateListener)PointOfInterest(BlockPos pos, PointOfInterestType type, Runnable updateListener)类型变量类型为PointOfInterestType的net.minecraft.world.poi中的构造器参数 构造器 说明 PointOfInterestType(String id, Set<BlockState> blockStates, int ticketCount, Predicate<PointOfInterestType> completionCondition, int searchDistance)
-