public abstract class Weather2API extends java.lang.Object implements ModAPI
| Modifier and Type | Class and Description |
|---|---|
static class |
Weather2API.WeatherData |
static class |
Weather2API.WeatherType |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
MODID |
static java.lang.String |
NAME |
| Modifier | Constructor and Description |
|---|---|
protected |
Weather2API() |
| Modifier and Type | Method and Description |
|---|---|
abstract @Nullable Weather2API.WeatherData |
getClosestBlizzard(WorldAPI<?> world,
BlockPosAPI<?> pos,
double distance) |
abstract @Nullable Weather2API.WeatherData |
getClosestCloud(WorldAPI<?> world,
BlockPosAPI<?> pos,
double distance) |
abstract @Nullable Weather2API.WeatherData |
getClosestHurricane(WorldAPI<?> world,
BlockPosAPI<?> pos,
double distance) |
abstract @Nullable Weather2API.WeatherData |
getClosestSandStorm(WorldAPI<?> world,
BlockPosAPI<?> pos,
double distance) |
abstract @Nullable Weather2API.WeatherData |
getClosestStorm(WorldAPI<?> world,
BlockPosAPI<?> pos,
double distance) |
abstract @Nullable Weather2API.WeatherData |
getClosestTornado(WorldAPI<?> world,
BlockPosAPI<?> pos,
double distance) |
java.lang.String |
getID() |
java.lang.String |
getName() |
boolean |
isCompatible(CoreAPI.ModLoader loader,
CoreAPI.Side side,
CoreAPI.GameVersion version) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitorElseNullpublic static final java.lang.String MODID
public static final java.lang.String NAME
@Nullable public abstract @Nullable Weather2API.WeatherData getClosestBlizzard(WorldAPI<?> world, BlockPosAPI<?> pos, double distance)
@Nullable public abstract @Nullable Weather2API.WeatherData getClosestCloud(WorldAPI<?> world, BlockPosAPI<?> pos, double distance)
@Nullable public abstract @Nullable Weather2API.WeatherData getClosestHurricane(WorldAPI<?> world, BlockPosAPI<?> pos, double distance)
@Nullable public abstract @Nullable Weather2API.WeatherData getClosestSandStorm(WorldAPI<?> world, BlockPosAPI<?> pos, double distance)
@Nullable public abstract @Nullable Weather2API.WeatherData getClosestStorm(WorldAPI<?> world, BlockPosAPI<?> pos, double distance)
@Nullable public abstract @Nullable Weather2API.WeatherData getClosestTornado(WorldAPI<?> world, BlockPosAPI<?> pos, double distance)
public boolean isCompatible(CoreAPI.ModLoader loader, CoreAPI.Side side, CoreAPI.GameVersion version)
isCompatible in interface VersionDependent