Uses of Class
net.minecraftforge.common.world.ForgeChunkManager.TicketOwner
-
Packages that use ForgeChunkManager.TicketOwner Package Description net.minecraftforge.common.world -
-
Uses of ForgeChunkManager.TicketOwner in net.minecraftforge.common.world
Fields in net.minecraftforge.common.world with type parameters of type ForgeChunkManager.TicketOwner Modifier and Type Field Description private static TicketType<ForgeChunkManager.TicketOwner<BlockPos>>
ForgeChunkManager. BLOCK
private static TicketType<ForgeChunkManager.TicketOwner<BlockPos>>
ForgeChunkManager. BLOCK_TICKING
private java.util.Map<ForgeChunkManager.TicketOwner<T>,it.unimi.dsi.fastutil.longs.LongSet>
ForgeChunkManager.TicketTracker. chunks
private static TicketType<ForgeChunkManager.TicketOwner<java.util.UUID>>
ForgeChunkManager. ENTITY
private static TicketType<ForgeChunkManager.TicketOwner<java.util.UUID>>
ForgeChunkManager. ENTITY_TICKING
private java.util.Map<ForgeChunkManager.TicketOwner<T>,it.unimi.dsi.fastutil.longs.LongSet>
ForgeChunkManager.TicketTracker. tickingChunks
Methods in net.minecraftforge.common.world that return types with arguments of type ForgeChunkManager.TicketOwner Modifier and Type Method Description java.util.Map<ForgeChunkManager.TicketOwner<T>,it.unimi.dsi.fastutil.longs.LongSet>
ForgeChunkManager.TicketTracker. getChunks()
Gets an unmodifiable view of the tracked chunks.private java.util.Map<ForgeChunkManager.TicketOwner<T>,it.unimi.dsi.fastutil.longs.LongSet>
ForgeChunkManager.TicketTracker. getTickets(boolean ticking)
java.util.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.TicketOwner Modifier and Type Method Description private boolean
ForgeChunkManager.TicketTracker. add(ForgeChunkManager.TicketOwner<T> owner, long chunk, boolean ticking)
int
ForgeChunkManager.TicketOwner. compareTo(ForgeChunkManager.TicketOwner<T> other)
private static <T extends java.lang.Comparable<? super T>>
voidForgeChunkManager. forceChunk(ServerWorld world, ChunkPos pos, TicketType<ForgeChunkManager.TicketOwner<T>> type, ForgeChunkManager.TicketOwner<T> owner, boolean add, boolean ticking)
Adds/Removes a ticket from the world's chunk provider with the proper levels to match the forced chunks.private boolean
ForgeChunkManager.TicketTracker. remove(ForgeChunkManager.TicketOwner<T> owner, long chunk, boolean ticking)
Method parameters in net.minecraftforge.common.world with type arguments of type ForgeChunkManager.TicketOwner 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".private static <T extends java.lang.Comparable<? super T>>
voidForgeChunkManager. forceChunk(ServerWorld world, ChunkPos pos, TicketType<ForgeChunkManager.TicketOwner<T>> type, ForgeChunkManager.TicketOwner<T> owner, boolean add, boolean ticking)
Adds/Removes a ticket from the world's chunk provider with the proper levels to match the forced chunks.private static <T extends java.lang.Comparable<? super T>>
voidForgeChunkManager. gatherTicketsByModId(java.util.Map<ForgeChunkManager.TicketOwner<T>,it.unimi.dsi.fastutil.longs.LongSet> tickets, java.util.function.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, 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>>> modSortedOwnedChunks)
Gathers tickets into a mod filtered map for use in providing all tickets a mod has registered to itsForgeChunkManager.LoadingValidationCallback
.private static void
ForgeChunkManager. readBlockForcedChunks(java.lang.String modId, long chunkPos, CompoundNBT modEntry, java.lang.String key, java.util.Map<ForgeChunkManager.TicketOwner<BlockPos>,it.unimi.dsi.fastutil.longs.LongSet> blockForcedChunks)
Reads the forge block forced chunks.private static void
ForgeChunkManager. readEntityForcedChunks(java.lang.String modId, long chunkPos, CompoundNBT modEntry, java.lang.String key, java.util.Map<ForgeChunkManager.TicketOwner<java.util.UUID>,it.unimi.dsi.fastutil.longs.LongSet> entityForcedChunks)
Reads the forge entity forced chunks.private static <T extends java.lang.Comparable<? super T>>
voidForgeChunkManager. reinstatePersistentChunks(ServerWorld world, TicketType<ForgeChunkManager.TicketOwner<T>> type, java.util.Map<ForgeChunkManager.TicketOwner<T>,it.unimi.dsi.fastutil.longs.LongSet> tickets, boolean ticking)
Adds back any persistent forced chunks to the world's chunk provider.private static <T extends java.lang.Comparable<? super T>>
voidForgeChunkManager. reinstatePersistentChunks(ServerWorld world, TicketType<ForgeChunkManager.TicketOwner<T>> type, java.util.Map<ForgeChunkManager.TicketOwner<T>,it.unimi.dsi.fastutil.longs.LongSet> tickets, boolean ticking)
Adds back any persistent forced chunks to the world's chunk provider.
-