Uses of Class
net.minecraftforge.common.world.ForgeChunkManager.TicketOwner
Packages that use ForgeChunkManager.TicketOwner
-
Uses of ForgeChunkManager.TicketOwner in net.minecraftforge.common.world
Fields in net.minecraftforge.common.world with type parameters of type ForgeChunkManager.TicketOwnerModifier and TypeFieldDescriptionprivate static final TicketType<ForgeChunkManager.TicketOwner<BlockPos>>ForgeChunkManager.BLOCKprivate static final TicketType<ForgeChunkManager.TicketOwner<BlockPos>>ForgeChunkManager.BLOCK_TICKINGprivate final Map<ForgeChunkManager.TicketOwner<T>,it.unimi.dsi.fastutil.longs.LongSet> ForgeChunkManager.TicketTracker.chunksprivate static final TicketType<ForgeChunkManager.TicketOwner<UUID>>ForgeChunkManager.ENTITYprivate static final TicketType<ForgeChunkManager.TicketOwner<UUID>>ForgeChunkManager.ENTITY_TICKINGprivate final Map<ForgeChunkManager.TicketOwner<T>,it.unimi.dsi.fastutil.longs.LongSet> ForgeChunkManager.TicketTracker.tickingChunksMethods in net.minecraftforge.common.world that return types with arguments of type ForgeChunkManager.TicketOwnerModifier and TypeMethodDescriptionMap<ForgeChunkManager.TicketOwner<T>,it.unimi.dsi.fastutil.longs.LongSet> ForgeChunkManager.TicketTracker.getChunks()Gets an unmodifiable view of the tracked chunks.private Map<ForgeChunkManager.TicketOwner<T>,it.unimi.dsi.fastutil.longs.LongSet> ForgeChunkManager.TicketTracker.getTickets(boolean ticking) Map<ForgeChunkManager.TicketOwner<T>,it.unimi.dsi.fastutil.longs.LongSet> ForgeChunkManager.TicketTracker.getTickingChunks()Gets an unmodifiable view of the tracked fully ticking chunks.Methods in net.minecraftforge.common.world with parameters of type ForgeChunkManager.TicketOwnerModifier and TypeMethodDescriptionprivate booleanForgeChunkManager.TicketTracker.add(ForgeChunkManager.TicketOwner<T> owner, long chunk, boolean ticking) intForgeChunkManager.TicketOwner.compareTo(ForgeChunkManager.TicketOwner<T> other) private static <T extends Comparable<? super T>>
voidForgeChunkManager.forceChunk(ServerLevel level, ChunkPos pos, TicketType<ForgeChunkManager.TicketOwner<T>> type, ForgeChunkManager.TicketOwner<T> owner, boolean add, boolean ticking) Adds/Removes a ticket from the level's chunk provider with the proper levels to match the forced chunks.private booleanForgeChunkManager.TicketTracker.remove(ForgeChunkManager.TicketOwner<T> owner, long chunk, boolean ticking) Method parameters in net.minecraftforge.common.world with type arguments of type ForgeChunkManager.TicketOwnerModifier and TypeMethodDescriptionprivate static <T extends Comparable<? super T>>
booleanForgeChunkManager.forceChunk(ServerLevel level, String modId, T owner, int chunkX, int chunkZ, boolean add, boolean ticking, TicketType<ForgeChunkManager.TicketOwner<T>> type, Function<ForcedChunksSavedData, ForgeChunkManager.TicketTracker<T>> ticketGetter) Forces a chunk to be loaded for the given mod with the given "owner".private static <T extends Comparable<? super T>>
voidForgeChunkManager.forceChunk(ServerLevel level, ChunkPos pos, TicketType<ForgeChunkManager.TicketOwner<T>> type, ForgeChunkManager.TicketOwner<T> owner, boolean add, boolean ticking) Adds/Removes a ticket from the level's chunk provider with the proper levels to match the forced chunks.private static <T extends Comparable<? super T>>
voidForgeChunkManager.gatherTicketsByModId(Map<ForgeChunkManager.TicketOwner<T>, it.unimi.dsi.fastutil.longs.LongSet> tickets, Function<com.mojang.datafixers.util.Pair<it.unimi.dsi.fastutil.longs.LongSet, it.unimi.dsi.fastutil.longs.LongSet>, it.unimi.dsi.fastutil.longs.LongSet> typeGetter, Map<String, Map<T, com.mojang.datafixers.util.Pair<it.unimi.dsi.fastutil.longs.LongSet, it.unimi.dsi.fastutil.longs.LongSet>>> modSortedOwnedChunks) Gathers tickets into a mod filtered map for use in providing all tickets a mod has registered to itsForgeChunkManager.LoadingValidationCallback.private static voidForgeChunkManager.readBlockForcedChunks(String modId, long chunkPos, CompoundTag modEntry, String key, Map<ForgeChunkManager.TicketOwner<BlockPos>, it.unimi.dsi.fastutil.longs.LongSet> blockForcedChunks) Reads the forge block forced chunks.private static voidForgeChunkManager.readEntityForcedChunks(String modId, long chunkPos, CompoundTag modEntry, String key, Map<ForgeChunkManager.TicketOwner<UUID>, it.unimi.dsi.fastutil.longs.LongSet> entityForcedChunks) Reads the forge entity forced chunks.private static <T extends Comparable<? super T>>
voidForgeChunkManager.reinstatePersistentChunks(ServerLevel level, TicketType<ForgeChunkManager.TicketOwner<T>> type, Map<ForgeChunkManager.TicketOwner<T>, it.unimi.dsi.fastutil.longs.LongSet> tickets, boolean ticking) Adds back any persistent forced chunks to the level's chunk provider.private static <T extends Comparable<? super T>>
voidForgeChunkManager.reinstatePersistentChunks(ServerLevel level, TicketType<ForgeChunkManager.TicketOwner<T>> type, Map<ForgeChunkManager.TicketOwner<T>, it.unimi.dsi.fastutil.longs.LongSet> tickets, boolean ticking) Adds back any persistent forced chunks to the level's chunk provider.