Uses of Class
net.neoforged.neoforge.common.world.chunk.ForcedChunkManager.TicketTracker
Packages that use ForcedChunkManager.TicketTracker
-
Uses of ForcedChunkManager.TicketTracker in net.minecraft.world.level
Fields in net.minecraft.world.level declared as ForcedChunkManager.TicketTrackerModifier and TypeFieldDescriptionprivate final ForcedChunkManager.TicketTracker
<BlockPos> ForcedChunksSavedData.blockForcedChunks
private final ForcedChunkManager.TicketTracker
<UUID> ForcedChunksSavedData.entityForcedChunks
Methods in net.minecraft.world.level that return ForcedChunkManager.TicketTrackerModifier and TypeMethodDescriptionForcedChunksSavedData.getBlockForcedChunks()
ForcedChunksSavedData.getEntityForcedChunks()
-
Uses of ForcedChunkManager.TicketTracker in net.neoforged.neoforge.common.world.chunk
Methods in net.neoforged.neoforge.common.world.chunk with parameters of type ForcedChunkManager.TicketTrackerModifier and TypeMethodDescriptionprivate static <T extends Comparable<? super T>>
Map<ResourceLocation, Map<T, TicketSet>> ForcedChunkManager.gatherTicketsById
(ForcedChunkManager.TicketTracker<T> tickets) Gathers tickets into an ID filtered map for use in providing all tickets a controller has registered to itsLoadingValidationCallback
.static void
ForcedChunkManager.readModForcedChunks
(CompoundTag nbt, ForcedChunkManager.TicketTracker<BlockPos> blockForcedChunks, ForcedChunkManager.TicketTracker<UUID> entityForcedChunks) Reads the mod forced chunks from the NBT compound.private <T extends Comparable<? super T>>
voidTicketHelper.removeAllTickets
(ForcedChunkManager.TicketTracker<T> tickets, T owner) Removes all tickets that a given owner was responsible for; both ticking and not ticking.private <T extends Comparable<? super T>>
voidTicketHelper.removeTicket
(ForcedChunkManager.TicketTracker<T> tickets, T owner, long chunk, boolean ticking) private static <T extends Comparable<? super T>>
voidForcedChunkManager.writeForcedChunkOwners
(Map<ResourceLocation, it.unimi.dsi.fastutil.longs.Long2ObjectMap<CompoundTag>> forcedEntries, ForcedChunkManager.TicketTracker<T> tracker, String listKey, int listType, BiConsumer<T, ListTag> ownerWriter) static void
ForcedChunkManager.writeModForcedChunks
(CompoundTag nbt, ForcedChunkManager.TicketTracker<BlockPos> blockForcedChunks, ForcedChunkManager.TicketTracker<UUID> entityForcedChunks) Writes the mod forced chunks into the NBT compound.Method parameters in net.neoforged.neoforge.common.world.chunk with type arguments of type ForcedChunkManager.TicketTrackerModifier and TypeMethodDescription(package private) static <T extends Comparable<? super T>>
booleanForcedChunkManager.forceChunk
(ServerLevel level, ResourceLocation id, T owner, int chunkX, int chunkZ, boolean add, boolean ticking, TicketType<ForcedChunkManager.TicketOwner<T>> type, Function<ForcedChunksSavedData, ForcedChunkManager.TicketTracker<T>> ticketGetter) Forces a chunk to be loaded for the given mod with the given "owner".