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 booleanonAbsentValue(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 voidonInitialValue(LocalPlayer player, ApplicableRegionSet set, com.sk89q.worldedit.world.weather.WeatherType value)protected booleanonSetValue(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, onCrossBoundaryMethods inherited from class com.sk89q.worldguard.session.handler.Handler
getInvincibility, getSession, getWrappedHandler, 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:
onInitialValuein 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:
onSetValuein 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:
onAbsentValuein classFlagValueChangeHandler<com.sk89q.worldedit.world.weather.WeatherType>
-