Uses of Class
net.neoforged.neoforge.common.world.chunk.ForcedChunkManager.TicketTracker
Packages that use ForcedChunkManager.TicketTracker
-
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<net.minecraft.resources.ResourceLocation, Map<T, TicketSet>> ForcedChunkManager.gatherTicketsById
(ForcedChunkManager.TicketTracker<T> tickets, boolean includeLoaded, boolean includeDeactivated) Gathers tickets into an ID filtered map for use in providing all tickets a controller has registered to itsLoadingValidationCallback
.private <T extends Comparable<? super T>>
voidTicketHelper.removeAllTickets
(ForcedChunkManager.TicketTracker<T> tickets, T owner, @Nullable TicketSet existingTickets) Removes all tickets that a given owner was responsible for; both normal and ones forcing natural spawning.private <T extends Comparable<? super T>>
voidTicketHelper.removeTicket
(ForcedChunkManager.TicketTracker<T> tickets, T owner, long chunk, boolean forceNaturalSpawning) 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
(net.minecraft.server.level.ServerLevel level, net.minecraft.resources.ResourceLocation id, T owner, int chunkX, int chunkZ, boolean add, boolean forceNaturalSpawning, Function<net.minecraft.world.level.TicketStorage, ForcedChunkManager.TicketTracker<T>> ticketGetter) Forces a chunk to be loaded for the given mod with the given "owner".