Uses of Record Class
net.minecraft.world.poi.PointOfInterestType
Packages that use PointOfInterestType
Package
Description
-
Uses of PointOfInterestType in net.minecraft.entity.ai.brain.task
Methods in net.minecraft.entity.ai.brain.task with parameters of type PointOfInterestTypeModifier and TypeMethodDescriptionprivate static booleanTakeJobSiteTask.canReachJobSite(PathAwareEntity entity, BlockPos pos, PointOfInterestType poiType) Method parameters in net.minecraft.entity.ai.brain.task with type arguments of type PointOfInterestTypeModifier and TypeMethodDescriptionprivate booleanVillagerBreedTask.canReachHome(VillagerEntity villager, BlockPos pos, RegistryEntry<PointOfInterestType> poiType) private static booleanTakeJobSiteTask.canUseJobSite(RegistryEntry<PointOfInterestType> poiType, VillagerEntity villager, BlockPos pos) static Task<PathAwareEntity>FindPointOfInterestTask.create(Predicate<RegistryEntry<PointOfInterestType>> poiPredicate, MemoryModuleType<GlobalPos> poiPosModule, boolean onlyRunIfChild, Optional<Byte> entityStatus) static Task<PathAwareEntity>FindPointOfInterestTask.create(Predicate<RegistryEntry<PointOfInterestType>> poiPredicate, MemoryModuleType<GlobalPos> poiPosModule, MemoryModuleType<GlobalPos> potentialPoiPosModule, boolean onlyRunIfChild, Optional<Byte> entityStatus) static Task<LivingEntity>ForgetCompletedPointOfInterestTask.create(Predicate<RegistryEntry<PointOfInterestType>> poiTypePredicate, MemoryModuleType<GlobalPos> poiPosModule) FindPointOfInterestTask.findPathToPoi(MobEntity entity, Set<com.mojang.datafixers.util.Pair<RegistryEntry<PointOfInterestType>, BlockPos>> pois) private static booleanWorkStationCompetitionTask.isCompletedWorkStation(RegistryEntry<PointOfInterestType> poiType, VillagerProfession profession) private static booleanWorkStationCompetitionTask.isUsingWorkStationAt(GlobalPos pos, RegistryEntry<PointOfInterestType> poiType, VillagerEntity villager) -
Uses of PointOfInterestType in net.minecraft.entity.passive
Fields in net.minecraft.entity.passive with type parameters of type PointOfInterestTypeModifier and TypeFieldDescriptionstatic final Map<MemoryModuleType<GlobalPos>,BiPredicate<VillagerEntity, RegistryEntry<PointOfInterestType>>> VillagerEntity.POINTS_OF_INTEREST -
Uses of PointOfInterestType in net.minecraft.registry
Fields in net.minecraft.registry with type parameters of type PointOfInterestTypeModifier and TypeFieldDescriptionstatic final Registry<PointOfInterestType>Registries.POINT_OF_INTEREST_TYPEstatic final RegistryKey<Registry<PointOfInterestType>>RegistryKeys.POINT_OF_INTEREST_TYPE -
Uses of PointOfInterestType in net.minecraft.registry.tag
Fields in net.minecraft.registry.tag with type parameters of type PointOfInterestTypeModifier and TypeFieldDescriptionstatic final TagKey<PointOfInterestType>PointOfInterestTypeTags.ACQUIRABLE_JOB_SITEstatic final TagKey<PointOfInterestType>PointOfInterestTypeTags.BEE_HOMEstatic final TagKey<PointOfInterestType>PointOfInterestTypeTags.VILLAGEMethods in net.minecraft.registry.tag that return types with arguments of type PointOfInterestType -
Uses of PointOfInterestType in net.minecraft.server.command
Method parameters in net.minecraft.server.command with type arguments of type PointOfInterestTypeModifier and TypeMethodDescriptionprivate static intLocateCommand.executeLocatePoi(ServerCommandSource source, RegistryEntryPredicateArgumentType.EntryPredicate<PointOfInterestType> predicate) -
Uses of PointOfInterestType in net.minecraft.village
Fields in net.minecraft.village with type parameters of type PointOfInterestTypeModifier and TypeFieldDescriptionprivate final Predicate<RegistryEntry<PointOfInterestType>>VillagerProfession.acquirableWorkstationThe field for theacquirableWorkstationrecord component.private final Predicate<RegistryEntry<PointOfInterestType>>VillagerProfession.heldWorkstationThe field for theheldWorkstationrecord component.static final Predicate<RegistryEntry<PointOfInterestType>>VillagerProfession.IS_ACQUIRABLE_JOB_SITEMethods in net.minecraft.village that return types with arguments of type PointOfInterestTypeModifier and TypeMethodDescriptionVillagerProfession.acquirableWorkstation()Returns the value of theacquirableWorkstationrecord component.VillagerProfession.heldWorkstation()Returns the value of theheldWorkstationrecord component.Method parameters in net.minecraft.village with type arguments of type PointOfInterestTypeModifier and TypeMethodDescriptionprivate static VillagerProfessionVillagerProfession.register(String id, Predicate<RegistryEntry<PointOfInterestType>> heldWorkstation, Predicate<RegistryEntry<PointOfInterestType>> acquirableWorkstation, @Nullable SoundEvent workSound) private static VillagerProfessionVillagerProfession.register(String id, Predicate<RegistryEntry<PointOfInterestType>> heldWorkstation, Predicate<RegistryEntry<PointOfInterestType>> acquirableWorkstation, ImmutableSet<Item> gatherableItems, ImmutableSet<Block> secondaryJobSites, @Nullable SoundEvent workSound) private static VillagerProfessionVillagerProfession.register(String id, RegistryKey<PointOfInterestType> heldWorkstation, @Nullable SoundEvent workSound) private static VillagerProfessionVillagerProfession.register(String id, RegistryKey<PointOfInterestType> heldWorkstation, ImmutableSet<Item> gatherableItems, ImmutableSet<Block> secondaryJobSites, @Nullable SoundEvent workSound) Constructor parameters in net.minecraft.village with type arguments of type PointOfInterestTypeModifierConstructorDescriptionVillagerProfession(String id, Predicate<RegistryEntry<PointOfInterestType>> predicate, Predicate<RegistryEntry<PointOfInterestType>> predicate2, ImmutableSet<Item> immutableSet, ImmutableSet<Block> immutableSet2, @Nullable SoundEvent soundEvent) -
Uses of PointOfInterestType in net.minecraft.world.poi
Fields in net.minecraft.world.poi with type parameters of type PointOfInterestTypeModifier and TypeFieldDescriptionstatic final RegistryKey<PointOfInterestType>PointOfInterestTypes.ARMORERstatic final RegistryKey<PointOfInterestType>PointOfInterestTypes.BEE_NESTstatic final RegistryKey<PointOfInterestType>PointOfInterestTypes.BEEHIVEstatic final RegistryKey<PointOfInterestType>PointOfInterestTypes.BUTCHERstatic final RegistryKey<PointOfInterestType>PointOfInterestTypes.CARTOGRAPHERstatic final RegistryKey<PointOfInterestType>PointOfInterestTypes.CLERICstatic final RegistryKey<PointOfInterestType>PointOfInterestTypes.FARMERstatic final RegistryKey<PointOfInterestType>PointOfInterestTypes.FISHERMANstatic final RegistryKey<PointOfInterestType>PointOfInterestTypes.FLETCHERstatic final RegistryKey<PointOfInterestType>PointOfInterestTypes.HOMEstatic final RegistryKey<PointOfInterestType>PointOfInterestTypes.LEATHERWORKERstatic final RegistryKey<PointOfInterestType>PointOfInterestTypes.LIBRARIANstatic final RegistryKey<PointOfInterestType>PointOfInterestTypes.LIGHTNING_RODstatic final RegistryKey<PointOfInterestType>PointOfInterestTypes.LODESTONEstatic final RegistryKey<PointOfInterestType>PointOfInterestTypes.MASONstatic final RegistryKey<PointOfInterestType>PointOfInterestTypes.MEETINGstatic final RegistryKey<PointOfInterestType>PointOfInterestTypes.NETHER_PORTALstatic final Predicate<RegistryEntry<PointOfInterestType>>PointOfInterestType.NONEprivate static final Map<BlockState,RegistryEntry<PointOfInterestType>> PointOfInterestTypes.POI_STATES_TO_TYPEprivate final Map<RegistryEntry<PointOfInterestType>,Set<PointOfInterest>> PointOfInterestSet.pointsOfInterestByTypestatic final RegistryKey<PointOfInterestType>PointOfInterestTypes.SHEPHERDstatic final RegistryKey<PointOfInterestType>PointOfInterestTypes.TOOLSMITHprivate final RegistryEntry<PointOfInterestType>PointOfInterest.typestatic final RegistryKey<PointOfInterestType>PointOfInterestTypes.WEAPONSMITHMethods in net.minecraft.world.poi that return PointOfInterestTypeModifier and TypeMethodDescriptionprivate static PointOfInterestTypePointOfInterestTypes.register(Registry<PointOfInterestType> registry, RegistryKey<PointOfInterestType> key, Set<BlockState> states, int ticketCount, int searchDistance) static PointOfInterestTypePointOfInterestTypes.registerAndGetDefault(Registry<PointOfInterestType> registry) Methods in net.minecraft.world.poi that return types with arguments of type PointOfInterestTypeModifier and TypeMethodDescriptionOptional<com.mojang.datafixers.util.Pair<RegistryEntry<PointOfInterestType>,BlockPos>> PointOfInterestStorage.getNearestTypeAndPosition(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) Stream<com.mojang.datafixers.util.Pair<RegistryEntry<PointOfInterestType>,BlockPos>> PointOfInterestStorage.getSortedTypesAndPositions(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) PointOfInterest.getType()static Optional<RegistryEntry<PointOfInterestType>>PointOfInterestTypes.getTypeForState(BlockState state) Stream<com.mojang.datafixers.util.Pair<RegistryEntry<PointOfInterestType>,BlockPos>> PointOfInterestStorage.getTypesAndPositions(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) private static RegistryKey<PointOfInterestType>Method parameters in net.minecraft.world.poi with type arguments of type PointOfInterestTypeModifier and TypeMethodDescriptionvoidPointOfInterestSet.add(BlockPos pos, RegistryEntry<PointOfInterestType> type) voidPointOfInterestStorage.add(BlockPos pos, RegistryEntry<PointOfInterestType> type) longPointOfInterestStorage.count(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) PointOfInterestSet.get(Predicate<RegistryEntry<PointOfInterestType>> predicate, PointOfInterestStorage.OccupationStatus occupationStatus) PointOfInterestStorage.getInChunk(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, ChunkPos chunkPos, PointOfInterestStorage.OccupationStatus occupationStatus) PointOfInterestStorage.getInCircle(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) PointOfInterestStorage.getInSquare(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) PointOfInterestStorage.getNearestPosition(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) PointOfInterestStorage.getNearestPosition(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) Optional<com.mojang.datafixers.util.Pair<RegistryEntry<PointOfInterestType>,BlockPos>> PointOfInterestStorage.getNearestTypeAndPosition(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) PointOfInterestStorage.getPosition(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BiPredicate<RegistryEntry<PointOfInterestType>, BlockPos> biPredicate, BlockPos pos, int radius) PointOfInterestStorage.getPosition(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BiPredicate<RegistryEntry<PointOfInterestType>, BlockPos> biPredicate, BlockPos pos, int radius) PointOfInterestStorage.getPosition(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) PointOfInterestStorage.getPosition(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> positionPredicate, PointOfInterestStorage.OccupationStatus occupationStatus, BlockPos pos, int radius, Random random) PointOfInterestStorage.getPositions(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) Stream<com.mojang.datafixers.util.Pair<RegistryEntry<PointOfInterestType>,BlockPos>> PointOfInterestStorage.getSortedTypesAndPositions(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) Stream<com.mojang.datafixers.util.Pair<RegistryEntry<PointOfInterestType>,BlockPos>> PointOfInterestStorage.getTypesAndPositions(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) booleanPointOfInterestStorage.hasTypeAt(RegistryKey<PointOfInterestType> type, BlockPos pos) private static PointOfInterestTypePointOfInterestTypes.register(Registry<PointOfInterestType> registry, RegistryKey<PointOfInterestType> key, Set<BlockState> states, int ticketCount, int searchDistance) private static PointOfInterestTypePointOfInterestTypes.register(Registry<PointOfInterestType> registry, RegistryKey<PointOfInterestType> key, Set<BlockState> states, int ticketCount, int searchDistance) static PointOfInterestTypePointOfInterestTypes.registerAndGetDefault(Registry<PointOfInterestType> registry) private static voidPointOfInterestTypes.registerStates(RegistryEntry<PointOfInterestType> poiTypeEntry, Set<BlockState> states) private voidPointOfInterestStorage.scanAndPopulate(ChunkSection chunkSection, ChunkSectionPos sectionPos, BiConsumer<BlockPos, RegistryEntry<PointOfInterestType>> populator) booleanPointOfInterestSet.test(BlockPos pos, Predicate<RegistryEntry<PointOfInterestType>> predicate) booleanPointOfInterestStorage.test(BlockPos pos, Predicate<RegistryEntry<PointOfInterestType>> predicate) voidPointOfInterestSet.updatePointsOfInterest(Consumer<BiConsumer<BlockPos, RegistryEntry<PointOfInterestType>>> updater) Constructor parameters in net.minecraft.world.poi with type arguments of type PointOfInterestTypeModifierConstructorDescriptionprivatePointOfInterest(BlockPos pos, RegistryEntry<PointOfInterestType> type, int freeTickets, Runnable updateListener) PointOfInterest(BlockPos pos, RegistryEntry<PointOfInterestType> type, Runnable updateListener)