public interface IWorld extends IChunkOrWorld
| Modifier and Type | Method and Description |
|---|---|
void |
broadcastSound(AbstractEntityPlayer player,
IResourceName name,
float pitch,
float volume) |
void |
broadcastSound(IResourceName name,
float pitch,
float volume) |
void |
broadcastSound(IResourceName name,
float pitch,
float volume,
AbstractEntityPlayer except) |
void |
causeLightUpdate(int x,
int y) |
AbstractEntityPlayer |
createPlayer(java.util.UUID id,
IPlayerDesign design,
io.netty.channel.Channel channel) |
void |
destroyTile(int x,
int y,
TileLayer layer,
Entity destroyer,
boolean shouldDrop) |
java.util.List<AbstractEntityPlayer> |
getAllPlayers() |
Biome |
getBiomeForId(int id) |
NameToIndexInfo |
getBiomeRegInfo() |
IChunk |
getChunk(double x,
double y) |
IChunk |
getChunkFromGridCoords(int gridX,
int gridY) |
java.io.File |
getChunksFolder() |
byte |
getCombinedVisualLight(int x,
int y) |
java.io.File |
getFolder() |
int |
getIdForBiome(Biome biome) |
int |
getIdForState(TileState state) |
java.lang.String |
getName() |
AbstractEntityPlayer |
getPlayer(java.lang.String name) |
AbstractEntityPlayer |
getPlayer(java.util.UUID id) |
java.io.File |
getPlayerFolder() |
DynamicRegistryInfo |
getRegInfo() |
java.util.List<IWorldGenerator> |
getSortedGenerators() |
java.util.List<IWorldGenerator> |
getSortedRetroactiveGenerators() |
int |
getSpawnX() |
TileState |
getStateForId(int id) |
NameToIndexInfo |
getTileRegInfo() |
WorldInfo |
getWorldInfo() |
boolean |
isChunkLoaded(int x,
int y) |
boolean |
isDaytime() |
boolean |
isNighttime() |
boolean |
isPosLoaded(int x,
int y) |
void |
notifyNeighborsOfChange(int x,
int y,
TileLayer layer) |
void |
playSound(AbstractEntityPlayer player,
IResourceName name,
double x,
double y,
double z,
float pitch,
float volume) |
void |
playSound(IResourceName name,
double x,
double y,
double z,
float pitch,
float volume) |
void |
playSound(IResourceName name,
double x,
double y,
double z,
float pitch,
float volume,
AbstractEntityPlayer except) |
void |
removeEntity(Entity entity,
IChunk chunk) |
void |
save() |
void |
savePlayer(AbstractEntityPlayer player) |
void |
unloadChunk(IChunk chunk) |
addEntity, addTileEntity, callRetroactiveGeneration, getAllEntities, getAllTileEntities, getArtificialLight, getBiome, getCombinedLight, getEntities, getEntities, getEntities, getEntities, getEntity, getLowestAirUpwards, getLowestAirUpwards, getSeed, getSkyLight, getState, getState, getTileEntity, getTileEntity, getTileEntity, getTileEntity, isClient, isDedicatedServer, isLocalPlayer, isServer, removeEntity, removeTileEntity, scheduleUpdate, scheduleUpdate, setArtificialLight, setBiome, setDirty, setSkyLight, setState, setStategetAdditionalData, getOrCreateAdditionalData, hasAdditionalData, setAdditionalDataIChunk getChunkFromGridCoords(int gridX, int gridY)
IChunk getChunk(double x, double y)
boolean isPosLoaded(int x,
int y)
boolean isChunkLoaded(int x,
int y)
int getIdForState(TileState state)
TileState getStateForId(int id)
NameToIndexInfo getTileRegInfo()
int getIdForBiome(Biome biome)
Biome getBiomeForId(int id)
NameToIndexInfo getBiomeRegInfo()
DynamicRegistryInfo getRegInfo()
WorldInfo getWorldInfo()
void notifyNeighborsOfChange(int x,
int y,
TileLayer layer)
AbstractEntityPlayer createPlayer(java.util.UUID id, IPlayerDesign design, io.netty.channel.Channel channel)
AbstractEntityPlayer getPlayer(java.util.UUID id)
AbstractEntityPlayer getPlayer(java.lang.String name)
int getSpawnX()
void causeLightUpdate(int x,
int y)
@ApiInternal void unloadChunk(IChunk chunk)
@ApiInternal void savePlayer(AbstractEntityPlayer player)
@ApiInternal java.util.List<IWorldGenerator> getSortedGenerators()
@ApiInternal java.util.List<IWorldGenerator> getSortedRetroactiveGenerators()
@ApiInternal void save()
java.util.List<AbstractEntityPlayer> getAllPlayers()
boolean isDaytime()
boolean isNighttime()
java.io.File getFolder()
java.io.File getPlayerFolder()
java.io.File getChunksFolder()
java.lang.String getName()
void playSound(AbstractEntityPlayer player, IResourceName name, double x, double y, double z, float pitch, float volume)
void broadcastSound(AbstractEntityPlayer player, IResourceName name, float pitch, float volume)
void playSound(IResourceName name, double x, double y, double z, float pitch, float volume, AbstractEntityPlayer except)
void broadcastSound(IResourceName name, float pitch, float volume, AbstractEntityPlayer except)
void playSound(IResourceName name, double x, double y, double z, float pitch, float volume)
void broadcastSound(IResourceName name, float pitch, float volume)
byte getCombinedVisualLight(int x,
int y)