Package net.minecraft.world.poi
Class PointOfInterestSet
java.lang.Object
net.minecraft.world.poi.PointOfInterestSet
- Mappings:
- Namespace - Name - named - net/minecraft/world/poi/PointOfInterestSet- intermediary - net/minecraft/class_4157- official - cgo
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final Loggerprivate final Short2ObjectMap<PointOfInterest> private final Map<RegistryEntry<PointOfInterestType>, Set<PointOfInterest>> private final Runnableprivate boolean
- 
Constructor SummaryConstructorsConstructorDescriptionPointOfInterestSet(Runnable updateListener) PointOfInterestSet(Runnable updateListener, boolean valid, List<PointOfInterest> pois) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidadd(BlockPos pos, RegistryEntry<PointOfInterestType> type) private booleanadd(PointOfInterest poi) private voidclear()get(Predicate<RegistryEntry<PointOfInterestType>> predicate, PointOfInterestStorage.OccupationStatus occupationStatus) private Optional<PointOfInterest> intgetFreeTickets(BlockPos pos) Deprecated.(package private) booleanisValid()booleanreleaseTicket(BlockPos pos) voidbooleantest(BlockPos pos, Predicate<RegistryEntry<PointOfInterestType>> predicate) void
- 
Field Details- 
LOGGER- Mappings:
- Namespace - Name - Mixin selector - named - LOGGER- Lnet/minecraft/world/poi/PointOfInterestSet;LOGGER:Lorg/slf4j/Logger;- intermediary - field_18496- Lnet/minecraft/class_4157;field_18496:Lorg/slf4j/Logger;- official - a- Lcgo;a:Lorg/slf4j/Logger;
 
- 
pointsOfInterestByPos- Mappings:
- Namespace - Name - Mixin selector - named - pointsOfInterestByPos- Lnet/minecraft/world/poi/PointOfInterestSet;pointsOfInterestByPos:Lit/unimi/dsi/fastutil/shorts/Short2ObjectMap;- intermediary - field_18497- Lnet/minecraft/class_4157;field_18497:Lit/unimi/dsi/fastutil/shorts/Short2ObjectMap;- official - b- Lcgo;b:Lit/unimi/dsi/fastutil/shorts/Short2ObjectMap;
 
- 
pointsOfInterestByType- Mappings:
- Namespace - Name - Mixin selector - named - pointsOfInterestByType- Lnet/minecraft/world/poi/PointOfInterestSet;pointsOfInterestByType:Ljava/util/Map;- intermediary - field_18498- Lnet/minecraft/class_4157;field_18498:Ljava/util/Map;- official - c- Lcgo;c:Ljava/util/Map;
 
- 
updateListener- Mappings:
- Namespace - Name - Mixin selector - named - updateListener- Lnet/minecraft/world/poi/PointOfInterestSet;updateListener:Ljava/lang/Runnable;- intermediary - field_18499- Lnet/minecraft/class_4157;field_18499:Ljava/lang/Runnable;- official - d- Lcgo;d:Ljava/lang/Runnable;
 
- 
validprivate boolean valid- Mappings:
- Namespace - Name - Mixin selector - named - valid- Lnet/minecraft/world/poi/PointOfInterestSet;valid:Z- intermediary - field_19226- Lnet/minecraft/class_4157;field_19226:Z- official - e- Lcgo;e:Z
 
 
- 
- 
Constructor Details- 
PointOfInterestSet- Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/world/poi/PointOfInterestSet;<init>(Ljava/lang/Runnable;)V- intermediary - <init>- Lnet/minecraft/class_4157;<init>(Ljava/lang/Runnable;)V- official - <init>- Lcgo;<init>(Ljava/lang/Runnable;)V
 
- 
PointOfInterestSetPointOfInterestSet(Runnable updateListener, boolean valid, List<PointOfInterest> pois) - Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/world/poi/PointOfInterestSet;<init>(Ljava/lang/Runnable;ZLjava/util/List;)V- intermediary - <init>- Lnet/minecraft/class_4157;<init>(Ljava/lang/Runnable;ZLjava/util/List;)V- official - <init>- Lcgo;<init>(Ljava/lang/Runnable;ZLjava/util/List;)V
 
 
- 
- 
Method Details- 
toSerialized- Mappings:
- Namespace - Name - Mixin selector - named - toSerialized- Lnet/minecraft/world/poi/PointOfInterestSet;toSerialized()Lnet/minecraft/world/poi/PointOfInterestSet$Serialized;- intermediary - method_61451- Lnet/minecraft/class_4157;method_61451()Lnet/minecraft/class_4157$class_9865;- official - a- Lcgo;a()Lcgo$a;
 
- 
getpublic Stream<PointOfInterest> get(Predicate<RegistryEntry<PointOfInterestType>> predicate, PointOfInterestStorage.OccupationStatus occupationStatus) - Mappings:
- Namespace - Name - Mixin selector - named - get- Lnet/minecraft/world/poi/PointOfInterestSet;get(Ljava/util/function/Predicate;Lnet/minecraft/world/poi/PointOfInterestStorage$OccupationStatus;)Ljava/util/stream/Stream;- intermediary - method_19150- Lnet/minecraft/class_4157;method_19150(Ljava/util/function/Predicate;Lnet/minecraft/class_4153$class_4155;)Ljava/util/stream/Stream;- official - a- Lcgo;a(Ljava/util/function/Predicate;Lcgm$b;)Ljava/util/stream/Stream;
 
- 
add- Mappings:
- Namespace - Name - Mixin selector - named - add- Lnet/minecraft/world/poi/PointOfInterestSet;add(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/registry/entry/RegistryEntry;)V- intermediary - method_19146- Lnet/minecraft/class_4157;method_19146(Lnet/minecraft/class_2338;Lnet/minecraft/class_6880;)V- official - a- Lcgo;a(Lji;Ljr;)V
 
- 
add- Mappings:
- Namespace - Name - Mixin selector - named - add- Lnet/minecraft/world/poi/PointOfInterestSet;add(Lnet/minecraft/world/poi/PointOfInterest;)Z- intermediary - method_20350- Lnet/minecraft/class_4157;method_20350(Lnet/minecraft/class_4156;)Z- official - a- Lcgo;a(Lcgn;)Z
 
- 
remove- Mappings:
- Namespace - Name - Mixin selector - named - remove- Lnet/minecraft/world/poi/PointOfInterestSet;remove(Lnet/minecraft/util/math/BlockPos;)V- intermediary - method_19145- Lnet/minecraft/class_4157;method_19145(Lnet/minecraft/class_2338;)V- official - a- Lcgo;a(Lji;)V
 
- 
getFreeTicketsDeprecated.- Mappings:
- Namespace - Name - Mixin selector - named - getFreeTickets- Lnet/minecraft/world/poi/PointOfInterestSet;getFreeTickets(Lnet/minecraft/util/math/BlockPos;)I- intermediary - method_35157- Lnet/minecraft/class_4157;method_35157(Lnet/minecraft/class_2338;)I- official - b- Lcgo;b(Lji;)I
 
- 
releaseTicket- Mappings:
- Namespace - Name - Mixin selector - named - releaseTicket- Lnet/minecraft/world/poi/PointOfInterestSet;releaseTicket(Lnet/minecraft/util/math/BlockPos;)Z- intermediary - method_19153- Lnet/minecraft/class_4157;method_19153(Lnet/minecraft/class_2338;)Z- official - c- Lcgo;c(Lji;)Z
 
- 
test- Mappings:
- Namespace - Name - Mixin selector - named - test- Lnet/minecraft/world/poi/PointOfInterestSet;test(Lnet/minecraft/util/math/BlockPos;Ljava/util/function/Predicate;)Z- intermediary - method_19147- Lnet/minecraft/class_4157;method_19147(Lnet/minecraft/class_2338;Ljava/util/function/Predicate;)Z- official - a- Lcgo;a(Lji;Ljava/util/function/Predicate;)Z
 
- 
getType- Mappings:
- Namespace - Name - Mixin selector - named - getType- Lnet/minecraft/world/poi/PointOfInterestSet;getType(Lnet/minecraft/util/math/BlockPos;)Ljava/util/Optional;- intermediary - method_19154- Lnet/minecraft/class_4157;method_19154(Lnet/minecraft/class_2338;)Ljava/util/Optional;- official - d- Lcgo;d(Lji;)Ljava/util/Optional;
 
- 
get- Mappings:
- Namespace - Name - Mixin selector - named - get- Lnet/minecraft/world/poi/PointOfInterestSet;get(Lnet/minecraft/util/math/BlockPos;)Ljava/util/Optional;- intermediary - method_33584- Lnet/minecraft/class_4157;method_33584(Lnet/minecraft/class_2338;)Ljava/util/Optional;- official - e- Lcgo;e(Lji;)Ljava/util/Optional;
 
- 
updatePointsOfInterestpublic void updatePointsOfInterest(Consumer<BiConsumer<BlockPos, RegistryEntry<PointOfInterestType>>> updater) - Mappings:
- Namespace - Name - Mixin selector - named - updatePointsOfInterest- Lnet/minecraft/world/poi/PointOfInterestSet;updatePointsOfInterest(Ljava/util/function/Consumer;)V- intermediary - method_20353- Lnet/minecraft/class_4157;method_20353(Ljava/util/function/Consumer;)V- official - a- Lcgo;a(Ljava/util/function/Consumer;)V
 
- 
clearprivate void clear()- Mappings:
- Namespace - Name - Mixin selector - named - clear- Lnet/minecraft/world/poi/PointOfInterestSet;clear()V- intermediary - method_20395- Lnet/minecraft/class_4157;method_20395()V- official - c- Lcgo;c()V
 
- 
isValidboolean isValid()- Mappings:
- Namespace - Name - Mixin selector - named - isValid- Lnet/minecraft/world/poi/PointOfInterestSet;isValid()Z- intermediary - method_22444- Lnet/minecraft/class_4157;method_22444()Z- official - b- Lcgo;b()Z
 
 
-