public abstract class MixinWorld extends Object implements org.spongepowered.api.world.World, IMixinWorld
Modifier and Type | Field and Description |
---|---|
List<net.minecraft.entity.Entity> |
loadedEntityList |
List<net.minecraft.tileentity.TileEntity> |
loadedTileEntityList |
net.minecraft.world.WorldProvider |
provider |
Random |
rand |
protected SpongeScoreboard |
spongeScoreboard |
SpongeConfig<SpongeConfig.WorldConfig> |
worldConfig |
protected net.minecraft.world.storage.WorldInfo |
worldInfo |
net.minecraft.scoreboard.Scoreboard |
worldScoreboard |
Constructor and Description |
---|
MixinWorld() |
Modifier and Type | Method and Description |
---|---|
void |
clearTitle() |
boolean |
containsBiome(int x,
int z) |
boolean |
containsBlock(int x,
int y,
int z) |
Optional<org.spongepowered.api.entity.Entity> |
createEntity(org.spongepowered.api.data.DataContainer entityContainer) |
Optional<org.spongepowered.api.entity.Entity> |
createEntity(org.spongepowered.api.data.DataContainer entityContainer,
com.flowpowered.math.vector.Vector3d position) |
Optional<org.spongepowered.api.entity.Entity> |
createEntity(org.spongepowered.api.entity.EntityType type,
com.flowpowered.math.vector.Vector3d position) |
Optional<org.spongepowered.api.entity.Entity> |
createEntity(org.spongepowered.api.entity.EntityType type,
com.flowpowered.math.vector.Vector3i position) |
org.spongepowered.api.block.BlockSnapshot |
createSnapshot(int x,
int y,
int z) |
boolean |
doesKeepSpawnLoaded() |
void |
forecast(org.spongepowered.api.world.weather.Weather weather) |
void |
forecast(org.spongepowered.api.world.weather.Weather weather,
long duration) |
org.spongepowered.api.world.biome.BiomeType |
getBiome(int x,
int z) |
abstract net.minecraft.world.biome.BiomeGenBase |
getBiomeGenForCoords(net.minecraft.util.BlockPos pos) |
com.flowpowered.math.vector.Vector2i |
getBiomeMax() |
com.flowpowered.math.vector.Vector2i |
getBiomeMin() |
com.flowpowered.math.vector.Vector2i |
getBiomeSize() |
org.spongepowered.api.block.BlockState |
getBlock(int x,
int y,
int z) |
com.flowpowered.math.vector.Vector3i |
getBlockMax() |
com.flowpowered.math.vector.Vector3i |
getBlockMin() |
com.flowpowered.math.vector.Vector3i |
getBlockSize() |
abstract net.minecraft.block.state.IBlockState |
getBlockState(net.minecraft.util.BlockPos pos) |
org.spongepowered.api.block.BlockType |
getBlockType(int x,
int y,
int z) |
Optional<org.spongepowered.api.world.Chunk> |
getChunk(int x,
int y,
int z) |
Optional<org.spongepowered.api.world.Chunk> |
getChunk(com.flowpowered.math.vector.Vector3i position) |
abstract net.minecraft.world.chunk.Chunk |
getChunkFromChunkCoords(int chunkX,
int chunkZ) |
abstract net.minecraft.world.chunk.IChunkProvider |
getChunkProvider() |
org.spongepowered.api.service.permission.context.Context |
getContext() |
org.spongepowered.api.world.WorldCreationSettings |
getCreationSettings() |
org.spongepowered.api.world.difficulty.Difficulty |
getDifficulty() |
org.spongepowered.api.world.Dimension |
getDimension() |
Collection<org.spongepowered.api.entity.Entity> |
getEntities() |
abstract List<net.minecraft.entity.Entity> |
getEntities(Class<net.minecraft.entity.Entity> entityType,
Predicate<net.minecraft.entity.Entity> filter) |
Collection<org.spongepowered.api.entity.Entity> |
getEntities(Predicate<org.spongepowered.api.entity.Entity> filter) |
Optional<org.spongepowered.api.entity.Entity> |
getEntity(UUID uuid) |
org.spongepowered.api.world.extent.Extent |
getExtentView(org.spongepowered.api.util.DiscreteTransform3 transform) |
org.spongepowered.api.world.extent.Extent |
getExtentView(com.flowpowered.math.vector.Vector3i newMin,
com.flowpowered.math.vector.Vector3i newMax) |
Optional<String> |
getGameRule(String gameRule) |
Map<String,String> |
getGameRules() |
ImmutableList<org.spongepowered.api.world.gen.GeneratorPopulator> |
getGeneratorPopulators() |
Collection<org.spongepowered.api.util.Direction> |
getIndirectlyPoweredBlockFaces(int x,
int y,
int z) |
abstract int |
getLightFor(net.minecraft.world.EnumSkyBlock type,
net.minecraft.util.BlockPos pos) |
Iterable<org.spongepowered.api.world.Chunk> |
getLoadedChunks() |
org.spongepowered.api.world.Location<org.spongepowered.api.world.World> |
getLocation(double x,
double y,
double z) |
org.spongepowered.api.world.Location<org.spongepowered.api.world.World> |
getLocation(int x,
int y,
int z) |
org.spongepowered.api.world.Location<org.spongepowered.api.world.World> |
getLocation(com.flowpowered.math.vector.Vector3d position) |
org.spongepowered.api.world.Location<org.spongepowered.api.world.World> |
getLocation(com.flowpowered.math.vector.Vector3i position) |
String |
getName() |
ImmutableList<org.spongepowered.api.world.gen.Populator> |
getPopulators() |
Collection<org.spongepowered.api.util.Direction> |
getPoweredBlockFaces(int x,
int y,
int z) |
org.spongepowered.api.world.storage.WorldProperties |
getProperties() |
abstract int |
getRedstonePower(net.minecraft.util.BlockPos pos,
net.minecraft.util.EnumFacing facing) |
org.spongepowered.api.world.extent.Extent |
getRelativeExtentView() |
long |
getRemainingDuration() |
org.spongepowered.api.scoreboard.Scoreboard |
getScoreboard() |
abstract int |
getSkylightSubtracted() |
org.spongepowered.api.world.Location<org.spongepowered.api.world.World> |
getSpawnLocation() |
abstract int |
getStrongPower(net.minecraft.util.BlockPos pos,
net.minecraft.util.EnumFacing direction) |
Collection<org.spongepowered.api.block.tileentity.TileEntity> |
getTileEntities() |
Collection<org.spongepowered.api.block.tileentity.TileEntity> |
getTileEntities(Predicate<org.spongepowered.api.block.tileentity.TileEntity> filter) |
abstract net.minecraft.tileentity.TileEntity |
getTileEntity(net.minecraft.util.BlockPos pos) |
Optional<org.spongepowered.api.block.tileentity.TileEntity> |
getTileEntity(int x,
int y,
int z) |
UUID |
getUniqueId() |
org.spongepowered.api.world.weather.Weather |
getWeather() |
org.spongepowered.api.world.WorldBorder |
getWorldBorder() |
abstract net.minecraft.world.biome.WorldChunkManager |
getWorldChunkManager() |
SpongeConfig<SpongeConfig.WorldConfig> |
getWorldConfig() |
org.spongepowered.api.world.gen.WorldGenerator |
getWorldGenerator() |
boolean |
isBlockFaceIndirectlyPowered(int x,
int y,
int z,
org.spongepowered.api.util.Direction direction) |
boolean |
isBlockFacePowered(int x,
int y,
int z,
org.spongepowered.api.util.Direction direction) |
boolean |
isBlockFlammable(int x,
int y,
int z,
org.spongepowered.api.util.Direction faceDirection) |
abstract int |
isBlockIndirectlyGettingPowered(net.minecraft.util.BlockPos pos) |
abstract boolean |
isBlockPowered(net.minecraft.util.BlockPos pos) |
abstract boolean |
isChunkLoaded(int x,
int z,
boolean allowEmpty) |
boolean |
isLoaded() |
Optional<org.spongepowered.api.world.Chunk> |
loadChunk(int x,
int y,
int z,
boolean shouldGenerate) |
Optional<org.spongepowered.api.world.Chunk> |
loadChunk(com.flowpowered.math.vector.Vector3i position,
boolean shouldGenerate) |
abstract net.minecraft.world.Explosion |
newExplosion(net.minecraft.entity.Entity entityIn,
double x,
double y,
double z,
float strength,
boolean isFlaming,
boolean isSmoking) |
void |
onConstructed(net.minecraft.world.storage.ISaveHandler saveHandlerIn,
net.minecraft.world.storage.WorldInfo info,
net.minecraft.world.WorldProvider providerIn,
net.minecraft.profiler.Profiler profilerIn,
boolean client,
org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) |
void |
onGetCollidingBoundingBoxes(net.minecraft.entity.Entity entity,
net.minecraft.util.AxisAlignedBB axis,
org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable<List> cir) |
void |
playSound(org.spongepowered.api.effect.sound.SoundType sound,
com.flowpowered.math.vector.Vector3d position,
double volume) |
void |
playSound(org.spongepowered.api.effect.sound.SoundType sound,
com.flowpowered.math.vector.Vector3d position,
double volume,
double pitch) |
void |
playSound(org.spongepowered.api.effect.sound.SoundType sound,
com.flowpowered.math.vector.Vector3d position,
double volume,
double pitch,
double minVolume) |
abstract void |
playSoundEffect(double x,
double y,
double z,
String soundName,
float volume,
float pitch) |
void |
resetTitle() |
boolean |
restoreSnapshot(org.spongepowered.api.block.BlockSnapshot snapshot,
boolean force,
boolean notifyNeighbors) |
boolean |
restoreSnapshot(int x,
int y,
int z,
org.spongepowered.api.block.BlockSnapshot snapshot,
boolean force,
boolean notifyNeighbors) |
void |
sendMessage(org.spongepowered.api.text.chat.ChatType type,
Iterable<org.spongepowered.api.text.Text> messages) |
void |
sendMessage(org.spongepowered.api.text.chat.ChatType type,
org.spongepowered.api.text.Text... messages) |
void |
sendTitle(org.spongepowered.api.text.title.Title title) |
void |
setBiome(int x,
int z,
org.spongepowered.api.world.biome.BiomeType biome) |
void |
setBlock(int x,
int y,
int z,
org.spongepowered.api.block.BlockState block) |
void |
setKeepSpawnLoaded(boolean keepLoaded) |
void |
setScoreboard(org.spongepowered.api.scoreboard.Scoreboard scoreboard) |
void |
setWorldGenerator(org.spongepowered.api.world.gen.WorldGenerator generator) |
abstract net.minecraft.world.EnumDifficulty |
shadow$getDifficulty() |
abstract net.minecraft.world.border.WorldBorder |
shadow$getWorldBorder() |
boolean |
spawnEntity(org.spongepowered.api.entity.Entity entity,
org.spongepowered.api.event.cause.Cause cause) |
abstract boolean |
spawnEntityInWorld(net.minecraft.entity.Entity entityIn) |
void |
spawnParticles(org.spongepowered.api.effect.particle.ParticleEffect particleEffect,
com.flowpowered.math.vector.Vector3d position) |
void |
spawnParticles(org.spongepowered.api.effect.particle.ParticleEffect particleEffect,
com.flowpowered.math.vector.Vector3d position,
int radius) |
void |
triggerExplosion(org.spongepowered.api.world.explosion.Explosion explosion) |
boolean |
unloadChunk(org.spongepowered.api.world.Chunk chunk) |
void |
updateWorldGenerator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTeleporterAgent, getWorldStorage
addScheduledUpdate, addScheduledUpdate, createSnapshot, digBlock, digBlock, digBlockWith, digBlockWith, getBlockDigTimeWith, getBlockDigTimeWith, getIndirectlyPoweredBlockFaces, getPoweredBlockFaces, getScheduledUpdates, getScheduledUpdates, interactBlock, interactBlock, interactBlockWith, interactBlockWith, isBlockFaceIndirectlyPowered, isBlockFacePowered, isBlockFlammable, removeScheduledUpdate, removeScheduledUpdate, restoreSnapshot, setBlock, setBlock, setBlockType, setBlockType
getBlockView, getBlockView, getRelativeBlockView, setBlock, setBlockType, setBlockType
containsBlock, getBlock, getBlockCopy, getBlockCopy, getBlockType, getImmutableBlockCopy, getUnmodifiableBlockView
getBiomeView, getBiomeView, getRelativeBiomeView, setBiome
containsBiome, getBiome, getBiomeCopy, getBiomeCopy, getImmutableBiomeCopy, getUnmodifiableBiomeView
copyFrom, copyFrom, copyFrom, copyFrom, copyFrom, copyFrom, copyFrom, copyFrom, get, get, get, get, getKeys, getKeys, getManipulators, getManipulators, getOrCreate, getOrCreate, getOrElse, getOrElse, getOrNull, getOrNull, getProperties, getProperties, getProperty, getProperty, getValue, getValue, getValues, getValues, offer, offer, offer, offer, offer, offer, offer, offer, offer, offer, offer, remove, remove, remove, remove, setRawData, setRawData, supports, supports, supports, supports, supports, supports, supports, supports, transform, transform, undo, undo, validateRawData, validateRawData
public SpongeConfig<SpongeConfig.WorldConfig> worldConfig
protected SpongeScoreboard spongeScoreboard
public net.minecraft.world.WorldProvider provider
protected net.minecraft.world.storage.WorldInfo worldInfo
public Random rand
public List<net.minecraft.entity.Entity> loadedEntityList
public net.minecraft.scoreboard.Scoreboard worldScoreboard
public List<net.minecraft.tileentity.TileEntity> loadedTileEntityList
public abstract net.minecraft.world.border.WorldBorder shadow$getWorldBorder()
public abstract net.minecraft.world.EnumDifficulty shadow$getDifficulty()
public abstract boolean spawnEntityInWorld(net.minecraft.entity.Entity entityIn)
public abstract List<net.minecraft.entity.Entity> getEntities(Class<net.minecraft.entity.Entity> entityType, Predicate<net.minecraft.entity.Entity> filter)
public abstract void playSoundEffect(double x, double y, double z, String soundName, float volume, float pitch)
public abstract net.minecraft.world.biome.BiomeGenBase getBiomeGenForCoords(net.minecraft.util.BlockPos pos)
public abstract net.minecraft.world.chunk.IChunkProvider getChunkProvider()
public abstract net.minecraft.world.biome.WorldChunkManager getWorldChunkManager()
public abstract net.minecraft.tileentity.TileEntity getTileEntity(net.minecraft.util.BlockPos pos)
public abstract boolean isBlockPowered(net.minecraft.util.BlockPos pos)
public abstract net.minecraft.block.state.IBlockState getBlockState(net.minecraft.util.BlockPos pos)
public abstract net.minecraft.world.chunk.Chunk getChunkFromChunkCoords(int chunkX, int chunkZ)
public abstract boolean isChunkLoaded(int x, int z, boolean allowEmpty)
public abstract int getRedstonePower(net.minecraft.util.BlockPos pos, net.minecraft.util.EnumFacing facing)
public abstract int getStrongPower(net.minecraft.util.BlockPos pos, net.minecraft.util.EnumFacing direction)
public abstract int isBlockIndirectlyGettingPowered(net.minecraft.util.BlockPos pos)
public abstract net.minecraft.world.Explosion newExplosion(net.minecraft.entity.Entity entityIn, double x, double y, double z, float strength, boolean isFlaming, boolean isSmoking)
public void onConstructed(net.minecraft.world.storage.ISaveHandler saveHandlerIn, net.minecraft.world.storage.WorldInfo info, net.minecraft.world.WorldProvider providerIn, net.minecraft.profiler.Profiler profilerIn, boolean client, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
public abstract int getSkylightSubtracted()
public abstract int getLightFor(net.minecraft.world.EnumSkyBlock type, net.minecraft.util.BlockPos pos)
public void onGetCollidingBoundingBoxes(net.minecraft.entity.Entity entity, net.minecraft.util.AxisAlignedBB axis, org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable<List> cir)
public UUID getUniqueId()
getUniqueId
in interface org.spongepowered.api.util.Identifiable
public String getName()
getName
in interface org.spongepowered.api.world.World
public org.spongepowered.api.world.Location<org.spongepowered.api.world.World> getLocation(int x, int y, int z)
getLocation
in interface org.spongepowered.api.world.extent.Extent
getLocation
in interface org.spongepowered.api.world.World
public org.spongepowered.api.world.Location<org.spongepowered.api.world.World> getLocation(com.flowpowered.math.vector.Vector3i position)
getLocation
in interface org.spongepowered.api.world.extent.Extent
getLocation
in interface org.spongepowered.api.world.World
public org.spongepowered.api.world.Location<org.spongepowered.api.world.World> getLocation(double x, double y, double z)
getLocation
in interface org.spongepowered.api.world.extent.Extent
getLocation
in interface org.spongepowered.api.world.World
public org.spongepowered.api.world.Location<org.spongepowered.api.world.World> getLocation(com.flowpowered.math.vector.Vector3d position)
getLocation
in interface org.spongepowered.api.world.extent.Extent
getLocation
in interface org.spongepowered.api.world.World
public Optional<org.spongepowered.api.world.Chunk> getChunk(com.flowpowered.math.vector.Vector3i position)
getChunk
in interface org.spongepowered.api.world.World
public Optional<org.spongepowered.api.world.Chunk> getChunk(int x, int y, int z)
getChunk
in interface org.spongepowered.api.world.World
public Optional<org.spongepowered.api.world.Chunk> loadChunk(com.flowpowered.math.vector.Vector3i position, boolean shouldGenerate)
loadChunk
in interface org.spongepowered.api.world.World
public Optional<org.spongepowered.api.world.Chunk> loadChunk(int x, int y, int z, boolean shouldGenerate)
loadChunk
in interface org.spongepowered.api.world.World
public org.spongepowered.api.block.BlockState getBlock(int x, int y, int z)
getBlock
in interface org.spongepowered.api.world.extent.BlockVolume
public org.spongepowered.api.block.BlockType getBlockType(int x, int y, int z)
getBlockType
in interface org.spongepowered.api.world.extent.BlockVolume
public void setBlock(int x, int y, int z, org.spongepowered.api.block.BlockState block)
setBlock
in interface org.spongepowered.api.world.extent.MutableBlockVolume
public org.spongepowered.api.world.biome.BiomeType getBiome(int x, int z)
getBiome
in interface org.spongepowered.api.world.extent.BiomeArea
public void setBiome(int x, int z, org.spongepowered.api.world.biome.BiomeType biome)
setBiome
in interface org.spongepowered.api.world.extent.MutableBiomeArea
public Collection<org.spongepowered.api.entity.Entity> getEntities()
getEntities
in interface org.spongepowered.api.world.extent.EntityUniverse
public Collection<org.spongepowered.api.entity.Entity> getEntities(Predicate<org.spongepowered.api.entity.Entity> filter)
getEntities
in interface org.spongepowered.api.world.extent.EntityUniverse
public Optional<org.spongepowered.api.entity.Entity> createEntity(org.spongepowered.api.entity.EntityType type, com.flowpowered.math.vector.Vector3d position)
createEntity
in interface org.spongepowered.api.world.extent.EntityUniverse
public Optional<org.spongepowered.api.entity.Entity> createEntity(org.spongepowered.api.entity.EntityType type, com.flowpowered.math.vector.Vector3i position)
createEntity
in interface org.spongepowered.api.world.extent.EntityUniverse
public Optional<org.spongepowered.api.entity.Entity> createEntity(org.spongepowered.api.data.DataContainer entityContainer)
createEntity
in interface org.spongepowered.api.world.extent.EntityUniverse
public Optional<org.spongepowered.api.entity.Entity> createEntity(org.spongepowered.api.data.DataContainer entityContainer, com.flowpowered.math.vector.Vector3d position)
createEntity
in interface org.spongepowered.api.world.extent.EntityUniverse
public boolean spawnEntity(org.spongepowered.api.entity.Entity entity, org.spongepowered.api.event.cause.Cause cause)
spawnEntity
in interface org.spongepowered.api.world.extent.EntityUniverse
public org.spongepowered.api.world.WorldBorder getWorldBorder()
getWorldBorder
in interface org.spongepowered.api.world.World
public void spawnParticles(org.spongepowered.api.effect.particle.ParticleEffect particleEffect, com.flowpowered.math.vector.Vector3d position)
spawnParticles
in interface org.spongepowered.api.effect.Viewer
public void spawnParticles(org.spongepowered.api.effect.particle.ParticleEffect particleEffect, com.flowpowered.math.vector.Vector3d position, int radius)
spawnParticles
in interface org.spongepowered.api.effect.Viewer
public org.spongepowered.api.world.weather.Weather getWeather()
getWeather
in interface org.spongepowered.api.world.weather.WeatherUniverse
public long getRemainingDuration()
getRemainingDuration
in interface org.spongepowered.api.world.weather.WeatherUniverse
public void forecast(org.spongepowered.api.world.weather.Weather weather)
forecast
in interface org.spongepowered.api.world.weather.WeatherUniverse
public void forecast(org.spongepowered.api.world.weather.Weather weather, long duration)
forecast
in interface org.spongepowered.api.world.weather.WeatherUniverse
public org.spongepowered.api.world.Dimension getDimension()
getDimension
in interface org.spongepowered.api.world.World
public boolean doesKeepSpawnLoaded()
doesKeepSpawnLoaded
in interface org.spongepowered.api.world.World
public void setKeepSpawnLoaded(boolean keepLoaded)
setKeepSpawnLoaded
in interface org.spongepowered.api.world.World
public SpongeConfig<SpongeConfig.WorldConfig> getWorldConfig()
getWorldConfig
in interface IMixinWorld
public void playSound(org.spongepowered.api.effect.sound.SoundType sound, com.flowpowered.math.vector.Vector3d position, double volume)
playSound
in interface org.spongepowered.api.effect.Viewer
public void playSound(org.spongepowered.api.effect.sound.SoundType sound, com.flowpowered.math.vector.Vector3d position, double volume, double pitch)
playSound
in interface org.spongepowered.api.effect.Viewer
public void playSound(org.spongepowered.api.effect.sound.SoundType sound, com.flowpowered.math.vector.Vector3d position, double volume, double pitch, double minVolume)
playSound
in interface org.spongepowered.api.effect.Viewer
public Optional<org.spongepowered.api.entity.Entity> getEntity(UUID uuid)
getEntity
in interface org.spongepowered.api.world.World
public Iterable<org.spongepowered.api.world.Chunk> getLoadedChunks()
getLoadedChunks
in interface org.spongepowered.api.world.World
public boolean unloadChunk(org.spongepowered.api.world.Chunk chunk)
unloadChunk
in interface org.spongepowered.api.world.World
public org.spongepowered.api.world.WorldCreationSettings getCreationSettings()
getCreationSettings
in interface org.spongepowered.api.world.World
public void updateWorldGenerator()
updateWorldGenerator
in interface IMixinWorld
public ImmutableList<org.spongepowered.api.world.gen.Populator> getPopulators()
getPopulators
in interface IMixinWorld
public ImmutableList<org.spongepowered.api.world.gen.GeneratorPopulator> getGeneratorPopulators()
getGeneratorPopulators
in interface IMixinWorld
public org.spongepowered.api.world.storage.WorldProperties getProperties()
getProperties
in interface org.spongepowered.api.world.World
public org.spongepowered.api.world.Location<org.spongepowered.api.world.World> getSpawnLocation()
getSpawnLocation
in interface org.spongepowered.api.world.World
public org.spongepowered.api.service.permission.context.Context getContext()
getContext
in interface org.spongepowered.api.service.permission.context.Contextual
public Optional<org.spongepowered.api.block.tileentity.TileEntity> getTileEntity(int x, int y, int z)
getTileEntity
in interface org.spongepowered.api.world.extent.TileEntityVolume
public com.flowpowered.math.vector.Vector2i getBiomeMin()
getBiomeMin
in interface org.spongepowered.api.world.extent.BiomeArea
public com.flowpowered.math.vector.Vector2i getBiomeMax()
getBiomeMax
in interface org.spongepowered.api.world.extent.BiomeArea
public com.flowpowered.math.vector.Vector2i getBiomeSize()
getBiomeSize
in interface org.spongepowered.api.world.extent.BiomeArea
public com.flowpowered.math.vector.Vector3i getBlockMin()
getBlockMin
in interface org.spongepowered.api.world.extent.BlockVolume
public com.flowpowered.math.vector.Vector3i getBlockMax()
getBlockMax
in interface org.spongepowered.api.world.extent.BlockVolume
public com.flowpowered.math.vector.Vector3i getBlockSize()
getBlockSize
in interface org.spongepowered.api.world.extent.BlockVolume
public boolean containsBiome(int x, int z)
containsBiome
in interface org.spongepowered.api.world.extent.BiomeArea
public boolean containsBlock(int x, int y, int z)
containsBlock
in interface org.spongepowered.api.world.extent.BlockVolume
public void setWorldGenerator(org.spongepowered.api.world.gen.WorldGenerator generator)
setWorldGenerator
in interface org.spongepowered.api.world.World
public org.spongepowered.api.world.gen.WorldGenerator getWorldGenerator()
getWorldGenerator
in interface org.spongepowered.api.world.World
public org.spongepowered.api.scoreboard.Scoreboard getScoreboard()
getScoreboard
in interface org.spongepowered.api.world.World
public void setScoreboard(org.spongepowered.api.scoreboard.Scoreboard scoreboard)
setScoreboard
in interface org.spongepowered.api.world.World
public org.spongepowered.api.world.difficulty.Difficulty getDifficulty()
getDifficulty
in interface org.spongepowered.api.world.World
public void sendMessage(org.spongepowered.api.text.chat.ChatType type, org.spongepowered.api.text.Text... messages)
sendMessage
in interface org.spongepowered.api.effect.Viewer
public void sendMessage(org.spongepowered.api.text.chat.ChatType type, Iterable<org.spongepowered.api.text.Text> messages)
sendMessage
in interface org.spongepowered.api.effect.Viewer
public void sendTitle(org.spongepowered.api.text.title.Title title)
sendTitle
in interface org.spongepowered.api.effect.Viewer
public void resetTitle()
resetTitle
in interface org.spongepowered.api.effect.Viewer
public void clearTitle()
clearTitle
in interface org.spongepowered.api.effect.Viewer
public boolean isBlockFacePowered(int x, int y, int z, org.spongepowered.api.util.Direction direction)
isBlockFacePowered
in interface org.spongepowered.api.world.extent.Extent
public boolean isBlockFaceIndirectlyPowered(int x, int y, int z, org.spongepowered.api.util.Direction direction)
isBlockFaceIndirectlyPowered
in interface org.spongepowered.api.world.extent.Extent
public Collection<org.spongepowered.api.util.Direction> getPoweredBlockFaces(int x, int y, int z)
getPoweredBlockFaces
in interface org.spongepowered.api.world.extent.Extent
public Collection<org.spongepowered.api.util.Direction> getIndirectlyPoweredBlockFaces(int x, int y, int z)
getIndirectlyPoweredBlockFaces
in interface org.spongepowered.api.world.extent.Extent
public boolean isBlockFlammable(int x, int y, int z, org.spongepowered.api.util.Direction faceDirection)
isBlockFlammable
in interface org.spongepowered.api.world.extent.Extent
public Collection<org.spongepowered.api.block.tileentity.TileEntity> getTileEntities()
getTileEntities
in interface org.spongepowered.api.world.extent.TileEntityVolume
public Collection<org.spongepowered.api.block.tileentity.TileEntity> getTileEntities(Predicate<org.spongepowered.api.block.tileentity.TileEntity> filter)
getTileEntities
in interface org.spongepowered.api.world.extent.TileEntityVolume
public boolean isLoaded()
isLoaded
in interface org.spongepowered.api.world.extent.Extent
public Optional<String> getGameRule(String gameRule)
getGameRule
in interface org.spongepowered.api.world.World
public Map<String,String> getGameRules()
getGameRules
in interface org.spongepowered.api.world.World
public void triggerExplosion(org.spongepowered.api.world.explosion.Explosion explosion)
triggerExplosion
in interface org.spongepowered.api.world.World
public org.spongepowered.api.world.extent.Extent getExtentView(com.flowpowered.math.vector.Vector3i newMin, com.flowpowered.math.vector.Vector3i newMax)
getExtentView
in interface org.spongepowered.api.world.extent.Extent
public org.spongepowered.api.world.extent.Extent getExtentView(org.spongepowered.api.util.DiscreteTransform3 transform)
getExtentView
in interface org.spongepowered.api.world.extent.Extent
public org.spongepowered.api.world.extent.Extent getRelativeExtentView()
getRelativeExtentView
in interface org.spongepowered.api.world.extent.Extent
public org.spongepowered.api.block.BlockSnapshot createSnapshot(int x, int y, int z)
createSnapshot
in interface org.spongepowered.api.world.extent.Extent
public boolean restoreSnapshot(org.spongepowered.api.block.BlockSnapshot snapshot, boolean force, boolean notifyNeighbors)
restoreSnapshot
in interface org.spongepowered.api.world.extent.Extent
public boolean restoreSnapshot(int x, int y, int z, org.spongepowered.api.block.BlockSnapshot snapshot, boolean force, boolean notifyNeighbors)
restoreSnapshot
in interface org.spongepowered.api.world.extent.Extent