Uses of Class
net.minecraftforge.common.world.ForgeChunkManager.TicketTracker
-
Uses of ForgeChunkManager.TicketTracker in net.minecraft.world
Modifier and TypeFieldDescriptionprivate ForgeChunkManager.TicketTracker<BlockPos>
ForcedChunksSaveData.blockForcedChunks
private ForgeChunkManager.TicketTracker<UUID>
ForcedChunksSaveData.entityForcedChunks
Modifier and TypeMethodDescriptionForcedChunksSaveData.getBlockForcedChunks()
ForcedChunksSaveData.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
(CompoundNBT 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<CompoundNBT>> forcedEntries, ForgeChunkManager.TicketTracker<T> tracker, String listKey, int listType, BiConsumer<T, ListNBT> ownerWriter) static void
ForgeChunkManager.writeForgeForcedChunks
(CompoundNBT 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
(ServerWorld world, String modId, T owner, int chunkX, int chunkZ, boolean add, boolean ticking, TicketType<ForgeChunkManager.TicketOwner<T>> type, Function<ForcedChunksSaveData, ForgeChunkManager.TicketTracker<T>> ticketGetter) Forces a chunk to be loaded for the given mod with the given "owner".