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 official bqxintermediary net/minecraft/class_4153named net/minecraft/world/poi/PointOfInterestStorage
-
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(Path path, com.mojang.datafixers.DataFixer dataFixer, boolean dsync, DynamicRegistryManager registryManager, 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 official aLbqx;a:Iintermediary field_30265Lnet/minecraft/class_4153;field_30265:Inamed field_30265Lnet/minecraft/world/poi/PointOfInterestStorage;field_30265:I
-
field_30266
public static final int field_30266- See Also:
- Mappings:
Namespace Name Mixin selector official bLbqx;b:Iintermediary field_30266Lnet/minecraft/class_4153;field_30266:Inamed field_30266Lnet/minecraft/world/poi/PointOfInterestStorage;field_30266:I
-
pointOfInterestDistanceTracker
- Mappings:
Namespace Name Mixin selector official dLbqx;d:Lbqx$a;intermediary field_18484Lnet/minecraft/class_4153;field_18484:Lnet/minecraft/class_4153$class_4154;named pointOfInterestDistanceTrackerLnet/minecraft/world/poi/PointOfInterestStorage;pointOfInterestDistanceTracker:Lnet/minecraft/world/poi/PointOfInterestStorage$PointOfInterestDistanceTracker;
-
preloadedChunks
- Mappings:
Namespace Name Mixin selector official eLbqx;e:Lit/unimi/dsi/fastutil/longs/LongSet;intermediary field_20688Lnet/minecraft/class_4153;field_20688:Lit/unimi/dsi/fastutil/longs/LongSet;named preloadedChunksLnet/minecraft/world/poi/PointOfInterestStorage;preloadedChunks:Lit/unimi/dsi/fastutil/longs/LongSet;
-
-
Constructor Details
-
PointOfInterestStorage
public PointOfInterestStorage(Path path, com.mojang.datafixers.DataFixer dataFixer, boolean dsync, DynamicRegistryManager registryManager, HeightLimitView world) - Mappings:
Namespace Name Mixin selector official <init>Lbqx;<init>(Ljava/nio/file/Path;Lcom/mojang/datafixers/DataFixer;ZLhs;Lcmm;)Vintermediary <init>Lnet/minecraft/class_4153;<init>(Ljava/nio/file/Path;Lcom/mojang/datafixers/DataFixer;ZLnet/minecraft/class_5455;Lnet/minecraft/class_5539;)Vnamed <init>Lnet/minecraft/world/poi/PointOfInterestStorage;<init>(Ljava/nio/file/Path;Lcom/mojang/datafixers/DataFixer;ZLnet/minecraft/registry/DynamicRegistryManager;Lnet/minecraft/world/HeightLimitView;)V
-
-
Method Details
-
add
- Mappings:
Namespace Name Mixin selector official aLbqx;a(Lgu;Lhe;)Vintermediary method_19115Lnet/minecraft/class_4153;method_19115(Lnet/minecraft/class_2338;Lnet/minecraft/class_6880;)Vnamed addLnet/minecraft/world/poi/PointOfInterestStorage;add(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/registry/entry/RegistryEntry;)V
-
remove
- Mappings:
Namespace Name Mixin selector official aLbqx;a(Lgu;)Vintermediary method_19112Lnet/minecraft/class_4153;method_19112(Lnet/minecraft/class_2338;)Vnamed removeLnet/minecraft/world/poi/PointOfInterestStorage;remove(Lnet/minecraft/util/math/BlockPos;)V
-
count
public long count(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) - Mappings:
Namespace Name Mixin selector official aLbqx;a(Ljava/util/function/Predicate;Lgu;ILbqx$b;)Jintermediary method_20252Lnet/minecraft/class_4153;method_20252(Ljava/util/function/Predicate;Lnet/minecraft/class_2338;ILnet/minecraft/class_4153$class_4155;)Jnamed countLnet/minecraft/world/poi/PointOfInterestStorage;count(Ljava/util/function/Predicate;Lnet/minecraft/util/math/BlockPos;ILnet/minecraft/world/poi/PointOfInterestStorage$OccupationStatus;)J
-
hasTypeAt
- Mappings:
Namespace Name Mixin selector official aLbqx;a(Lacp;Lgu;)Zintermediary method_26339Lnet/minecraft/class_4153;method_26339(Lnet/minecraft/class_5321;Lnet/minecraft/class_2338;)Znamed hasTypeAtLnet/minecraft/world/poi/PointOfInterestStorage;hasTypeAt(Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/util/math/BlockPos;)Z
-
getInSquare
public Stream<PointOfInterest> getInSquare(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) - Mappings:
Namespace Name Mixin selector official bLbqx;b(Ljava/util/function/Predicate;Lgu;ILbqx$b;)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;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;
-
getInCircle
public Stream<PointOfInterest> getInCircle(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) - Mappings:
Namespace Name Mixin selector official cLbqx;c(Ljava/util/function/Predicate;Lgu;ILbqx$b;)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;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;
-
getInChunk
public Stream<PointOfInterest> getInChunk(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, ChunkPos chunkPos, PointOfInterestStorage.OccupationStatus occupationStatus) - Mappings:
Namespace Name Mixin selector official aLbqx;a(Ljava/util/function/Predicate;Lclr;Lbqx$b;)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;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;
-
getPositions
public Stream<BlockPos> getPositions(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) - Mappings:
Namespace Name Mixin selector official aLbqx;a(Ljava/util/function/Predicate;Ljava/util/function/Predicate;Lgu;ILbqx$b;)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;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;
-
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 official bLbqx;b(Ljava/util/function/Predicate;Ljava/util/function/Predicate;Lgu;ILbqx$b;)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;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;
-
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 official cLbqx;c(Ljava/util/function/Predicate;Ljava/util/function/Predicate;Lgu;ILbqx$b;)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;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;
-
getPosition
public Optional<BlockPos> getPosition(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) - Mappings:
Namespace Name Mixin selector official dLbqx;d(Ljava/util/function/Predicate;Ljava/util/function/Predicate;Lgu;ILbqx$b;)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;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;
-
getNearestPosition
public Optional<BlockPos> getNearestPosition(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) - Mappings:
Namespace Name Mixin selector official dLbqx;d(Ljava/util/function/Predicate;Lgu;ILbqx$b;)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;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;
-
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 official eLbqx;e(Ljava/util/function/Predicate;Lgu;ILbqx$b;)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;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;
-
getNearestPosition
public Optional<BlockPos> getNearestPosition(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) - Mappings:
Namespace Name Mixin selector official eLbqx;e(Ljava/util/function/Predicate;Ljava/util/function/Predicate;Lgu;ILbqx$b;)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;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;
-
getPosition
public Optional<BlockPos> getPosition(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BiPredicate<RegistryEntry<PointOfInterestType>, BlockPos> biPredicate, BlockPos pos, int radius) - Mappings:
Namespace Name Mixin selector official aLbqx;a(Ljava/util/function/Predicate;Ljava/util/function/BiPredicate;Lgu;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;named getPositionLnet/minecraft/world/poi/PointOfInterestStorage;getPosition(Ljava/util/function/Predicate;Ljava/util/function/BiPredicate;Lnet/minecraft/util/math/BlockPos;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 official aLbqx;a(Ljava/util/function/Predicate;Ljava/util/function/Predicate;Lbqx$b;Lgu;ILapf;)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;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;
-
releaseTicket
- Mappings:
Namespace Name Mixin selector official bLbqx;b(Lgu;)Zintermediary method_19129Lnet/minecraft/class_4153;method_19129(Lnet/minecraft/class_2338;)Znamed releaseTicketLnet/minecraft/world/poi/PointOfInterestStorage;releaseTicket(Lnet/minecraft/util/math/BlockPos;)Z
-
test
- Mappings:
Namespace Name Mixin selector official aLbqx;a(Lgu;Ljava/util/function/Predicate;)Zintermediary method_19116Lnet/minecraft/class_4153;method_19116(Lnet/minecraft/class_2338;Ljava/util/function/Predicate;)Znamed testLnet/minecraft/world/poi/PointOfInterestStorage;test(Lnet/minecraft/util/math/BlockPos;Ljava/util/function/Predicate;)Z
-
getType
- Mappings:
Namespace Name Mixin selector official cLbqx;c(Lgu;)Ljava/util/Optional;intermediary method_19132Lnet/minecraft/class_4153;method_19132(Lnet/minecraft/class_2338;)Ljava/util/Optional;named getTypeLnet/minecraft/world/poi/PointOfInterestStorage;getType(Lnet/minecraft/util/math/BlockPos;)Ljava/util/Optional;
-
getFreeTickets
Deprecated.- Mappings:
Namespace Name Mixin selector official dLbqx;d(Lgu;)Iintermediary method_35155Lnet/minecraft/class_4153;method_35155(Lnet/minecraft/class_2338;)Inamed getFreeTicketsLnet/minecraft/world/poi/PointOfInterestStorage;getFreeTickets(Lnet/minecraft/util/math/BlockPos;)I
-
getDistanceFromNearestOccupied
- Mappings:
Namespace Name Mixin selector official aLbqx;a(Lhx;)Iintermediary method_19118Lnet/minecraft/class_4153;method_19118(Lnet/minecraft/class_4076;)Inamed getDistanceFromNearestOccupiedLnet/minecraft/world/poi/PointOfInterestStorage;getDistanceFromNearestOccupied(Lnet/minecraft/util/math/ChunkSectionPos;)I
-
isOccupied
boolean isOccupied(long pos) - Mappings:
Namespace Name Mixin selector official gLbqx;g(J)Zintermediary method_19133Lnet/minecraft/class_4153;method_19133(J)Znamed isOccupiedLnet/minecraft/world/poi/PointOfInterestStorage;isOccupied(J)Z
-
tick
- Overrides:
tickin classSerializingRegionBasedStorage<PointOfInterestSet>- Mappings:
Namespace Name Mixin selector official aLdfd;a(Ljava/util/function/BooleanSupplier;)Vintermediary method_19290Lnet/minecraft/class_4180;method_19290(Ljava/util/function/BooleanSupplier;)Vnamed tickLnet/minecraft/world/storage/SerializingRegionBasedStorage;tick(Ljava/util/function/BooleanSupplier;)V
-
onUpdate
protected void onUpdate(long pos) - Overrides:
onUpdatein classSerializingRegionBasedStorage<PointOfInterestSet>- Mappings:
Namespace Name Mixin selector official aLdfd;a(J)Vintermediary method_19288Lnet/minecraft/class_4180;method_19288(J)Vnamed onUpdateLnet/minecraft/world/storage/SerializingRegionBasedStorage;onUpdate(J)V
-
onLoad
protected void onLoad(long pos) - Overrides:
onLoadin classSerializingRegionBasedStorage<PointOfInterestSet>- Mappings:
Namespace Name Mixin selector official bLdfd;b(J)Vintermediary method_19291Lnet/minecraft/class_4180;method_19291(J)Vnamed onLoadLnet/minecraft/world/storage/SerializingRegionBasedStorage;onLoad(J)V
-
initForPalette
- Mappings:
Namespace Name Mixin selector official aLbqx;a(Lhx;Ldeg;)Vintermediary method_19510Lnet/minecraft/class_4153;method_19510(Lnet/minecraft/class_4076;Lnet/minecraft/class_2826;)Vnamed initForPaletteLnet/minecraft/world/poi/PointOfInterestStorage;initForPalette(Lnet/minecraft/util/math/ChunkSectionPos;Lnet/minecraft/world/chunk/ChunkSection;)V
-
shouldScan
- Mappings:
Namespace Name Mixin selector official aLbqx;a(Ldeg;)Zintermediary method_20345Lnet/minecraft/class_4153;method_20345(Lnet/minecraft/class_2826;)Znamed shouldScanLnet/minecraft/world/poi/PointOfInterestStorage;shouldScan(Lnet/minecraft/world/chunk/ChunkSection;)Z
-
scanAndPopulate
private void scanAndPopulate(ChunkSection chunkSection, ChunkSectionPos sectionPos, BiConsumer<BlockPos, RegistryEntry<PointOfInterestType>> populator) - Mappings:
Namespace Name Mixin selector official aLbqx;a(Ldeg;Lhx;Ljava/util/function/BiConsumer;)Vintermediary method_20348Lnet/minecraft/class_4153;method_20348(Lnet/minecraft/class_2826;Lnet/minecraft/class_4076;Ljava/util/function/BiConsumer;)Vnamed scanAndPopulateLnet/minecraft/world/poi/PointOfInterestStorage;scanAndPopulate(Lnet/minecraft/world/chunk/ChunkSection;Lnet/minecraft/util/math/ChunkSectionPos;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 official aLbqx;a(Lcmn;Lgu;I)Vintermediary method_22439Lnet/minecraft/class_4153;method_22439(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;I)Vnamed preloadChunksLnet/minecraft/world/poi/PointOfInterestStorage;preloadChunks(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;I)V
-