Package net.minecraft.world.poi
Class PointOfInterestSet
java.lang.Object
net.minecraft.world.poi.PointOfInterestSet
- Mappings:
 Namespace Name named net/minecraft/world/poi/PointOfInterestSetintermediary net/minecraft/class_4157official clr
- 
Nested Class Summary
Nested Classes - 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Loggerprivate final Short2ObjectMap<PointOfInterest> private final Map<RegistryEntry<PointOfInterestType>, Set<PointOfInterest>> private final Runnableprivate boolean - 
Constructor Summary
ConstructorsConstructorDescriptionPointOfInterestSet(Runnable updateListener) PointOfInterestSet(Runnable updateListener, boolean valid, List<PointOfInterest> pois)  - 
Method Summary
Modifier 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 LOGGERLnet/minecraft/world/poi/PointOfInterestSet;LOGGER:Lorg/slf4j/Logger;intermediary field_18496Lnet/minecraft/class_4157;field_18496:Lorg/slf4j/Logger;official aLclr;a:Lorg/slf4j/Logger;
 - 
pointsOfInterestByPos
- Mappings:
 Namespace Name Mixin selector named pointsOfInterestByPosLnet/minecraft/world/poi/PointOfInterestSet;pointsOfInterestByPos:Lit/unimi/dsi/fastutil/shorts/Short2ObjectMap;intermediary field_18497Lnet/minecraft/class_4157;field_18497:Lit/unimi/dsi/fastutil/shorts/Short2ObjectMap;official bLclr;b:Lit/unimi/dsi/fastutil/shorts/Short2ObjectMap;
 - 
pointsOfInterestByType
- Mappings:
 Namespace Name Mixin selector named pointsOfInterestByTypeLnet/minecraft/world/poi/PointOfInterestSet;pointsOfInterestByType:Ljava/util/Map;intermediary field_18498Lnet/minecraft/class_4157;field_18498:Ljava/util/Map;official cLclr;c:Ljava/util/Map;
 - 
updateListener
- Mappings:
 Namespace Name Mixin selector named updateListenerLnet/minecraft/world/poi/PointOfInterestSet;updateListener:Ljava/lang/Runnable;intermediary field_18499Lnet/minecraft/class_4157;field_18499:Ljava/lang/Runnable;official dLclr;d:Ljava/lang/Runnable;
 - 
valid
private boolean valid- Mappings:
 Namespace Name Mixin selector named validLnet/minecraft/world/poi/PointOfInterestSet;valid:Zintermediary field_19226Lnet/minecraft/class_4157;field_19226:Zofficial eLclr;e:Z
 
 - 
 - 
Constructor Details
- 
PointOfInterestSet
- Mappings:
 Namespace Name Mixin selector named <init>Lnet/minecraft/world/poi/PointOfInterestSet;<init>(Ljava/lang/Runnable;)Vintermediary <init>Lnet/minecraft/class_4157;<init>(Ljava/lang/Runnable;)Vofficial <init>Lclr;<init>(Ljava/lang/Runnable;)V
 - 
PointOfInterestSet
PointOfInterestSet(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;)Vintermediary <init>Lnet/minecraft/class_4157;<init>(Ljava/lang/Runnable;ZLjava/util/List;)Vofficial <init>Lclr;<init>(Ljava/lang/Runnable;ZLjava/util/List;)V
 
 - 
 - 
Method Details
- 
toSerialized
- Mappings:
 Namespace Name Mixin selector named toSerializedLnet/minecraft/world/poi/PointOfInterestSet;toSerialized()Lnet/minecraft/world/poi/PointOfInterestSet$Serialized;intermediary method_61451Lnet/minecraft/class_4157;method_61451()Lnet/minecraft/class_4157$class_9865;official aLclr;a()Lclr$a;
 - 
get
public Stream<PointOfInterest> get(Predicate<RegistryEntry<PointOfInterestType>> predicate, PointOfInterestStorage.OccupationStatus occupationStatus) - Mappings:
 Namespace Name Mixin selector named getLnet/minecraft/world/poi/PointOfInterestSet;get(Ljava/util/function/Predicate;Lnet/minecraft/world/poi/PointOfInterestStorage$OccupationStatus;)Ljava/util/stream/Stream;intermediary method_19150Lnet/minecraft/class_4157;method_19150(Ljava/util/function/Predicate;Lnet/minecraft/class_4153$class_4155;)Ljava/util/stream/Stream;official aLclr;a(Ljava/util/function/Predicate;Lclp$b;)Ljava/util/stream/Stream;
 - 
