IAdditionalDataProvider, IChunkOrWorldpublic interface IWorld extends IChunkOrWorld
| Modifier and Type | Method | 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) |
|
int |
getCurrentTime() |
|
java.io.File |
getFolder() |
|
IWorldGenerator |
getGenerator(IResourceName name) |
|
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() |
|
int |
getTotalTime() |
|
WorldInfo |
getWorldInfo() |
|
boolean |
isChunkLoaded(int x,
int y) |
|
boolean |
isChunkLoaded(int x,
int y,
boolean checkGenerating) |
|
boolean |
isDaytime() |
|
boolean |
isNighttime() |
|
boolean |
isPosLoaded(int x,
int y) |
|
boolean |
isPosLoaded(int x,
int y,
boolean checkGenerating) |
|
boolean |
isStoryMode() |
|
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 |
setCurrentTime(int time) |
|
void |
setTotalTime(int time) |
|
void |
unloadChunk(IChunk chunk) |
getAdditionalData, getOrCreateAdditionalData, hasAdditionalData, setAdditionalDataaddEntity, addTileEntity, callRetroactiveGeneration, getAllEntities, getAllTickingTileEntities, getAllTileEntities, getArtificialLight, getBiome, getCombinedLight, getEntities, getEntities, getEntities, getEntities, getEntity, getExpectedBiome, getExpectedSurfaceHeight, getHeight, getLowestAirUpwards, getLowestAirUpwards, getSeed, getSkyLight, getState, getState, getTileEntity, getTileEntity, getTileEntity, getTileEntity, isClient, isDedicatedServer, isLocalPlayer, isServer, reevaluateTickBehavior, removeEntity, removeTileEntity, scheduleUpdate, scheduleUpdate, setArtificialLight, setBiome, setDirty, setSkyLight, setState, setStateIChunk getChunkFromGridCoords(int gridX, int gridY)
IChunk getChunk(double x, double y)
boolean isPosLoaded(int x,
int y)
boolean isPosLoaded(int x,
int y,
boolean checkGenerating)
boolean isChunkLoaded(int x,
int y)
boolean isChunkLoaded(int x,
int y,
boolean checkGenerating)
int getIdForState(TileState state)
TileState getStateForId(int id)
NameToIndexInfo getTileRegInfo()
int getIdForBiome(Biome biome)
Biome getBiomeForId(int id)
NameToIndexInfo getBiomeRegInfo()
DynamicRegistryInfo getRegInfo()
@ApiInternal WorldInfo getWorldInfo()
int getCurrentTime()
int getTotalTime()
void setCurrentTime(int time)
@ApiInternal void setTotalTime(int time)
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 IWorldGenerator getGenerator(IResourceName name)
@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)
boolean isStoryMode()