public class ClimateRoot extends java.lang.Object implements IClimateManager
| Constructor and Description |
|---|
ClimateRoot() |
| Modifier and Type | Method and Description |
|---|---|
IClimateState |
getBiomeState(net.minecraft.world.World worldObj,
net.minecraft.util.math.BlockPos coordinates) |
IClimateProvider |
getDefaultClimate(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos) |
static ClimateRoot |
getInstance() |
IClimateListener |
getListener(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos) |
IClimateState |
getState(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos)
Can be used to get the climate state without the use of an
IClimateListener. |
IWorldClimateHolder |
getWorldClimate(net.minecraft.world.World world) |
public static ClimateRoot getInstance()
@Nullable public IClimateListener getListener(net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos)
getListener in interface IClimateRootpublic IClimateProvider getDefaultClimate(net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos)
getDefaultClimate in interface IClimateRootpublic IClimateState getState(net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos)
IClimateRootIClimateListener.getState in interface IClimateRootpublic IClimateState getBiomeState(net.minecraft.world.World worldObj, net.minecraft.util.math.BlockPos coordinates)
getBiomeState in interface IClimateRootIClimateState.public IWorldClimateHolder getWorldClimate(net.minecraft.world.World world)
getWorldClimate in interface IClimateRoot