Package net.minecraft.world.poi
Class PointOfInterestStorage
java.lang.Object
net.minecraft.world.storage.SerializingRegionBasedStorage<PointOfInterestSet>
net.minecraft.world.poi.PointOfInterestStorage
- All Implemented Interfaces:
AutoCloseable
- Mappings:
Namespace Name named net/minecraft/world/poi/PointOfInterestStorageintermediary net/minecraft/class_4153official ces
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumprivate final class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intprivate final PointOfInterestStorage.PointOfInterestDistanceTrackerprivate final LongSetFields inherited from class net.minecraft.world.storage.SerializingRegionBasedStorage
world -
Constructor Summary
ConstructorsConstructorDescriptionPointOfInterestStorage(StorageKey storageKey, Path directory, com.mojang.datafixers.DataFixer dataFixer, boolean dsync, DynamicRegistryManager registryManager, ChunkErrorHandler errorHandler, HeightLimitView world) -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(BlockPos pos, RegistryEntry<PointOfInterestType> type) longcount(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) intintgetFreeTickets(BlockPos pos) Deprecated.getInChunk(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, ChunkPos chunkPos, PointOfInterestStorage.OccupationStatus occupationStatus) getInCircle(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) getInSquare(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) getNearestPosition(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) getNearestPosition(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) Optional<com.mojang.datafixers.util.Pair<RegistryEntry<PointOfInterestType>, BlockPos>> getNearestTypeAndPosition(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) getPosition(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BiPredicate<RegistryEntry<PointOfInterestType>, BlockPos> biPredicate, BlockPos pos, int radius) getPosition(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) getPosition(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> positionPredicate, PointOfInterestStorage.OccupationStatus occupationStatus, BlockPos pos, int radius, Random random) getPositions(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) Stream<com.mojang.datafixers.util.Pair<RegistryEntry<PointOfInterestType>, BlockPos>> getSortedTypesAndPositions(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) Stream<com.mojang.datafixers.util.Pair<RegistryEntry<PointOfInterestType>, BlockPos>> getTypesAndPositions(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) booleanhasTypeAt(RegistryKey<PointOfInterestType> type, BlockPos pos) voidinitForPalette(ChunkSectionPos sectionPos, ChunkSection chunkSection) (package private) booleanisOccupied(long pos) protected voidonLoad(long pos) protected voidonUpdate(long pos) voidpreloadChunks(WorldView world, BlockPos pos, int radius) Preloads chunks in a square area with the given radius.booleanreleaseTicket(BlockPos pos) voidprivate voidscanAndPopulate(ChunkSection chunkSection, ChunkSectionPos sectionPos, BiConsumer<BlockPos, RegistryEntry<PointOfInterestType>> populator) private static booleanshouldScan(ChunkSection chunkSection) booleantest(BlockPos pos, Predicate<RegistryEntry<PointOfInterestType>> predicate) voidtick(BooleanSupplier shouldKeepTicking) Methods inherited from class net.minecraft.world.storage.SerializingRegionBasedStorage
close, get, getIfLoaded, getOrCreate, hasUnsavedElements, isPosInvalid, saveChunk
-
Field Details
-
field_30265
public static final int field_30265- See Also:
- Mappings:
Namespace Name Mixin selector named field_30265Lnet/minecraft/world/poi/PointOfInterestStorage;field_30265:Iintermediary field_30265Lnet/minecraft/class_4153;field_30265:Iofficial aLces;a:I
-
field_30266
public static final int field_30266- See Also:
- Mappings:
Namespace Name Mixin selector named field_30266Lnet/minecraft/world/poi/PointOfInterestStorage;field_30266:Iintermediary field_30266Lnet/minecraft/class_4153;field_30266:Iofficial bLces;b:I
-
pointOfInterestDistanceTracker
- Mappings:
Namespace Name Mixin selector named pointOfInterestDistanceTrackerLnet/minecraft/world/poi/PointOfInterestStorage;pointOfInterestDistanceTracker:Lnet/minecraft/world/poi/PointOfInterestStorage$PointOfInterestDistanceTracker;intermediary field_18484Lnet/minecraft/class_4153;field_18484:Lnet/minecraft/class_4153$class_4154;official dLces;d:Lces$a;
-
preloadedChunks
- Mappings:
Namespace Name Mixin selector named preloadedChunksLnet/minecraft/world/poi/PointOfInterestStorage;preloadedChunks:Lit/unimi/dsi/fastutil/longs/LongSet;intermediary field_20688Lnet/minecraft/class_4153;field_20688:Lit/unimi/dsi/fastutil/longs/LongSet;official eLces;e:Lit/unimi/dsi/fastutil/longs/LongSet;
-
-
Constructor Details
-
PointOfInterestStorage
public PointOfInterestStorage(StorageKey storageKey, Path directory, com.mojang.datafixers.DataFixer dataFixer, boolean dsync, DynamicRegistryManager registryManager, ChunkErrorHandler errorHandler, HeightLimitView world) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/world/poi/PointOfInterestStorage;<init>(Lnet/minecraft/world/storage/StorageKey;Ljava/nio/file/Path;Lcom/mojang/datafixers/DataFixer;ZLnet/minecraft/registry/DynamicRegistryManager;Lnet/minecraft/server/world/ChunkErrorHandler;Lnet/minecraft/world/HeightLimitView;)Vintermediary <init>Lnet/minecraft/class_4153;<init>(Lnet/minecraft/class_9240;Ljava/nio/file/Path;Lcom/mojang/datafixers/DataFixer;ZLnet/minecraft/class_5455;Lnet/minecraft/class_9820;Lnet/minecraft/class_5539;)Vofficial <init>Lces;<init>(Ldws;Ljava/nio/file/Path;Lcom/mojang/datafixers/DataFixer;ZLka;Ldwg;Ldcy;)V
-
-
Method Details
-
add
- Mappings:
Namespace Name Mixin selector named addLnet/minecraft/world/poi/PointOfInterestStorage;add(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/registry/entry/RegistryEntry;)Vintermediary method_19115Lnet/minecraft/class_4153;method_19115(Lnet/minecraft/class_2338;Lnet/minecraft/class_6880;)Vofficial aLces;a(Ljd;Ljm;)V
-
remove
- Mappings:
Namespace Name Mixin selector named removeLnet/minecraft/world/poi/PointOfInterestStorage;remove(Lnet/minecraft/util/math/BlockPos;)Vintermediary method_19112Lnet/minecraft/class_4153;method_19112(Lnet/minecraft/class_2338;)Vofficial aLces;a(Ljd;)V
-
count
public long count(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) - Mappings:
Namespace Name Mixin selector named countLnet/minecraft/world/poi/PointOfInterestStorage;count(Ljava/util/function/Predicate;Lnet/minecraft/util/math/BlockPos;ILnet/minecraft/world/poi/PointOfInterestStorage$OccupationStatus;)Jintermediary method_20252Lnet/minecraft/class_4153;method_20252(Ljava/util/function/Predicate;Lnet/minecraft/class_2338;ILnet/minecraft/class_4153$class_4155;)Jofficial aLces;a(Ljava/util/function/Predicate;Ljd;ILces$b;)J
-
hasTypeAt
- Mappings:
Namespace Name Mixin selector named hasTypeAtLnet/minecraft/world/poi/PointOfInterestStorage;hasTypeAt(Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/util/math/BlockPos;)Zintermediary method_26339Lnet/minecraft/class_4153;method_26339(Lnet/minecraft/class_5321;Lnet/minecraft/class_2338;)Zofficial aLces;a(Lakq;Ljd;)Z
-
getInSquare
public Stream<PointOfInterest> getInSquare(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) - Mappings:
Namespace Name Mixin selector named getInSquareLnet/minecraft/world/poi/PointOfInterestStorage;getInSquare(Ljava/util/function/Predicate;Lnet/minecraft/util/math/BlockPos;ILnet/minecraft/world/poi/PointOfInterestStorage$OccupationStatus;)Ljava/util/stream/Stream;intermediary method_22383Lnet/minecraft/class_4153;method_22383(Ljava/util/function/Predicate;Lnet/minecraft/class_2338;ILnet/minecraft/class_4153$class_4155;)Ljava/util/stream/Stream;official bLces;b(Ljava/util/function/Predicate;Ljd;ILces$b;)Ljava/util/stream/Stream;
-
getInCircle
public Stream<PointOfInterest> getInCircle(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) - Mappings:
Namespace Name Mixin selector named getInCircleLnet/minecraft/world/poi/PointOfInterestStorage;getInCircle(Ljava/util/function/Predicate;Lnet/minecraft/util/math/BlockPos;ILnet/minecraft/world/poi/PointOfInterestStorage$OccupationStatus;)Ljava/util/stream/Stream;intermediary method_19125Lnet/minecraft/class_4153;method_19125(Ljava/util/function/Predicate;Lnet/minecraft/class_2338;ILnet/minecraft/class_4153$class_4155;)Ljava/util/stream/Stream;official cLces;c(Ljava/util/function/Predicate;Ljd;ILces$b;)Ljava/util/stream/Stream;
-
getInChunk
public Stream<PointOfInterest> getInChunk(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, ChunkPos chunkPos, PointOfInterestStorage.OccupationStatus occupationStatus) - Mappings:
Namespace Name Mixin selector named getInChunkLnet/minecraft/world/poi/PointOfInterestStorage;getInChunk(Ljava/util/function/Predicate;Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/world/poi/PointOfInterestStorage$OccupationStatus;)Ljava/util/stream/Stream;intermediary method_19123Lnet/minecraft/class_4153;method_19123(Ljava/util/function/Predicate;Lnet/minecraft/class_1923;Lnet/minecraft/class_4153$class_4155;)Ljava/util/stream/Stream;official aLces;a(Ljava/util/function/Predicate;Ldcd;Lces$b;)Ljava/util/stream/Stream;
-
getPositions
public Stream<BlockPos> getPositions(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) - Mappings:
Namespace Name Mixin selector named getPositionsLnet/minecraft/world/poi/PointOfInterestStorage;getPositions(Ljava/util/function/Predicate;Ljava/util/function/Predicate;Lnet/minecraft/util/math/BlockPos;ILnet/minecraft/world/poi/PointOfInterestStorage$OccupationStatus;)Ljava/util/stream/Stream;intermediary method_21647Lnet/minecraft/class_4153;method_21647(Ljava/util/function/Predicate;Ljava/util/function/Predicate;Lnet/minecraft/class_2338;ILnet/minecraft/class_4153$class_4155;)Ljava/util/stream/Stream;official aLces;a(Ljava/util/function/Predicate;Ljava/util/function/Predicate;Ljd;ILces$b;)Ljava/util/stream/Stream;
-
getTypesAndPositions
public Stream<com.mojang.datafixers.util.Pair<RegistryEntry<PointOfInterestType>,BlockPos>> getTypesAndPositions(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) - Mappings:
Namespace Name Mixin selector named getTypesAndPositionsLnet/minecraft/world/poi/PointOfInterestStorage;getTypesAndPositions(Ljava/util/function/Predicate;Ljava/util/function/Predicate;Lnet/minecraft/util/math/BlockPos;ILnet/minecraft/world/poi/PointOfInterestStorage$OccupationStatus;)Ljava/util/stream/Stream;intermediary method_43983Lnet/minecraft/class_4153;method_43983(Ljava/util/function/Predicate;Ljava/util/function/Predicate;Lnet/minecraft/class_2338;ILnet/minecraft/class_4153$class_4155;)Ljava/util/stream/Stream;official bLces;b(Ljava/util/function/Predicate;Ljava/util/function/Predicate;Ljd;ILces$b;)Ljava/util/stream/Stream;
-
getSortedTypesAndPositions
public Stream<com.mojang.datafixers.util.Pair<RegistryEntry<PointOfInterestType>,BlockPos>> getSortedTypesAndPositions(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) - Mappings:
Namespace Name Mixin selector named getSortedTypesAndPositionsLnet/minecraft/world/poi/PointOfInterestStorage;getSortedTypesAndPositions(Ljava/util/function/Predicate;Ljava/util/function/Predicate;Lnet/minecraft/util/math/BlockPos;ILnet/minecraft/world/poi/PointOfInterestStorage$OccupationStatus;)Ljava/util/stream/Stream;intermediary method_30957Lnet/minecraft/class_4153;method_30957(Ljava/util/function/Predicate;Ljava/util/function/Predicate;Lnet/minecraft/class_2338;ILnet/minecraft/class_4153$class_4155;)Ljava/util/stream/Stream;official cLces;c(Ljava/util/function/Predicate;Ljava/util/function/Predicate;Ljd;ILces$b;)Ljava/util/stream/Stream;
-
getPosition
public Optional<BlockPos> getPosition(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) - Mappings:
Namespace Name Mixin selector named getPositionLnet/minecraft/world/poi/PointOfInterestStorage;getPosition(Ljava/util/function/Predicate;Ljava/util/function/Predicate;Lnet/minecraft/util/math/BlockPos;ILnet/minecraft/world/poi/PointOfInterestStorage$OccupationStatus;)Ljava/util/Optional;intermediary method_19127Lnet/minecraft/class_4153;method_19127(Ljava/util/function/Predicate;Ljava/util/function/Predicate;Lnet/minecraft/class_2338;ILnet/minecraft/class_4153$class_4155;)Ljava/util/Optional;official dLces;d(Ljava/util/function/Predicate;Ljava/util/function/Predicate;Ljd;ILces$b;)Ljava/util/Optional;
-
getNearestPosition
public Optional<BlockPos> getNearestPosition(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) - Mappings:
Namespace Name Mixin selector named getNearestPositionLnet/minecraft/world/poi/PointOfInterestStorage;getNearestPosition(Ljava/util/function/Predicate;Lnet/minecraft/util/math/BlockPos;ILnet/minecraft/world/poi/PointOfInterestStorage$OccupationStatus;)Ljava/util/Optional;intermediary method_20006Lnet/minecraft/class_4153;method_20006(Ljava/util/function/Predicate;Lnet/minecraft/class_2338;ILnet/minecraft/class_4153$class_4155;)Ljava/util/Optional;official dLces;d(Ljava/util/function/Predicate;Ljd;ILces$b;)Ljava/util/Optional;
-
getNearestTypeAndPosition
public Optional<com.mojang.datafixers.util.Pair<RegistryEntry<PointOfInterestType>,BlockPos>> getNearestTypeAndPosition(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) - Mappings:
Namespace Name Mixin selector named getNearestTypeAndPositionLnet/minecraft/world/poi/PointOfInterestStorage;getNearestTypeAndPosition(Ljava/util/function/Predicate;Lnet/minecraft/util/math/BlockPos;ILnet/minecraft/world/poi/PointOfInterestStorage$OccupationStatus;)Ljava/util/Optional;intermediary method_43985Lnet/minecraft/class_4153;method_43985(Ljava/util/function/Predicate;Lnet/minecraft/class_2338;ILnet/minecraft/class_4153$class_4155;)Ljava/util/Optional;official eLces;e(Ljava/util/function/Predicate;Ljd;ILces$b;)Ljava/util/Optional;
-
getNearestPosition
public Optional<BlockPos> getNearestPosition(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) - Mappings:
Namespace Name Mixin selector named getNearestPositionLnet/minecraft/world/poi/PointOfInterestStorage;getNearestPosition(Ljava/util/function/Predicate;Ljava/util/function/Predicate;Lnet/minecraft/util/math/BlockPos;ILnet/minecraft/world/poi/PointOfInterestStorage$OccupationStatus;)Ljava/util/Optional;intermediary method_34712Lnet/minecraft/class_4153;method_34712(Ljava/util/function/Predicate;Ljava/util/function/Predicate;Lnet/minecraft/class_2338;ILnet/minecraft/class_4153$class_4155;)Ljava/util/Optional;official eLces;e(Ljava/util/function/Predicate;Ljava/util/function/Predicate;Ljd;ILces$b;)Ljava/util/Optional;
-
getPosition
public Optional<BlockPos> getPosition(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BiPredicate<RegistryEntry<PointOfInterestType>, BlockPos> biPredicate, BlockPos pos, int radius) - Mappings:
Namespace Name Mixin selector named getPositionLnet/minecraft/world/poi/PointOfInterestStorage;getPosition(Ljava/util/function/Predicate;Ljava/util/function/BiPredicate;Lnet/minecraft/util/math/BlockPos;I)Ljava/util/Optional;intermediary method_19126Lnet/minecraft/class_4153;method_19126(Ljava/util/function/Predicate;Ljava/util/function/BiPredicate;Lnet/minecraft/class_2338;I)Ljava/util/Optional;official aLces;a(Ljava/util/function/Predicate;Ljava/util/function/BiPredicate;Ljd;I)Ljava/util/Optional;
-
getPosition
public Optional<BlockPos> getPosition(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> positionPredicate, PointOfInterestStorage.OccupationStatus occupationStatus, BlockPos pos, int radius, Random random) - Mappings:
Namespace Name Mixin selector named getPositionLnet/minecraft/world/poi/PointOfInterestStorage;getPosition(Ljava/util/function/Predicate;Ljava/util/function/Predicate;Lnet/minecraft/world/poi/PointOfInterestStorage$OccupationStatus;Lnet/minecraft/util/math/BlockPos;ILnet/minecraft/util/math/random/Random;)Ljava/util/Optional;intermediary method_20005Lnet/minecraft/class_4153;method_20005(Ljava/util/function/Predicate;Ljava/util/function/Predicate;Lnet/minecraft/class_4153$class_4155;Lnet/minecraft/class_2338;ILnet/minecraft/class_5819;)Ljava/util/Optional;official aLces;a(Ljava/util/function/Predicate;Ljava/util/function/Predicate;Lces$b;Ljd;ILayw;)Ljava/util/Optional;
-
releaseTicket
- Mappings:
Namespace Name Mixin selector named releaseTicketLnet/minecraft/world/poi/PointOfInterestStorage;releaseTicket(Lnet/minecraft/util/math/BlockPos;)Zintermediary method_19129Lnet/minecraft/class_4153;method_19129(Lnet/minecraft/class_2338;)Zofficial bLces;b(Ljd;)Z
-
test
- Mappings:
Namespace Name Mixin selector named testLnet/minecraft/world/poi/PointOfInterestStorage;test(Lnet/minecraft/util/math/BlockPos;Ljava/util/function/Predicate;)Zintermediary method_19116Lnet/minecraft/class_4153;method_19116(Lnet/minecraft/class_2338;Ljava/util/function/Predicate;)Zofficial aLces;a(Ljd;Ljava/util/function/Predicate;)Z
-
getType
- Mappings:
Namespace Name Mixin selector named getTypeLnet/minecraft/world/poi/PointOfInterestStorage;getType(Lnet/minecraft/util/math/BlockPos;)Ljava/util/Optional;intermediary method_19132Lnet/minecraft/class_4153;method_19132(Lnet/minecraft/class_2338;)Ljava/util/Optional;official cLces;c(Ljd;)Ljava/util/Optional;
-
getFreeTickets
Deprecated.- Mappings:
Namespace Name Mixin selector named getFreeTicketsLnet/minecraft/world/poi/PointOfInterestStorage;getFreeTickets(Lnet/minecraft/util/math/BlockPos;)Iintermediary method_35155Lnet/minecraft/class_4153;method_35155(Lnet/minecraft/class_2338;)Iofficial dLces;d(Ljd;)I
-
getDistanceFromNearestOccupied
- Mappings:
Namespace Name Mixin selector named getDistanceFromNearestOccupiedLnet/minecraft/world/poi/PointOfInterestStorage;getDistanceFromNearestOccupied(Lnet/minecraft/util/math/ChunkSectionPos;)Iintermediary method_19118Lnet/minecraft/class_4153;method_19118(Lnet/minecraft/class_4076;)Iofficial aLces;a(Lkf;)I
-
isOccupied
boolean isOccupied(long pos) - Mappings:
Namespace Name Mixin selector named isOccupiedLnet/minecraft/world/poi/PointOfInterestStorage;isOccupied(J)Zintermediary method_19133Lnet/minecraft/class_4153;method_19133(J)Zofficial gLces;g(J)Z
-
tick
- Overrides:
tickin classSerializingRegionBasedStorage<PointOfInterestSet>- Mappings:
Namespace Name Mixin selector named tickLnet/minecraft/world/storage/SerializingRegionBasedStorage;tick(Ljava/util/function/BooleanSupplier;)Vintermediary method_19290Lnet/minecraft/class_4180;method_19290(Ljava/util/function/BooleanSupplier;)Vofficial aLdwt;a(Ljava/util/function/BooleanSupplier;)V
-
onUpdate
protected void onUpdate(long pos) - Overrides:
onUpdatein classSerializingRegionBasedStorage<PointOfInterestSet>- Mappings:
Namespace Name Mixin selector named onUpdateLnet/minecraft/world/storage/SerializingRegionBasedStorage;onUpdate(J)Vintermediary method_19288Lnet/minecraft/class_4180;method_19288(J)Vofficial aLdwt;a(J)V
-
onLoad
protected void onLoad(long pos) - Overrides:
onLoadin classSerializingRegionBasedStorage<PointOfInterestSet>- Mappings:
Namespace Name Mixin selector named onLoadLnet/minecraft/world/storage/SerializingRegionBasedStorage;onLoad(J)Vintermediary method_19291Lnet/minecraft/class_4180;method_19291(J)Vofficial bLdwt;b(J)V
-
initForPalette
- Mappings:
Namespace Name Mixin selector named initForPaletteLnet/minecraft/world/poi/PointOfInterestStorage;initForPalette(Lnet/minecraft/util/math/ChunkSectionPos;Lnet/minecraft/world/chunk/ChunkSection;)Vintermediary method_19510Lnet/minecraft/class_4153;method_19510(Lnet/minecraft/class_4076;Lnet/minecraft/class_2826;)Vofficial aLces;a(Lkf;Ldvj;)V
-
shouldScan
- Mappings:
Namespace Name Mixin selector named shouldScanLnet/minecraft/world/poi/PointOfInterestStorage;shouldScan(Lnet/minecraft/world/chunk/ChunkSection;)Zintermediary method_20345Lnet/minecraft/class_4153;method_20345(Lnet/minecraft/class_2826;)Zofficial aLces;a(Ldvj;)Z
-
scanAndPopulate
private void scanAndPopulate(ChunkSection chunkSection, ChunkSectionPos sectionPos, BiConsumer<BlockPos, RegistryEntry<PointOfInterestType>> populator) - Mappings:
Namespace Name Mixin selector named scanAndPopulateLnet/minecraft/world/poi/PointOfInterestStorage;scanAndPopulate(Lnet/minecraft/world/chunk/ChunkSection;Lnet/minecraft/util/math/ChunkSectionPos;Ljava/util/function/BiConsumer;)Vintermediary method_20348Lnet/minecraft/class_4153;method_20348(Lnet/minecraft/class_2826;Lnet/minecraft/class_4076;Ljava/util/function/BiConsumer;)Vofficial aLces;a(Ldvj;Lkf;Ljava/util/function/BiConsumer;)V
-
preloadChunks
Preloads chunks in a square area with the given radius. Loads the chunks withChunkStatus.EMPTY.- Parameters:
radius- the radius in blocks- Mappings:
Namespace Name Mixin selector named preloadChunksLnet/minecraft/world/poi/PointOfInterestStorage;preloadChunks(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;I)Vintermediary method_22439Lnet/minecraft/class_4153;method_22439(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;I)Vofficial aLces;a(Ldcz;Ljd;I)V
-