Class GameModeFlag
java.lang.Object
com.sk89q.worldguard.session.handler.Handler
com.sk89q.worldguard.session.handler.FlagValueChangeHandler<com.sk89q.worldedit.world.gamemode.GameMode>
com.sk89q.worldguard.session.handler.GameModeFlag
public class GameModeFlag
extends FlagValueChangeHandler<com.sk89q.worldedit.world.gamemode.GameMode>
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.sk89q.worldedit.world.gamemode.GameMode
com.sk89q.worldedit.world.gamemode.GameMode
protected boolean
onAbsentValue
(LocalPlayer player, com.sk89q.worldedit.util.Location from, com.sk89q.worldedit.util.Location to, ApplicableRegionSet toSet, com.sk89q.worldedit.world.gamemode.GameMode lastValue, MoveType moveType) protected void
onInitialValue
(LocalPlayer player, ApplicableRegionSet set, com.sk89q.worldedit.world.gamemode.GameMode value) protected boolean
onSetValue
(LocalPlayer player, com.sk89q.worldedit.util.Location from, com.sk89q.worldedit.util.Location to, ApplicableRegionSet toSet, com.sk89q.worldedit.world.gamemode.GameMode currentValue, com.sk89q.worldedit.world.gamemode.GameMode 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
-
GameModeFlag
-
-
Method Details
-
getOriginalGameMode
public com.sk89q.worldedit.world.gamemode.GameMode getOriginalGameMode() -
getSetGameMode
public com.sk89q.worldedit.world.gamemode.GameMode getSetGameMode() -
onInitialValue
protected void onInitialValue(LocalPlayer player, ApplicableRegionSet set, com.sk89q.worldedit.world.gamemode.GameMode value) - Specified by:
onInitialValue
in classFlagValueChangeHandler<com.sk89q.worldedit.world.gamemode.GameMode>
-
onSetValue
protected boolean onSetValue(LocalPlayer player, com.sk89q.worldedit.util.Location from, com.sk89q.worldedit.util.Location to, ApplicableRegionSet toSet, com.sk89q.worldedit.world.gamemode.GameMode currentValue, com.sk89q.worldedit.world.gamemode.GameMode lastValue, MoveType moveType) - Specified by:
onSetValue
in classFlagValueChangeHandler<com.sk89q.worldedit.world.gamemode.GameMode>
-
onAbsentValue
protected boolean onAbsentValue(LocalPlayer player, com.sk89q.worldedit.util.Location from, com.sk89q.worldedit.util.Location to, ApplicableRegionSet toSet, com.sk89q.worldedit.world.gamemode.GameMode lastValue, MoveType moveType) - Specified by:
onAbsentValue
in classFlagValueChangeHandler<com.sk89q.worldedit.world.gamemode.GameMode>
-