Uses of Class
net.minecraft.world.poi.PointOfInterestType
| Package | Description |
|---|---|
| net.minecraft.entity.ai.brain.task | |
| net.minecraft.entity.passive | |
| net.minecraft.util.registry | |
| net.minecraft.village | |
| net.minecraft.world.poi |
-
Uses of PointOfInterestType in net.minecraft.entity.ai.brain.task
Fields in net.minecraft.entity.ai.brain.task declared as PointOfInterestType Modifier and Type Field Description private PointOfInterestTypeFindPointOfInterestTask. poiTypeFields in net.minecraft.entity.ai.brain.task with type parameters of type PointOfInterestType Modifier and Type Field Description private Predicate<PointOfInterestType>ForgetCompletedPointOfInterestTask. conditionMethods in net.minecraft.entity.ai.brain.task with parameters of type PointOfInterestType Modifier and Type Method Description 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)Constructors in net.minecraft.entity.ai.brain.task with parameters of type PointOfInterestType Constructor Description 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) -
Uses of PointOfInterestType in net.minecraft.entity.passive
Fields in net.minecraft.entity.passive with type parameters of type PointOfInterestType Modifier and Type Field Description static Map<MemoryModuleType<GlobalPos>,BiPredicate<VillagerEntity,PointOfInterestType>>VillagerEntity. POINTS_OF_INTEREST -
Uses of PointOfInterestType in net.minecraft.util.registry
Fields in net.minecraft.util.registry with type parameters of type PointOfInterestType Modifier and Type Field Description static DefaultedRegistry<PointOfInterestType>Registry. POINT_OF_INTEREST_TYPEstatic RegistryKey<Registry<PointOfInterestType>>Registry. POINT_OF_INTEREST_TYPE_KEY -
Uses of PointOfInterestType in net.minecraft.village
Fields in net.minecraft.village declared as PointOfInterestType Modifier and Type Field Description private PointOfInterestTypeVillagerProfession. workStationMethods in net.minecraft.village that return PointOfInterestType Modifier and Type Method Description PointOfInterestTypeVillagerProfession. getWorkStation()Methods in net.minecraft.village with parameters of type PointOfInterestType Modifier and Type Method Description (package private) static VillagerProfessionVillagerProfession. register(String id, PointOfInterestType workStation, @Nullable SoundEvent workSound)(package private) static VillagerProfessionVillagerProfession. register(String id, PointOfInterestType workStation, ImmutableSet<Item> gatherableItems, ImmutableSet<Block> secondaryJobSites, @Nullable SoundEvent workSound)Constructors in net.minecraft.village with parameters of type PointOfInterestType Constructor Description VillagerProfession(String id, PointOfInterestType workStation, ImmutableSet<Item> gatherableItems, ImmutableSet<Block> secondaryJobSites, @Nullable SoundEvent workSound) -
Uses of PointOfInterestType in net.minecraft.world.poi
Fields in net.minecraft.world.poi declared as PointOfInterestType Modifier and Type Field Description 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. WEAPONSMITHFields in net.minecraft.world.poi with type parameters of type PointOfInterestType Modifier and Type Field Description 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_WORKSTATIONSMethods in net.minecraft.world.poi that return PointOfInterestType Modifier and Type Method Description 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)Methods in net.minecraft.world.poi that return types with arguments of type PointOfInterestType Modifier and Type Method Description static Optional<PointOfInterestType>PointOfInterestType. from(BlockState state)Predicate<PointOfInterestType>PointOfInterestType. getCompletionCondition()Optional<PointOfInterestType>PointOfInterestSet. getType(BlockPos pos)Optional<PointOfInterestType>PointOfInterestStorage. getType(BlockPos pos)Methods in net.minecraft.world.poi with parameters of type PointOfInterestType Modifier and Type Method Description voidPointOfInterestSet. add(BlockPos pos, PointOfInterestType type)voidPointOfInterestStorage. add(BlockPos pos, PointOfInterestType type)booleanPointOfInterestStorage. hasTypeAt(PointOfInterestType type, BlockPos pos)private static PointOfInterestTypePointOfInterestType. setup(PointOfInterestType poiType)Constructors in net.minecraft.world.poi with parameters of type PointOfInterestType Constructor Description PointOfInterest(BlockPos pos, PointOfInterestType type, int freeTickets, Runnable updateListener)PointOfInterest(BlockPos pos, PointOfInterestType type, Runnable updateListener)Constructor parameters in net.minecraft.world.poi with type arguments of type PointOfInterestType Constructor Description PointOfInterestType(String id, Set<BlockState> blockStates, int ticketCount, Predicate<PointOfInterestType> completionCondition, int searchDistance)