add
- Mappings:
 Namespace Name Mixin selector named addLnet/minecraft/world/poi/PointOfInterestSet;add(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/registry/entry/RegistryEntry;)Vintermediary method_19146Lnet/minecraft/class_4157;method_19146(Lnet/minecraft/class_2338;Lnet/minecraft/class_6880;)Vofficial aLclr;a(Ljb;Ljl;)V
 - 
add
- Mappings:
 Namespace Name Mixin selector named addLnet/minecraft/world/poi/PointOfInterestSet;add(Lnet/minecraft/world/poi/PointOfInterest;)Zintermediary method_20350Lnet/minecraft/class_4157;method_20350(Lnet/minecraft/class_4156;)Zofficial aLclr;a(Lclq;)Z
 - 
remove
- Mappings:
 Namespace Name Mixin selector named removeLnet/minecraft/world/poi/PointOfInterestSet;remove(Lnet/minecraft/util/math/BlockPos;)Vintermediary method_19145Lnet/minecraft/class_4157;method_19145(Lnet/minecraft/class_2338;)Vofficial aLclr;a(Ljb;)V
 - 
getFreeTickets
Deprecated.- Mappings:
 Namespace Name Mixin selector named getFreeTicketsLnet/minecraft/world/poi/PointOfInterestSet;getFreeTickets(Lnet/minecraft/util/math/BlockPos;)Iintermediary method_35157Lnet/minecraft/class_4157;method_35157(Lnet/minecraft/class_2338;)Iofficial bLclr;b(Ljb;)I
 - 
releaseTicket
- Mappings:
 Namespace Name Mixin selector named releaseTicketLnet/minecraft/world/poi/PointOfInterestSet;releaseTicket(Lnet/minecraft/util/math/BlockPos;)Zintermediary method_19153Lnet/minecraft/class_4157;method_19153(Lnet/minecraft/class_2338;)Zofficial cLclr;c(Ljb;)Z
 - 
test
- Mappings:
 Namespace Name Mixin selector named testLnet/minecraft/world/poi/PointOfInterestSet;test(Lnet/minecraft/util/math/BlockPos;Ljava/util/function/Predicate;)Zintermediary method_19147Lnet/minecraft/class_4157;method_19147(Lnet/minecraft/class_2338;Ljava/util/function/Predicate;)Zofficial aLclr;a(Ljb;Ljava/util/function/Predicate;)Z
 - 
getType
- Mappings:
 Namespace Name Mixin selector named getTypeLnet/minecraft/world/poi/PointOfInterestSet;getType(Lnet/minecraft/util/math/BlockPos;)Ljava/util/Optional;intermediary method_19154Lnet/minecraft/class_4157;method_19154(Lnet/minecraft/class_2338;)Ljava/util/Optional;official dLclr;d(Ljb;)Ljava/util/Optional;
 - 
get
- Mappings:
 Namespace Name Mixin selector named getLnet/minecraft/world/poi/PointOfInterestSet;get(Lnet/minecraft/util/math/BlockPos;)Ljava/util/Optional;intermediary method_33584Lnet/minecraft/class_4157;method_33584(Lnet/minecraft/class_2338;)Ljava/util/Optional;official eLclr;e(Ljb;)Ljava/util/Optional;
 - 
updatePointsOfInterest
public void updatePointsOfInterest(Consumer<BiConsumer<BlockPos, RegistryEntry<PointOfInterestType>>> updater) - Mappings:
 Namespace Name Mixin selector named updatePointsOfInterestLnet/minecraft/world/poi/PointOfInterestSet;updatePointsOfInterest(Ljava/util/function/Consumer;)Vintermediary method_20353Lnet/minecraft/class_4157;method_20353(Ljava/util/function/Consumer;)Vofficial aLclr;a(Ljava/util/function/Consumer;)V
 - 
clear
private void clear()- Mappings:
 Namespace Name Mixin selector named clearLnet/minecraft/world/poi/PointOfInterestSet;clear()Vintermediary method_20395Lnet/minecraft/class_4157;method_20395()Vofficial cLclr;c()V
 - 
isValid
boolean isValid()- Mappings:
 Namespace Name Mixin selector named isValidLnet/minecraft/world/poi/PointOfInterestSet;isValid()Zintermediary method_22444Lnet/minecraft/class_4157;method_22444()Zofficial bLclr;b()Z
 
 -