Uses of Class
net.minecraft.world.poi.PointOfInterestType
Package
Description
-
Uses of PointOfInterestType in net.minecraft.entity.ai.brain.task
Modifier and TypeFieldDescriptionprivate final PointOfInterestType
FindPointOfInterestTask.poiType
Modifier and TypeFieldDescriptionprivate final Predicate<PointOfInterestType>
ForgetCompletedPointOfInterestTask.condition
Modifier and TypeMethodDescriptionprivate boolean
TakeJobSiteTask.canReachJobSite
(VillagerEntity villager, BlockPos pos, PointOfInterestType poiType) private boolean
TakeJobSiteTask.canUseJobSite
(PointOfInterestType poiType, VillagerEntity villager, BlockPos pos) private boolean
WorkStationCompetitionTask.isCompletedWorkStation
(PointOfInterestType poiType, VillagerProfession profession) private boolean
WorkStationCompetitionTask.isUsingWorkStationAt
(GlobalPos pos, PointOfInterestType poiType, VillagerEntity villager) ModifierConstructorDescriptionFindPointOfInterestTask
(PointOfInterestType poiType, MemoryModuleType<GlobalPos> moduleType, boolean onlyRunIfChild, Optional<Byte> entityStatus) FindPointOfInterestTask
(PointOfInterestType poiType, MemoryModuleType<GlobalPos> moduleType, MemoryModuleType<GlobalPos> targetMemoryModuleType, boolean onlyRunIfChild, Optional<Byte> entityStatus) ForgetCompletedPointOfInterestTask
(PointOfInterestType poiType, MemoryModuleType<GlobalPos> memoryModule) -
Uses of PointOfInterestType in net.minecraft.entity.passive
Modifier and TypeFieldDescriptionstatic final Map<MemoryModuleType<GlobalPos>,
BiPredicate<VillagerEntity, PointOfInterestType>> VillagerEntity.POINTS_OF_INTEREST
-
Uses of PointOfInterestType in net.minecraft.util.registry
Modifier and TypeFieldDescriptionstatic final DefaultedRegistry<PointOfInterestType>
Registry.POINT_OF_INTEREST_TYPE
static final RegistryKey<Registry<PointOfInterestType>>
Registry.POINT_OF_INTEREST_TYPE_KEY
-
Uses of PointOfInterestType in net.minecraft.village
Modifier and TypeFieldDescriptionprivate final PointOfInterestType
VillagerProfession.workStation
Modifier and TypeMethodDescription(package private) static VillagerProfession
VillagerProfession.register
(String id, PointOfInterestType workStation, @Nullable SoundEvent workSound) (package private) static VillagerProfession
VillagerProfession.register
(String id, PointOfInterestType workStation, ImmutableSet<Item> gatherableItems, ImmutableSet<Block> secondaryJobSites, @Nullable SoundEvent workSound) ModifierConstructorDescriptionprivate
VillagerProfession
(String id, PointOfInterestType workStation, ImmutableSet<Item> gatherableItems, ImmutableSet<Block> secondaryJobSites, @Nullable SoundEvent workSound) -
Uses of PointOfInterestType in net.minecraft.world.poi
Modifier and TypeFieldDescriptionstatic final PointOfInterestType
PointOfInterestType.ARMORER
static final PointOfInterestType
PointOfInterestType.BEE_NEST
static final PointOfInterestType
PointOfInterestType.BEEHIVE
static final PointOfInterestType
PointOfInterestType.BUTCHER
static final PointOfInterestType
PointOfInterestType.CARTOGRAPHER
static final PointOfInterestType
PointOfInterestType.CLERIC
static final PointOfInterestType
PointOfInterestType.FARMER
static final PointOfInterestType
PointOfInterestType.FISHERMAN
static final PointOfInterestType
PointOfInterestType.FLETCHER
static final PointOfInterestType
PointOfInterestType.HOME
static final PointOfInterestType
PointOfInterestType.LEATHERWORKER
static final PointOfInterestType
PointOfInterestType.LIBRARIAN
static final PointOfInterestType
PointOfInterestType.LIGHTNING_ROD
static final PointOfInterestType
PointOfInterestType.LODESTONE
static final PointOfInterestType
PointOfInterestType.MASON
static final PointOfInterestType
PointOfInterestType.MEETING
static final PointOfInterestType
PointOfInterestType.NETHER_PORTAL
static final PointOfInterestType
PointOfInterestType.NITWIT
static final PointOfInterestType
PointOfInterestType.SHEPHERD
static final PointOfInterestType
PointOfInterestType.TOOLSMITH
private final PointOfInterestType
PointOfInterest.type
static final PointOfInterestType
PointOfInterestType.UNEMPLOYED
static final PointOfInterestType
PointOfInterestType.WEAPONSMITH
Modifier and TypeFieldDescriptionstatic final Predicate<PointOfInterestType>
PointOfInterestType.ALWAYS_TRUE
private static final Map<BlockState,
PointOfInterestType> PointOfInterestType.BLOCK_STATE_TO_POINT_OF_INTEREST_TYPE
private final Predicate<PointOfInterestType>
PointOfInterestType.completionCondition
static final Predicate<PointOfInterestType>
PointOfInterestType.IS_USED_BY_PROFESSION
private final Map<PointOfInterestType,
Set<PointOfInterest>> PointOfInterestSet.pointsOfInterestByType
private static final Supplier<Set<PointOfInterestType>>
PointOfInterestType.VILLAGER_WORKSTATIONS
Modifier and TypeMethodDescriptionPointOfInterest.getType()
private static PointOfInterestType
PointOfInterestType.register
(String id, Set<BlockState> workStationStates, int ticketCount, int searchDistance) private static PointOfInterestType
PointOfInterestType.register
(String id, Set<BlockState> workStationStates, int ticketCount, Predicate<PointOfInterestType> completionCondition, int searchDistance) private static PointOfInterestType
PointOfInterestType.setup
(PointOfInterestType poiType) Modifier and TypeMethodDescriptionstatic Optional<PointOfInterestType>
PointOfInterestType.from
(BlockState state) PointOfInterestType.getCompletionCondition()
Modifier and TypeMethodDescriptionvoid
PointOfInterestSet.add
(BlockPos pos, PointOfInterestType type) void
PointOfInterestStorage.add
(BlockPos pos, PointOfInterestType type) boolean
PointOfInterestStorage.hasTypeAt
(PointOfInterestType type, BlockPos pos) private static PointOfInterestType
PointOfInterestType.setup
(PointOfInterestType poiType) Modifier and TypeMethodDescriptionlong
PointOfInterestStorage.count
(Predicate<PointOfInterestType> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) PointOfInterestSet.get
(Predicate<PointOfInterestType> predicate, PointOfInterestStorage.OccupationStatus occupationStatus) PointOfInterestStorage.getInChunk
(Predicate<PointOfInterestType> predicate, ChunkPos chunkPos, PointOfInterestStorage.OccupationStatus occupationStatus) PointOfInterestStorage.getInCircle
(Predicate<PointOfInterestType> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) PointOfInterestStorage.getInSquare
(Predicate<PointOfInterestType> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) PointOfInterestStorage.getNearestPosition
(Predicate<PointOfInterestType> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) PointOfInterestStorage.getPosition
(Predicate<PointOfInterestType> typePredicate, Predicate<BlockPos> positionPredicate, BlockPos pos, int radius) PointOfInterestStorage.getPosition
(Predicate<PointOfInterestType> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) PointOfInterestStorage.getPosition
(Predicate<PointOfInterestType> typePredicate, Predicate<BlockPos> positionPredicate, PointOfInterestStorage.OccupationStatus occupationStatus, BlockPos pos, int radius, Random random) PointOfInterestStorage.getPositions
(Predicate<PointOfInterestType> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) PointOfInterestStorage.getSortedPositions
(Predicate<PointOfInterestType> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) PointOfInterestStorage.method_34712
(Predicate<PointOfInterestType> predicate, Predicate<BlockPos> predicate2, BlockPos blockPos, int int2, PointOfInterestStorage.OccupationStatus occupationStatus) private static PointOfInterestType
PointOfInterestType.register
(String id, Set<BlockState> workStationStates, int ticketCount, Predicate<PointOfInterestType> completionCondition, int searchDistance) private void
PointOfInterestStorage.scanAndPopulate
(ChunkSection chunkSection, ChunkSectionPos chunkSectionPos, BiConsumer<BlockPos, PointOfInterestType> biConsumer) boolean
PointOfInterestSet.test
(BlockPos pos, Predicate<PointOfInterestType> predicate) boolean
PointOfInterestStorage.test
(BlockPos pos, Predicate<PointOfInterestType> predicate) void
PointOfInterestSet.updatePointsOfInterest
(Consumer<BiConsumer<BlockPos, PointOfInterestType>> consumer) ModifierConstructorDescriptionprivate
PointOfInterest
(BlockPos pos, PointOfInterestType type, int freeTickets, Runnable updateListener) PointOfInterest
(BlockPos pos, PointOfInterestType type, Runnable updateListener) ModifierConstructorDescriptionprivate
PointOfInterestType
(String id, Set<BlockState> blockStates, int ticketCount, Predicate<PointOfInterestType> completionCondition, int searchDistance)