YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.world.chunk.IChunkProvider Interface Reference
Inheritance diagram for net.minecraft.world.chunk.IChunkProvider:
net.minecraft.client.multiplayer.ChunkProviderClient net.minecraft.world.gen.ChunkProviderEnd net.minecraft.world.gen.ChunkProviderFlat net.minecraft.world.gen.ChunkProviderGenerate net.minecraft.world.gen.ChunkProviderHell net.minecraft.world.gen.ChunkProviderServer

Public Member Functions

boolean chunkExists (int i, int j)
 
Chunk provideChunk (int i, int j)
 
Chunk loadChunk (int i, int j)
 
void populate (IChunkProvider ichunkprovider, int i, int j)
 
boolean saveChunks (boolean flag, IProgressUpdate iprogressupdate)
 
boolean unloadQueuedChunks ()
 
boolean canSave ()
 
String makeString ()
 
List getPossibleCreatures (EnumCreatureType enumcreaturetype, int i, int j, int k)
 
ChunkPosition findClosestStructure (World world, String s, int i, int j, int k)
 
int getLoadedChunkCount ()
 
void recreateStructures (int i, int j)
 
void func_104112_b ()
 

Member Function Documentation

ChunkPosition net.minecraft.world.chunk.IChunkProvider.findClosestStructure ( World  world,
String  s,
int  i,
int  j,
int  k 
)
List net.minecraft.world.chunk.IChunkProvider.getPossibleCreatures ( EnumCreatureType  enumcreaturetype,
int  i,
int  j,
int  k 
)
Chunk net.minecraft.world.chunk.IChunkProvider.provideChunk ( int  i,
int  j 
)

Will return back a chunk, if it doesn't exist and its not a MP client it will generates all the blocks for the specified chunk from the map seed and chunk seed

Implemented in net.minecraft.world.gen.ChunkProviderGenerate, net.minecraft.world.gen.ChunkProviderHell, net.minecraft.world.gen.ChunkProviderEnd, net.minecraft.world.gen.ChunkProviderServer, net.minecraft.world.gen.ChunkProviderFlat, and net.minecraft.client.multiplayer.ChunkProviderClient.

boolean net.minecraft.world.chunk.IChunkProvider.saveChunks ( boolean  flag,
IProgressUpdate  iprogressupdate 
)

Two modes of operation: if passed true, save all Chunks in one go. If passed false, save up to two chunks. Return true if all chunks have been saved.

Implemented in net.minecraft.world.gen.ChunkProviderGenerate, net.minecraft.world.gen.ChunkProviderHell, net.minecraft.world.gen.ChunkProviderEnd, net.minecraft.world.gen.ChunkProviderServer, net.minecraft.world.gen.ChunkProviderFlat, and net.minecraft.client.multiplayer.ChunkProviderClient.

boolean net.minecraft.world.chunk.IChunkProvider.unloadQueuedChunks ( )

The documentation for this interface was generated from the following file: