public class MCWorld extends MCBlockAccess implements crafttweaker.api.world.IWorld
Constructor and Description |
---|
MCWorld(net.minecraft.world.World world) |
Modifier and Type | Method and Description |
---|---|
crafttweaker.api.world.IBiome |
getBiome(crafttweaker.api.world.IBlockPos position) |
crafttweaker.api.world.IBiome |
getBiome(crafttweaker.api.util.Position3f position) |
crafttweaker.api.block.IBlock |
getBlock(crafttweaker.api.world.IBlockPos pos) |
crafttweaker.api.block.IBlock |
getBlock(int x,
int y,
int z) |
int |
getBrightness(crafttweaker.api.world.IBlockPos pos) |
int |
getBrightness(int x,
int y,
int z) |
int |
getDimension() |
java.lang.String |
getDimensionType() |
java.lang.Object |
getInternal() |
int |
getMoonPhase() |
crafttweaker.api.world.IWorldProvider |
getProvider() |
crafttweaker.api.world.IWorldInfo |
getWorldInfo() |
long |
getWorldTime() |
java.lang.String |
getWorldType() |
boolean |
isDayTime() |
boolean |
isRaining() |
boolean |
isRemote() |
boolean |
isSurfaceWorld() |
boolean |
setBlockState(crafttweaker.api.block.IBlockState state,
crafttweaker.api.world.IBlockPos pos) |
boolean |
spawnEntity(crafttweaker.api.entity.IEntity entity) |
getBlockState, getStrongPower, isAirBlock
public int getBrightness(int x, int y, int z)
getBrightness
in interface crafttweaker.api.world.IWorld
public int getBrightness(crafttweaker.api.world.IBlockPos pos)
getBrightness
in interface crafttweaker.api.world.IWorld
public crafttweaker.api.block.IBlock getBlock(int x, int y, int z)
getBlock
in interface crafttweaker.api.world.IWorld
public crafttweaker.api.block.IBlock getBlock(crafttweaker.api.world.IBlockPos pos)
getBlock
in interface crafttweaker.api.world.IWorld
public crafttweaker.api.world.IBiome getBiome(crafttweaker.api.util.Position3f position)
getBiome
in interface crafttweaker.api.world.IWorld
public crafttweaker.api.world.IBiome getBiome(crafttweaker.api.world.IBlockPos position)
getBiome
in interface crafttweaker.api.world.IWorld
public crafttweaker.api.world.IWorldInfo getWorldInfo()
getWorldInfo
in interface crafttweaker.api.world.IWorld
public boolean isRemote()
isRemote
in interface crafttweaker.api.world.IWorld
public boolean isRaining()
isRaining
in interface crafttweaker.api.world.IWorld
public boolean isDayTime()
isDayTime
in interface crafttweaker.api.world.IWorld
public boolean isSurfaceWorld()
isSurfaceWorld
in interface crafttweaker.api.world.IWorld
public long getWorldTime()
getWorldTime
in interface crafttweaker.api.world.IWorld
public int getMoonPhase()
getMoonPhase
in interface crafttweaker.api.world.IWorld
public int getDimension()
getDimension
in interface crafttweaker.api.world.IWorld
public java.lang.String getDimensionType()
getDimensionType
in interface crafttweaker.api.world.IWorld
public java.lang.String getWorldType()
getWorldType
in interface crafttweaker.api.world.IWorld
public java.lang.Object getInternal()
getInternal
in interface crafttweaker.api.world.IBlockAccess
getInternal
in interface crafttweaker.api.world.IWorld
getInternal
in class MCBlockAccess
public boolean spawnEntity(crafttweaker.api.entity.IEntity entity)
spawnEntity
in interface crafttweaker.api.world.IWorld
public boolean setBlockState(crafttweaker.api.block.IBlockState state, crafttweaker.api.world.IBlockPos pos)
setBlockState
in interface crafttweaker.api.world.IWorld
public crafttweaker.api.world.IWorldProvider getProvider()
getProvider
in interface crafttweaker.api.world.IWorld