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.IExplosion |
createExplosion(crafttweaker.api.entity.IEntity exploder,
double x,
double y,
double z,
float strength,
boolean causesFire,
boolean damagesTerrain) |
boolean |
equals(java.lang.Object o) |
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.util.List<crafttweaker.api.entity.IEntity> |
getEntitiesInArea(crafttweaker.api.util.Position3f start,
crafttweaker.api.util.Position3f end) |
java.lang.Object |
getInternal() |
int |
getMoonPhase() |
crafttweaker.api.item.IItemStack |
getPickedBlock(crafttweaker.api.world.IBlockPos pos,
crafttweaker.api.world.IRayTraceResult rayTraceResult,
crafttweaker.api.player.IPlayer player) |
crafttweaker.api.world.IWorldProvider |
getProvider() |
crafttweaker.api.world.IWorldInfo |
getWorldInfo() |
long |
getWorldTime() |
java.lang.String |
getWorldType() |
int |
hashCode() |
boolean |
isDayTime() |
boolean |
isRaining() |
boolean |
isRemote() |
boolean |
isSurfaceWorld() |
crafttweaker.api.world.IExplosion |
performExplosion(crafttweaker.api.entity.IEntity exploder,
double x,
double y,
double z,
float strength,
boolean causesFire,
boolean damagesTerrain) |
crafttweaker.api.world.IExplosion |
performExplosion(crafttweaker.api.world.IExplosion explosion)
Overload for pre-made explosions.
|
crafttweaker.api.world.IRayTraceResult |
rayTraceBlocks(crafttweaker.api.world.IVector3d begin,
crafttweaker.api.world.IVector3d ray,
boolean stopOnLiquid,
boolean ignoreBlockWithoutBoundingBox,
boolean returnLastUncollidableBlock) |
void |
removeEntity(crafttweaker.api.entity.IEntity entity) |
boolean |
setBlockState(crafttweaker.api.block.IBlockState state,
crafttweaker.api.world.IBlockPos pos) |
boolean |
setBlockState(crafttweaker.api.block.IBlockState state,
crafttweaker.api.data.IData tileEntityData,
crafttweaker.api.world.IBlockPos pos) |
boolean |
spawnEntity(crafttweaker.api.entity.IEntity entity) |
getBlockState, getStrongPower, isAirBlockpublic int getBrightness(int x,
int y,
int z)
getBrightness in interface crafttweaker.api.world.IWorldpublic int getBrightness(crafttweaker.api.world.IBlockPos pos)
getBrightness in interface crafttweaker.api.world.IWorldpublic crafttweaker.api.block.IBlock getBlock(int x,
int y,
int z)
getBlock in interface crafttweaker.api.world.IWorldpublic crafttweaker.api.block.IBlock getBlock(crafttweaker.api.world.IBlockPos pos)
getBlock in interface crafttweaker.api.world.IWorldpublic crafttweaker.api.world.IBiome getBiome(crafttweaker.api.util.Position3f position)
getBiome in interface crafttweaker.api.world.IWorldpublic crafttweaker.api.world.IBiome getBiome(crafttweaker.api.world.IBlockPos position)
getBiome in interface crafttweaker.api.world.IWorldpublic crafttweaker.api.world.IWorldInfo getWorldInfo()
getWorldInfo in interface crafttweaker.api.world.IWorldpublic boolean isRemote()
isRemote in interface crafttweaker.api.world.IWorldpublic boolean isRaining()
isRaining in interface crafttweaker.api.world.IWorldpublic boolean isDayTime()
isDayTime in interface crafttweaker.api.world.IWorldpublic boolean isSurfaceWorld()
isSurfaceWorld in interface crafttweaker.api.world.IWorldpublic long getWorldTime()
getWorldTime in interface crafttweaker.api.world.IWorldpublic int getMoonPhase()
getMoonPhase in interface crafttweaker.api.world.IWorldpublic int getDimension()
getDimension in interface crafttweaker.api.world.IWorldpublic java.lang.String getDimensionType()
getDimensionType in interface crafttweaker.api.world.IWorldpublic java.lang.String getWorldType()
getWorldType in interface crafttweaker.api.world.IWorldpublic java.lang.Object getInternal()
getInternal in interface crafttweaker.api.world.IBlockAccessgetInternal in interface crafttweaker.api.world.IWorldgetInternal in class MCBlockAccesspublic boolean spawnEntity(crafttweaker.api.entity.IEntity entity)
spawnEntity in interface crafttweaker.api.world.IWorldpublic void removeEntity(crafttweaker.api.entity.IEntity entity)
removeEntity in interface crafttweaker.api.world.IWorldpublic crafttweaker.api.world.IRayTraceResult rayTraceBlocks(crafttweaker.api.world.IVector3d begin,
crafttweaker.api.world.IVector3d ray,
boolean stopOnLiquid,
boolean ignoreBlockWithoutBoundingBox,
boolean returnLastUncollidableBlock)
rayTraceBlocks in interface crafttweaker.api.world.IWorldpublic java.util.List<crafttweaker.api.entity.IEntity> getEntitiesInArea(crafttweaker.api.util.Position3f start,
crafttweaker.api.util.Position3f end)
getEntitiesInArea in interface crafttweaker.api.world.IWorldpublic boolean setBlockState(crafttweaker.api.block.IBlockState state,
crafttweaker.api.world.IBlockPos pos)
setBlockState in interface crafttweaker.api.world.IWorldpublic boolean setBlockState(crafttweaker.api.block.IBlockState state,
crafttweaker.api.data.IData tileEntityData,
crafttweaker.api.world.IBlockPos pos)
setBlockState in interface crafttweaker.api.world.IWorldpublic crafttweaker.api.world.IWorldProvider getProvider()
getProvider in interface crafttweaker.api.world.IWorldpublic crafttweaker.api.item.IItemStack getPickedBlock(crafttweaker.api.world.IBlockPos pos,
crafttweaker.api.world.IRayTraceResult rayTraceResult,
crafttweaker.api.player.IPlayer player)
getPickedBlock in interface crafttweaker.api.world.IWorldpublic crafttweaker.api.world.IExplosion createExplosion(crafttweaker.api.entity.IEntity exploder,
double x,
double y,
double z,
float strength,
boolean causesFire,
boolean damagesTerrain)
createExplosion in interface crafttweaker.api.world.IWorldpublic crafttweaker.api.world.IExplosion performExplosion(crafttweaker.api.entity.IEntity exploder,
double x,
double y,
double z,
float strength,
boolean causesFire,
boolean damagesTerrain)
performExplosion in interface crafttweaker.api.world.IWorldpublic crafttweaker.api.world.IExplosion performExplosion(crafttweaker.api.world.IExplosion explosion)
World.newExplosion(net.minecraft.entity.Entity, double, double, double, float, boolean, boolean)
in favor of an already-constructed explosion.performExplosion in interface crafttweaker.api.world.IWorldpublic boolean equals(java.lang.Object o)
equals in class MCBlockAccesspublic int hashCode()
hashCode in class MCBlockAccess