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.IWorldProvider
public int getAverageGroundLevel()
getAverageGroundLevel
in interface crafttweaker.api.world.IWorldProvider
public crafttweaker.api.world.IBiome getBiomeForCoords(crafttweaker.api.world.IBlockPos pos)
getBiomeForCoords
in interface crafttweaker.api.world.IWorldProvider
public float getCloudHeight()
getCloudHeight
in interface crafttweaker.api.world.IWorldProvider
public float getCurrentMoonPhaseFactor()
getCurrentMoonPhaseFactor
in interface crafttweaker.api.world.IWorldProvider
public int getDimensionID()
getDimensionID
in interface crafttweaker.api.world.IWorldProvider
public int getHeight()
getHeight
in interface crafttweaker.api.world.IWorldProvider
public double getHorizon()
getHorizon
in interface crafttweaker.api.world.IWorldProvider
public float[] getLightBrightnesTable()
getLightBrightnesTable
in interface crafttweaker.api.world.IWorldProvider
public int getMoonPhase(long time)
getMoonPhase
in interface crafttweaker.api.world.IWorldProvider
public double getMovementFactor()
getMovementFactor
in interface crafttweaker.api.world.IWorldProvider
public crafttweaker.api.world.IBlockPos getRandomizedSpawnPoint()
getRandomizedSpawnPoint
in interface crafttweaker.api.world.IWorldProvider
public crafttweaker.api.world.IWorldProvider getRespawnDimension(crafttweaker.api.player.IPlayer player)
getRespawnDimension
in interface crafttweaker.api.world.IWorldProvider
public java.lang.String getSaveFolder()
getSaveFolder
in interface crafttweaker.api.world.IWorldProvider
public long getSeed()
getSeed
in interface crafttweaker.api.world.IWorldProvider
public crafttweaker.api.world.IBlockPos getSpawnCoordinate()
getSpawnCoordinate
in interface crafttweaker.api.world.IWorldProvider
public crafttweaker.api.world.IBlockPos getSpawnPoint()
getSpawnPoint
in interface crafttweaker.api.world.IWorldProvider
public float getStarBrightness(float something)
getStarBrightness
in interface crafttweaker.api.world.IWorldProvider
public float getSunBrightness(float something)
getSunBrightness
in interface crafttweaker.api.world.IWorldProvider
public float getSunBrightnessFactor(float something)
getSunBrightnessFactor
in interface crafttweaker.api.world.IWorldProvider
public double getVoidFogYFactor()
getVoidFogYFactor
in interface crafttweaker.api.world.IWorldProvider
public long getWorldTime()
getWorldTime
in interface crafttweaker.api.world.IWorldProvider
public boolean canRespawnHere()
canRespawnHere
in interface crafttweaker.api.world.IWorldProvider
public boolean doesWaterVaporize()
doesWaterVaporize
in interface crafttweaker.api.world.IWorldProvider
public boolean hasSkyLight()
hasSkyLight
in interface crafttweaker.api.world.IWorldProvider
public boolean isBlockHighHumidity(crafttweaker.api.world.IBlockPos pos)
isBlockHighHumidity
in interface crafttweaker.api.world.IWorldProvider
public boolean isDaytime()
isDaytime
in interface crafttweaker.api.world.IWorldProvider
public boolean isNether()
isNether
in interface crafttweaker.api.world.IWorldProvider
public boolean isSkyColored()
isSkyColored
in interface crafttweaker.api.world.IWorldProvider
public boolean isSurfaceWorld()
isSurfaceWorld
in interface crafttweaker.api.world.IWorldProvider