public class MCWorldProvider
extends java.lang.Object
implements crafttweaker.api.world.IWorldProvider
| Constructor and Description |
|---|
MCWorldProvider(int id) |
MCWorldProvider(net.minecraft.world.WorldProvider provider) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canRespawnHere() |
boolean |
doesWaterVaporize() |
int |
getActualHeight() |
int |
getAverageGroundLevel() |
crafttweaker.api.world.IBiome |
getBiomeForCoords(crafttweaker.api.world.IBlockPos pos) |
float |
getCloudHeight() |
float |
getCurrentMoonPhaseFactor() |
int |
getDimensionID() |
int |
getHeight() |
double |
getHorizon() |
float[] |
getLightBrightnesTable() |
int |
getMoonPhase(long time) |
double |
getMovementFactor() |
crafttweaker.api.world.IBlockPos |
getRandomizedSpawnPoint() |
crafttweaker.api.world.IWorldProvider |
getRespawnDimension(crafttweaker.api.player.IPlayer player) |
java.lang.String |
getSaveFolder() |
long |
getSeed() |
crafttweaker.api.world.IBlockPos |
getSpawnCoordinate() |
crafttweaker.api.world.IBlockPos |
getSpawnPoint() |
float |
getStarBrightness(float something) |
float |
getSunBrightness(float something) |
float |
getSunBrightnessFactor(float something) |
double |
getVoidFogYFactor() |
long |
getWorldTime() |
boolean |
hasSkyLight() |
boolean |
isBlockHighHumidity(crafttweaker.api.world.IBlockPos pos) |
boolean |
isDaytime() |
boolean |
isNether() |
boolean |
isSkyColored() |
boolean |
isSurfaceWorld() |
public MCWorldProvider(int id)
public MCWorldProvider(net.minecraft.world.WorldProvider provider)
public int getActualHeight()
getActualHeight in interface crafttweaker.api.world.IWorldProviderpublic int getAverageGroundLevel()
getAverageGroundLevel in interface crafttweaker.api.world.IWorldProviderpublic crafttweaker.api.world.IBiome getBiomeForCoords(crafttweaker.api.world.IBlockPos pos)
getBiomeForCoords in interface crafttweaker.api.world.IWorldProviderpublic float getCloudHeight()
getCloudHeight in interface crafttweaker.api.world.IWorldProviderpublic float getCurrentMoonPhaseFactor()
getCurrentMoonPhaseFactor in interface crafttweaker.api.world.IWorldProviderpublic int getDimensionID()
getDimensionID in interface crafttweaker.api.world.IWorldProviderpublic int getHeight()
getHeight in interface crafttweaker.api.world.IWorldProviderpublic double getHorizon()
getHorizon in interface crafttweaker.api.world.IWorldProviderpublic float[] getLightBrightnesTable()
getLightBrightnesTable in interface crafttweaker.api.world.IWorldProviderpublic int getMoonPhase(long time)
getMoonPhase in interface crafttweaker.api.world.IWorldProviderpublic double getMovementFactor()
getMovementFactor in interface crafttweaker.api.world.IWorldProviderpublic crafttweaker.api.world.IBlockPos getRandomizedSpawnPoint()
getRandomizedSpawnPoint in interface crafttweaker.api.world.IWorldProviderpublic crafttweaker.api.world.IWorldProvider getRespawnDimension(crafttweaker.api.player.IPlayer player)
getRespawnDimension in interface crafttweaker.api.world.IWorldProviderpublic java.lang.String getSaveFolder()
getSaveFolder in interface crafttweaker.api.world.IWorldProviderpublic long getSeed()
getSeed in interface crafttweaker.api.world.IWorldProviderpublic crafttweaker.api.world.IBlockPos getSpawnCoordinate()
getSpawnCoordinate in interface crafttweaker.api.world.IWorldProviderpublic crafttweaker.api.world.IBlockPos getSpawnPoint()
getSpawnPoint in interface crafttweaker.api.world.IWorldProviderpublic float getStarBrightness(float something)
getStarBrightness in interface crafttweaker.api.world.IWorldProviderpublic float getSunBrightness(float something)
getSunBrightness in interface crafttweaker.api.world.IWorldProviderpublic float getSunBrightnessFactor(float something)
getSunBrightnessFactor in interface crafttweaker.api.world.IWorldProviderpublic double getVoidFogYFactor()
getVoidFogYFactor in interface crafttweaker.api.world.IWorldProviderpublic long getWorldTime()
getWorldTime in interface crafttweaker.api.world.IWorldProviderpublic boolean canRespawnHere()
canRespawnHere in interface crafttweaker.api.world.IWorldProviderpublic boolean doesWaterVaporize()
doesWaterVaporize in interface crafttweaker.api.world.IWorldProviderpublic boolean hasSkyLight()
hasSkyLight in interface crafttweaker.api.world.IWorldProviderpublic boolean isBlockHighHumidity(crafttweaker.api.world.IBlockPos pos)
isBlockHighHumidity in interface crafttweaker.api.world.IWorldProviderpublic boolean isDaytime()
isDaytime in interface crafttweaker.api.world.IWorldProviderpublic boolean isNether()
isNether in interface crafttweaker.api.world.IWorldProviderpublic boolean isSkyColored()
isSkyColored in interface crafttweaker.api.world.IWorldProviderpublic boolean isSurfaceWorld()
isSurfaceWorld in interface crafttweaker.api.world.IWorldProvider