Uses of Record Class
net.neoforged.neoforge.common.world.chunk.TicketSet
Packages that use TicketSet
-
Uses of TicketSet in net.neoforged.neoforge.common.world.chunk
Fields in net.neoforged.neoforge.common.world.chunk with type parameters of type TicketSetModifier and TypeFieldDescriptionForcedChunkManager.OwnedChunks.BLOCK_CHUNK_CODECForcedChunkManager.OwnedChunks.blockChunksThe field for theblockChunksrecord component.TicketHelper.blockTicketsstatic final com.mojang.serialization.Codec<TicketSet> TicketSet.CODECForcedChunkManager.OwnedChunks.ENTITY_CHUNK_CODECForcedChunkManager.OwnedChunks.entityChunksThe field for theentityChunksrecord component.TicketHelper.entityTicketsMethods in net.neoforged.neoforge.common.world.chunk that return types with arguments of type TicketSetModifier and TypeMethodDescriptionForcedChunkManager.OwnedChunks.blockChunks()Returns the value of theblockChunksrecord component.ForcedChunkManager.OwnedChunks.entityChunks()Returns the value of theentityChunksrecord component.private static <T extends Comparable<? super T>>
Map<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.TicketHelper.getBlockTickets()Returns all "BLOCK" tickets this controller had registered and which block positions are forcing which chunks.TicketHelper.getEntityTickets()Returns all "ENTITY" tickets this controller had registered and which entity (UUID) is forcing which chunks.Methods in net.neoforged.neoforge.common.world.chunk with parameters of type TicketSetModifier and TypeMethodDescriptionprivate voidForcedChunkManager.TicketTracker.inheritDeactivated(ForcedChunkManager.TicketOwner<T> owner, TicketSet ticketSet) 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.Method parameters in net.neoforged.neoforge.common.world.chunk with type arguments of type TicketSetModifier and TypeMethodDescriptionprivate static <T extends Comparable<? super T>>
voidForcedChunkManager.gatherTicketsById(it.unimi.dsi.fastutil.longs.Long2ObjectMap<Set<ForcedChunkManager.TicketOwner<T>>> tickets, Function<TicketSet, it.unimi.dsi.fastutil.longs.LongSet> typeGetter, Map<ResourceLocation, Map<T, TicketSet>> modSortedOwnedChunks) Gathers tickets into an ID filtered map for use in providing all tickets a controller has registered to itsLoadingValidationCallback.private static <T extends Comparable<? super T>>
voidForcedChunkManager.gatherTicketsById(it.unimi.dsi.fastutil.longs.Long2ObjectMap<Set<ForcedChunkManager.TicketOwner<T>>> tickets, Function<TicketSet, it.unimi.dsi.fastutil.longs.LongSet> typeGetter, Map<ResourceLocation, Map<T, TicketSet>> modSortedOwnedChunks) Gathers tickets into an ID filtered map for use in providing all tickets a controller has registered to itsLoadingValidationCallback.Constructor parameters in net.neoforged.neoforge.common.world.chunk with type arguments of type TicketSetModifierConstructorDescriptionOwnedChunks(ResourceLocation controller, Map<BlockPos, TicketSet> blockChunks, Map<UUID, TicketSet> entityChunks) Creates an instance of aOwnedChunksrecord class.(package private)TicketHelper(TicketStorage saveData, ResourceLocation controllerId, Map<BlockPos, TicketSet> blockTickets, Map<UUID, TicketSet> entityTickets)