Uses of Class
net.minecraftforge.common.world.ForgeChunkManager.TicketTracker
-
Uses of ForgeChunkManager.TicketTracker in net.minecraft.world.level
Modifier and TypeFieldDescriptionprivate ForgeChunkManager.TicketTracker<BlockPos>
ForcedChunksSavedData.blockForcedChunks
private ForgeChunkManager.TicketTracker<UUID>
ForcedChunksSavedData.entityForcedChunks
Modifier and TypeMethodDescriptionForcedChunksSavedData.getBlockForcedChunks()
ForcedChunksSavedData.getEntityForcedChunks()
-
Uses of ForgeChunkManager.TicketTracker in net.minecraftforge.common.world
Modifier and TypeMethodDescriptionprivate static <T extends Comparable<? super T>>
Map<String,Map<T, com.mojang.datafixers.util.Pair<it.unimi.dsi.fastutil.longs.LongSet, it.unimi.dsi.fastutil.longs.LongSet>>> ForgeChunkManager.gatherTicketsByModId
(ForgeChunkManager.TicketTracker<T> tickets) Gathers tickets into a mod filtered map for use in providing all tickets a mod has registered to itsForgeChunkManager.LoadingValidationCallback
.static void
ForgeChunkManager.readForgeForcedChunks
(CompoundTag nbt, ForgeChunkManager.TicketTracker<BlockPos> blockForcedChunks, ForgeChunkManager.TicketTracker<UUID> entityForcedChunks) Reads the forge forced chunks from the NBT compound.private <T extends Comparable<? super T>>
voidForgeChunkManager.TicketHelper.removeAllTickets
(ForgeChunkManager.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>>
voidForgeChunkManager.TicketHelper.removeTicket
(ForgeChunkManager.TicketTracker<T> tickets, T owner, long chunk, boolean ticking) private static <T extends Comparable<? super T>>
voidForgeChunkManager.writeForcedChunkOwners
(Map<String, it.unimi.dsi.fastutil.longs.Long2ObjectMap<CompoundTag>> forcedEntries, ForgeChunkManager.TicketTracker<T> tracker, String listKey, int listType, BiConsumer<T, ListTag> ownerWriter) static void
ForgeChunkManager.writeForgeForcedChunks
(CompoundTag nbt, ForgeChunkManager.TicketTracker<BlockPos> blockForcedChunks, ForgeChunkManager.TicketTracker<UUID> entityForcedChunks) Writes the forge forced chunks into the NBT compound.Modifier 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".