Class WeatherLockFlag
java.lang.Object
com.sk89q.worldguard.session.handler.Handler
com.sk89q.worldguard.session.handler.FlagValueChangeHandler<com.sk89q.worldedit.world.weather.WeatherType>
com.sk89q.worldguard.session.handler.WeatherLockFlag
public class WeatherLockFlag
extends FlagValueChangeHandler<com.sk89q.worldedit.world.weather.WeatherType>
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected 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) Methods inherited from class com.sk89q.worldguard.session.handler.FlagValueChangeHandler
initialize, onClearValue, onCrossBoundary, uninitialize
Methods inherited from class com.sk89q.worldguard.session.handler.Handler
getInvincibility, getSession, testMoveTo, tick
-
Field Details
-
FACTORY
-
-
Constructor Details
-
WeatherLockFlag
-
-
Method Details
-
onInitialValue
protected void onInitialValue(LocalPlayer player, ApplicableRegionSet set, com.sk89q.worldedit.world.weather.WeatherType value) - Specified by:
onInitialValue
in classFlagValueChangeHandler<com.sk89q.worldedit.world.weather.WeatherType>
-
onSetValue
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) - Specified by:
onSetValue
in classFlagValueChangeHandler<com.sk89q.worldedit.world.weather.WeatherType>
-
onAbsentValue
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) - Specified by:
onAbsentValue
in classFlagValueChangeHandler<com.sk89q.worldedit.world.weather.WeatherType>
-