Uses of Class
net.minecraftforge.common.world.ForgeChunkManager.TicketTracker
-
Packages that use ForgeChunkManager.TicketTracker Package Description net.minecraft.world net.minecraftforge.common.world -
-
Uses of ForgeChunkManager.TicketTracker in net.minecraft.world
Fields in net.minecraft.world declared as ForgeChunkManager.TicketTracker Modifier and Type Field Description private ForgeChunkManager.TicketTracker<BlockPos>
ForcedChunksSaveData. blockForcedChunks
private ForgeChunkManager.TicketTracker<java.util.UUID>
ForcedChunksSaveData. entityForcedChunks
Methods in net.minecraft.world that return ForgeChunkManager.TicketTracker Modifier and Type Method Description ForgeChunkManager.TicketTracker<BlockPos>
ForcedChunksSaveData. getBlockForcedChunks()
ForgeChunkManager.TicketTracker<java.util.UUID>
ForcedChunksSaveData. getEntityForcedChunks()
-
Uses of ForgeChunkManager.TicketTracker in net.minecraftforge.common.world
Methods in net.minecraftforge.common.world with parameters of type ForgeChunkManager.TicketTracker Modifier and Type Method Description private static <T extends java.lang.Comparable<? super T>>
java.util.Map<java.lang.String,java.util.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<java.util.UUID> entityForcedChunks)
Reads the forge forced chunks from the NBT compound.private <T extends java.lang.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 java.lang.Comparable<? super T>>
voidForgeChunkManager.TicketHelper. removeTicket(ForgeChunkManager.TicketTracker<T> tickets, T owner, long chunk, boolean ticking)
private static <T extends java.lang.Comparable<? super T>>
voidForgeChunkManager. writeForcedChunkOwners(java.util.Map<java.lang.String,it.unimi.dsi.fastutil.longs.Long2ObjectMap<CompoundNBT>> forcedEntries, ForgeChunkManager.TicketTracker<T> tracker, java.lang.String listKey, int listType, java.util.function.BiConsumer<T,ListNBT> ownerWriter)
static void
ForgeChunkManager. writeForgeForcedChunks(CompoundNBT nbt, ForgeChunkManager.TicketTracker<BlockPos> blockForcedChunks, ForgeChunkManager.TicketTracker<java.util.UUID> entityForcedChunks)
Writes the forge forced chunks into the NBT compound.Method parameters in net.minecraftforge.common.world with type arguments of type ForgeChunkManager.TicketTracker Modifier and Type Method Description private static <T extends java.lang.Comparable<? super T>>
booleanForgeChunkManager. forceChunk(ServerWorld world, java.lang.String modId, T owner, int chunkX, int chunkZ, boolean add, boolean ticking, TicketType<ForgeChunkManager.TicketOwner<T>> type, java.util.function.Function<ForcedChunksSaveData,ForgeChunkManager.TicketTracker<T>> ticketGetter)
Forces a chunk to be loaded for the given mod with the given "owner".
-