Package net.minecraft.world.chunk
Interface IChunkProvider
-
- All Known Implementing Classes:
ChunkProviderClient
public interface IChunkProvider
+ This portion of EaglercraftX contains deobfuscated Minecraft 1.8 source code. Minecraft 1.8.8 bytecode is (c) 2015 Mojang AB. "Do not distribute!" Mod Coder Pack v9.18 deobfuscation configs are (c) Copyright by the MCP Team EaglercraftX 1.8 patch files are (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
canSave()
+ Returns if the IChunkProvider supports saving.boolean
chunkExists(int var1, int var2)
+ Checks to see if a chunk exists at x, zboolean
func_177460_a(IChunkProvider var1, Chunk var2, int var3, int var4)
int
getLoadedChunkCount()
java.util.List<BiomeGenBase.SpawnListEntry>
getPossibleCreatures(EnumCreatureType var1, BlockPos var2)
BlockPos
getStrongholdGen(World var1, java.lang.String var2, BlockPos var3)
java.lang.String
makeString()
+ Converts the instance data to a readable string.void
populate(IChunkProvider var1, int var2, int var3)
+ Populates chunk with ores etc etcChunk
provideChunk(int var1, int var2)
+ 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 seedChunk
provideChunk(BlockPos var1)
+ 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 seedvoid
recreateStructures(Chunk var1, int var2, int var3)
boolean
saveChunks(boolean var1, IProgressUpdate var2)
+ Two modes of operation: if passed true, save all Chunks in one go.void
saveExtraData()
+ Save extra data not associated with any Chunk.boolean
unloadQueuedChunks()
+ Unloads chunks that are marked to be unloaded.
-
-
-
Method Detail
-
chunkExists
boolean chunkExists(int var1, int var2)
+ Checks to see if a chunk exists at x, z
-
provideChunk
Chunk provideChunk(int var1, int var2)
+ 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
-
provideChunk
Chunk provideChunk(BlockPos var1)
+ 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
-
populate
void populate(IChunkProvider var1, int var2, int var3)
+ Populates chunk with ores etc etc
-
func_177460_a
boolean func_177460_a(IChunkProvider var1, Chunk var2, int var3, int var4)
-
saveChunks
boolean saveChunks(boolean var1, IProgressUpdate var2)
+ 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.
-
unloadQueuedChunks
boolean unloadQueuedChunks()
+ Unloads chunks that are marked to be unloaded. This is not guaranteed to unload every such chunk.
-
canSave
boolean canSave()
+ Returns if the IChunkProvider supports saving.
-
makeString
java.lang.String makeString()
+ Converts the instance data to a readable string.
-
getPossibleCreatures
java.util.List<BiomeGenBase.SpawnListEntry> getPossibleCreatures(EnumCreatureType var1, BlockPos var2)
-
getLoadedChunkCount
int getLoadedChunkCount()
-
recreateStructures
void recreateStructures(Chunk var1, int var2, int var3)
-
saveExtraData
void saveExtraData()
+ Save extra data not associated with any Chunk. Not saved during autosave, only during world unload. Currently unimplemented.
-
-