Package | Description |
---|---|
net.minecraft.world | |
net.minecraft.world.chunk | |
net.minecraftforge.common | |
net.minecraftforge.event.world |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableSetMultimap<ChunkCoordIntPair,ForgeChunkManager.Ticket> |
World.getPersistentChunks()
Get the persistent chunks for this world
|
Modifier and Type | Method and Description |
---|---|
ChunkCoordIntPair |
Chunk.getChunkCoordIntPair()
Gets a ChunkCoordIntPair representing the Chunk's position.
|
Modifier and Type | Field and Description |
---|---|
ChunkCoordIntPair |
ForgeChunkManager.ForceChunkEvent.location |
ChunkCoordIntPair |
ForgeChunkManager.UnforceChunkEvent.location |
Modifier and Type | Method and Description |
---|---|
static com.google.common.collect.ImmutableSetMultimap<ChunkCoordIntPair,ForgeChunkManager.Ticket> |
ForgeChunkManager.getPersistentChunksFor(World world)
The list of persistent chunks in the world.
|
Modifier and Type | Method and Description |
---|---|
static void |
ForgeChunkManager.forceChunk(ForgeChunkManager.Ticket ticket,
ChunkCoordIntPair chunk)
Force the supplied chunk coordinate to be loaded by the supplied ticket.
|
static void |
ForgeChunkManager.reorderChunk(ForgeChunkManager.Ticket ticket,
ChunkCoordIntPair chunk)
Reorganize the internal chunk list so that the chunk supplied is at the *end* of the list
This helps if you wish to guarantee a certain "automatic unload ordering" for the chunks
in the ticket list
|
static void |
ForgeChunkManager.unforceChunk(ForgeChunkManager.Ticket ticket,
ChunkCoordIntPair chunk)
Unforce the supplied chunk, allowing it to be unloaded and stop ticking.
|
Constructor and Description |
---|
ForgeChunkManager.ForceChunkEvent(ForgeChunkManager.Ticket ticket,
ChunkCoordIntPair location) |
ForgeChunkManager.UnforceChunkEvent(ForgeChunkManager.Ticket ticket,
ChunkCoordIntPair location) |
Modifier and Type | Field and Description |
---|---|
ChunkCoordIntPair |
ChunkWatchEvent.chunk |
Constructor and Description |
---|
ChunkWatchEvent.UnWatch(ChunkCoordIntPair chunkLocation,
EntityPlayerMP player) |
ChunkWatchEvent.Watch(ChunkCoordIntPair chunk,
EntityPlayerMP player) |
ChunkWatchEvent(ChunkCoordIntPair chunk,
EntityPlayerMP player) |