Package net.minecraft.world.poi
Class PointOfInterestStorage
java.lang.Object
net.minecraft.world.storage.SerializingRegionBasedStorage<PointOfInterestSet,PointOfInterestSet.Serialized>
net.minecraft.world.poi.PointOfInterestStorage
- All Implemented Interfaces:
AutoCloseable
public class PointOfInterestStorage
extends SerializingRegionBasedStorage<PointOfInterestSet,PointOfInterestSet.Serialized>
- Mappings:
Namespace Name named net/minecraft/world/poi/PointOfInterestStorage
intermediary net/minecraft/class_4153
official chj
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
private final class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
private final PointOfInterestStorage.PointOfInterestDistanceTracker
private final LongSet
Fields inherited from class net.minecraft.world.storage.SerializingRegionBasedStorage
world
-
Constructor Summary
ConstructorDescriptionPointOfInterestStorage
(StorageKey storageKey, Path directory, com.mojang.datafixers.DataFixer dataFixer, boolean dsync, DynamicRegistryManager registryManager, ChunkErrorHandler errorHandler, HeightLimitView world) -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(BlockPos pos, RegistryEntry<PointOfInterestType> type) long
count
(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) int
int
getFreeTickets
(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> posPredicate, 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) boolean
hasTypeAt
(RegistryKey<PointOfInterestType> type, BlockPos pos) void
initForPalette
(ChunkSectionPos sectionPos, ChunkSection chunkSection) (package private) boolean
isOccupied
(long pos) protected void
onLoad
(long pos) protected void
onUpdate
(long pos) void
preloadChunks
(WorldView world, BlockPos pos, int radius) Preloads chunks in a square area with the given radius.boolean
releaseTicket
(BlockPos pos) void
private void
scanAndPopulate
(ChunkSection chunkSection, ChunkSectionPos sectionPos, BiConsumer<BlockPos, RegistryEntry<PointOfInterestType>> populator) private static boolean
shouldScan
(ChunkSection chunkSection) boolean
test
(BlockPos pos, Predicate<RegistryEntry<PointOfInterestType>> predicate) void
tick
(BooleanSupplier shouldKeepTicking) Methods inherited from class net.minecraft.world.storage.SerializingRegionBasedStorage
close, get, getIfLoaded, getOrCreate, hasUnsavedElements, isPosInvalid, load, save, saveChunk
-
Field Details
-
field_30265
public static final int field_30265- See Also:
- Mappings:
Namespace Name Mixin selector named field_30265
Lnet/minecraft/world/poi/PointOfInterestStorage;field_30265:I
intermediary field_30265
Lnet/minecraft/class_4153;field_30265:I
official a
Lchj;a:I
-
field_30266
public static final int field_30266- See Also:
- Mappings:
Namespace Name Mixin selector named field_30266
Lnet/minecraft/world/poi/PointOfInterestStorage;field_30266:I
intermediary field_30266
Lnet/minecraft/class_4153;field_30266:I
official b
Lchj;b:I
-
pointOfInterestDistanceTracker
- Mappings:
Namespace Name Mixin selector named pointOfInterestDistanceTracker
Lnet/minecraft/world/poi/PointOfInterestStorage;pointOfInterestDistanceTracker:Lnet/minecraft/world/poi/PointOfInterestStorage$PointOfInterestDistanceTracker;
intermediary field_18484
Lnet/minecraft/class_4153;field_18484:Lnet/minecraft/class_4153$class_4154;
official d
Lchj;d:Lchj$a;
-
preloadedChunks
- Mappings:
Namespace Name Mixin selector named preloadedChunks
Lnet/minecraft/world/poi/PointOfInterestStorage;preloadedChunks:Lit/unimi/dsi/fastutil/longs/LongSet;
intermediary field_20688
Lnet/minecraft/class_4153;field_20688:Lit/unimi/dsi/fastutil/longs/LongSet;
official e
Lchj;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;)V
intermediary <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;)V
official <init>
Lchj;<init>(Lebi;Ljava/nio/file/Path;Lcom/mojang/datafixers/DataFixer;ZLke;Leax;Ldhj;)V
-
-
Method Details
-
add
- Mappings:
Namespace Name Mixin selector named add
Lnet/minecraft/world/poi/PointOfInterestStorage;add(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/registry/entry/RegistryEntry;)V
intermediary method_19115
Lnet/minecraft/class_4153;method_19115(Lnet/minecraft/class_2338;Lnet/minecraft/class_6880;)V
official a
Lchj;a(Ljh;Ljq;)V
-
remove
- Mappings:
Namespace Name Mixin selector named remove
Lnet/minecraft/world/poi/PointOfInterestStorage;remove(Lnet/minecraft/util/math/BlockPos;)V
intermediary method_19112
Lnet/minecraft/class_4153;method_19112(Lnet/minecraft/class_2338;)V
official a
Lchj;a(Ljh;)V
-
count
public long count(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) - Mappings:
Namespace Name Mixin selector named count
Lnet/minecraft/world/poi/PointOfInterestStorage;count(Ljava/util/function/Predicate;Lnet/minecraft/util/math/BlockPos;ILnet/minecraft/world/poi/PointOfInterestStorage$OccupationStatus;)J
intermediary method_20252
Lnet/minecraft/class_4153;method_20252(Ljava/util/function/Predicate;Lnet/minecraft/class_2338;ILnet/minecraft/class_4153$class_4155;)J
official a
Lchj;a(Ljava/util/function/Predicate;Ljh;ILchj$b;)J
-
hasTypeAt
- Mappings:
Namespace Name Mixin selector named hasTypeAt
Lnet/minecraft/world/poi/PointOfInterestStorage;hasTypeAt(Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/util/math/BlockPos;)Z
intermediary method_26339
Lnet/minecraft/class_4153;method_26339(Lnet/minecraft/class_5321;Lnet/minecraft/class_2338;)Z
official a
Lchj;a(Laly;Ljh;)Z
-
getInSquare
public Stream<PointOfInterest> getInSquare(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) - Mappings:
Namespace Name Mixin selector named getInSquare
Lnet/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_22383
Lnet/minecraft/class_4153;method_22383(Ljava/util/function/Predicate;Lnet/minecraft/class_2338;ILnet/minecraft/class_4153$class_4155;)Ljava/util/stream/Stream;
official b
Lchj;b(Ljava/util/function/Predicate;Ljh;ILchj$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 getInCircle
Lnet/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_19125
Lnet/minecraft/class_4153;method_19125(Ljava/util/function/Predicate;Lnet/minecraft/class_2338;ILnet/minecraft/class_4153$class_4155;)Ljava/util/stream/Stream;
official c
Lchj;c(Ljava/util/function/Predicate;Ljh;ILchj$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 getInChunk
Lnet/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_19123
Lnet/minecraft/class_4153;method_19123(Ljava/util/function/Predicate;Lnet/minecraft/class_1923;Lnet/minecraft/class_4153$class_4155;)Ljava/util/stream/Stream;
official a
Lchj;a(Ljava/util/function/Predicate;Ldgn;Lchj$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 getPositions
Lnet/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_21647
Lnet/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 a
Lchj;a(Ljava/util/function/Predicate;Ljava/util/function/Predicate;Ljh;ILchj$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 getTypesAndPositions
Lnet/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_43983
Lnet/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 b
Lchj;b(Ljava/util/function/Predicate;Ljava/util/function/Predicate;Ljh;ILchj$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 getSortedTypesAndPositions
Lnet/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_30957
Lnet/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 c
Lchj;c(Ljava/util/function/Predicate;Ljava/util/function/Predicate;Ljh;ILchj$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 getPosition
Lnet/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_19127
Lnet/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 d
Lchj;d(Ljava/util/function/Predicate;Ljava/util/function/Predicate;Ljh;ILchj$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 getNearestPosition
Lnet/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_20006
Lnet/minecraft/class_4153;method_20006(Ljava/util/function/Predicate;Lnet/minecraft/class_2338;ILnet/minecraft/class_4153$class_4155;)Ljava/util/Optional;
official d
Lchj;d(Ljava/util/function/Predicate;Ljh;ILchj$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 getNearestTypeAndPosition
Lnet/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_43985
Lnet/minecraft/class_4153;method_43985(Ljava/util/function/Predicate;Lnet/minecraft/class_2338;ILnet/minecraft/class_4153$class_4155;)Ljava/util/Optional;
official e
Lchj;e(Ljava/util/function/Predicate;Ljh;ILchj$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 getNearestPosition
Lnet/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_34712
Lnet/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 e
Lchj;e(Ljava/util/function/Predicate;Ljava/util/function/Predicate;Ljh;ILchj$b;)Ljava/util/Optional;
-
getPosition
public Optional<BlockPos> getPosition(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BiPredicate<RegistryEntry<PointOfInterestType>, BlockPos> posPredicate, BlockPos pos, int radius) - Mappings:
Namespace Name Mixin selector named getPosition
Lnet/minecraft/world/poi/PointOfInterestStorage;getPosition(Ljava/util/function/Predicate;Ljava/util/function/BiPredicate;Lnet/minecraft/util/math/BlockPos;I)Ljava/util/Optional;
intermediary method_19126
Lnet/minecraft/class_4153;method_19126(Ljava/util/function/Predicate;Ljava/util/function/BiPredicate;Lnet/minecraft/class_2338;I)Ljava/util/Optional;
official a
Lchj;a(Ljava/util/function/Predicate;Ljava/util/function/BiPredicate;Ljh;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 getPosition
Lnet/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_20005
Lnet/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 a
Lchj;a(Ljava/util/function/Predicate;Ljava/util/function/Predicate;Lchj$b;Ljh;ILbam;)Ljava/util/Optional;
-
releaseTicket
- Mappings:
Namespace Name Mixin selector named releaseTicket
Lnet/minecraft/world/poi/PointOfInterestStorage;releaseTicket(Lnet/minecraft/util/math/BlockPos;)Z
intermediary method_19129
Lnet/minecraft/class_4153;method_19129(Lnet/minecraft/class_2338;)Z
official b
Lchj;b(Ljh;)Z
-
test
- Mappings:
Namespace Name Mixin selector named test
Lnet/minecraft/world/poi/PointOfInterestStorage;test(Lnet/minecraft/util/math/BlockPos;Ljava/util/function/Predicate;)Z
intermediary method_19116
Lnet/minecraft/class_4153;method_19116(Lnet/minecraft/class_2338;Ljava/util/function/Predicate;)Z
official a
Lchj;a(Ljh;Ljava/util/function/Predicate;)Z
-
getType
- Mappings:
Namespace Name Mixin selector named getType
Lnet/minecraft/world/poi/PointOfInterestStorage;getType(Lnet/minecraft/util/math/BlockPos;)Ljava/util/Optional;
intermediary method_19132
Lnet/minecraft/class_4153;method_19132(Lnet/minecraft/class_2338;)Ljava/util/Optional;
official c
Lchj;c(Ljh;)Ljava/util/Optional;
-
getFreeTickets
Deprecated.- Mappings:
Namespace Name Mixin selector named getFreeTickets
Lnet/minecraft/world/poi/PointOfInterestStorage;getFreeTickets(Lnet/minecraft/util/math/BlockPos;)I
intermediary method_35155
Lnet/minecraft/class_4153;method_35155(Lnet/minecraft/class_2338;)I
official d
Lchj;d(Ljh;)I
-
getDistanceFromNearestOccupied
- Mappings:
Namespace Name Mixin selector named getDistanceFromNearestOccupied
Lnet/minecraft/world/poi/PointOfInterestStorage;getDistanceFromNearestOccupied(Lnet/minecraft/util/math/ChunkSectionPos;)I
intermediary method_19118
Lnet/minecraft/class_4153;method_19118(Lnet/minecraft/class_4076;)I
official a
Lchj;a(Lkj;)I
-
isOccupied
boolean isOccupied(long pos) - Mappings:
Namespace Name Mixin selector named isOccupied
Lnet/minecraft/world/poi/PointOfInterestStorage;isOccupied(J)Z
intermediary method_19133
Lnet/minecraft/class_4153;method_19133(J)Z
official g
Lchj;g(J)Z
-
tick
- Overrides:
tick
in classSerializingRegionBasedStorage<PointOfInterestSet,
PointOfInterestSet.Serialized> - Mappings:
Namespace Name Mixin selector named tick
Lnet/minecraft/world/storage/SerializingRegionBasedStorage;tick(Ljava/util/function/BooleanSupplier;)V
intermediary method_19290
Lnet/minecraft/class_4180;method_19290(Ljava/util/function/BooleanSupplier;)V
official a
Lebj;a(Ljava/util/function/BooleanSupplier;)V
-
onUpdate
protected void onUpdate(long pos) - Overrides:
onUpdate
in classSerializingRegionBasedStorage<PointOfInterestSet,
PointOfInterestSet.Serialized> - Mappings:
Namespace Name Mixin selector named onUpdate
Lnet/minecraft/world/storage/SerializingRegionBasedStorage;onUpdate(J)V
intermediary method_19288
Lnet/minecraft/class_4180;method_19288(J)V
official a
Lebj;a(J)V
-
onLoad
protected void onLoad(long pos) - Overrides:
onLoad
in classSerializingRegionBasedStorage<PointOfInterestSet,
PointOfInterestSet.Serialized> - Mappings:
Namespace Name Mixin selector named onLoad
Lnet/minecraft/world/storage/SerializingRegionBasedStorage;onLoad(J)V
intermediary method_19291
Lnet/minecraft/class_4180;method_19291(J)V
official b
Lebj;b(J)V
-
initForPalette
- Mappings:
Namespace Name Mixin selector named initForPalette
Lnet/minecraft/world/poi/PointOfInterestStorage;initForPalette(Lnet/minecraft/util/math/ChunkSectionPos;Lnet/minecraft/world/chunk/ChunkSection;)V
intermediary method_19510
Lnet/minecraft/class_4153;method_19510(Lnet/minecraft/class_4076;Lnet/minecraft/class_2826;)V
official a
Lchj;a(Lkj;Leaa;)V
-
shouldScan
- Mappings:
Namespace Name Mixin selector named shouldScan
Lnet/minecraft/world/poi/PointOfInterestStorage;shouldScan(Lnet/minecraft/world/chunk/ChunkSection;)Z
intermediary method_20345
Lnet/minecraft/class_4153;method_20345(Lnet/minecraft/class_2826;)Z
official a
Lchj;a(Leaa;)Z
-
scanAndPopulate
private void scanAndPopulate(ChunkSection chunkSection, ChunkSectionPos sectionPos, BiConsumer<BlockPos, RegistryEntry<PointOfInterestType>> populator) - Mappings:
Namespace Name Mixin selector named scanAndPopulate
Lnet/minecraft/world/poi/PointOfInterestStorage;scanAndPopulate(Lnet/minecraft/world/chunk/ChunkSection;Lnet/minecraft/util/math/ChunkSectionPos;Ljava/util/function/BiConsumer;)V
intermediary method_20348
Lnet/minecraft/class_4153;method_20348(Lnet/minecraft/class_2826;Lnet/minecraft/class_4076;Ljava/util/function/BiConsumer;)V
official a
Lchj;a(Leaa;Lkj;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 preloadChunks
Lnet/minecraft/world/poi/PointOfInterestStorage;preloadChunks(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;I)V
intermediary method_22439
Lnet/minecraft/class_4153;method_22439(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;I)V
official a
Lchj;a(Ldhk;Ljh;I)V
-