public class WeatherLockFlag extends FlagValueChangeHandler<com.sk89q.worldedit.world.weather.WeatherType>
| Modifier and Type | Class and Description |
|---|---|
static class |
WeatherLockFlag.Factory |
| Modifier and Type | Field and Description |
|---|---|
static WeatherLockFlag.Factory |
FACTORY |
| Constructor and Description |
|---|
WeatherLockFlag(Session session) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
onAbsentValue(LocalPlayer player,
com.sk89q.worldedit.util.Location from,
com.sk89q.worldedit.util.Location to,
ApplicableRegionSet toSet,
com.sk89q.worldedit.world.weather.WeatherType lastValue,
MoveType moveType) |
protected void |
onInitialValue(LocalPlayer player,
ApplicableRegionSet set,
com.sk89q.worldedit.world.weather.WeatherType value) |
protected boolean |
onSetValue(LocalPlayer player,
com.sk89q.worldedit.util.Location from,
com.sk89q.worldedit.util.Location to,
ApplicableRegionSet toSet,
com.sk89q.worldedit.world.weather.WeatherType currentValue,
com.sk89q.worldedit.world.weather.WeatherType lastValue,
MoveType moveType) |
initialize, onCrossBoundarygetInvincibility, getSession, testMoveTo, tickpublic static final WeatherLockFlag.Factory FACTORY
public WeatherLockFlag(Session session)
protected void onInitialValue(LocalPlayer player, ApplicableRegionSet set, com.sk89q.worldedit.world.weather.WeatherType value)
onInitialValue in class FlagValueChangeHandler<com.sk89q.worldedit.world.weather.WeatherType>protected boolean onSetValue(LocalPlayer player, com.sk89q.worldedit.util.Location from, com.sk89q.worldedit.util.Location to, ApplicableRegionSet toSet, com.sk89q.worldedit.world.weather.WeatherType currentValue, com.sk89q.worldedit.world.weather.WeatherType lastValue, MoveType moveType)
onSetValue in class FlagValueChangeHandler<com.sk89q.worldedit.world.weather.WeatherType>protected boolean onAbsentValue(LocalPlayer player, com.sk89q.worldedit.util.Location from, com.sk89q.worldedit.util.Location to, ApplicableRegionSet toSet, com.sk89q.worldedit.world.weather.WeatherType lastValue, MoveType moveType)
onAbsentValue in class FlagValueChangeHandler<com.sk89q.worldedit.world.weather.WeatherType>