Class Flags
java.lang.Object
com.sk89q.worldguard.protection.flags.Flags
The flags that are used in WorldGuard.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic StateFlagstatic StateFlagstatic StateFlagstatic StateFlagstatic StateFlagstatic StateFlagstatic StateFlagstatic StateFlagstatic StateFlagstatic StringFlagDeprecated.The type of this flag will change from a StringFlag to a ComponentFlag to support JSON text in a future release.static SetFlag<com.sk89q.worldedit.world.entity.EntityType>static StateFlagstatic StateFlagstatic StateFlagstatic StateFlagstatic StateFlagstatic StateFlagstatic StateFlagstatic StringFlagDeprecated.The type of this flag will change from a StringFlag to a ComponentFlag to support JSON text in a future release.static StateFlagstatic StringFlagDeprecated.The type of this flag will change from a StringFlag to a ComponentFlag to support JSON text in a future release.static BooleanFlagstatic StateFlagstatic StateFlagstatic StateFlagstatic StringFlagDeprecated.The type of this flag will change from a StringFlag to a ComponentFlag to support JSON text in a future release.static StringFlagDeprecated.The type of this flag will change from a StringFlag to a ComponentFlag to support JSON text in a future release.static IntegerFlagstatic IntegerFlagstatic StateFlagstatic StateFlagstatic StateFlagstatic StateFlagstatic RegistryFlag<com.sk89q.worldedit.world.gamemode.GameMode>static StateFlagstatic StateFlagstatic StringFlagDeprecated.The type of this flag will change from a StringFlag to a ComponentFlag to support JSON text in a future release.static StringFlagDeprecated.The type of this flag will change from a StringFlag to a ComponentFlag to support JSON text in a future release.static IntegerFlagstatic IntegerFlagstatic StateFlagstatic StateFlagstatic StateFlagstatic StateFlagstatic StateFlagstatic StateFlagstatic StateFlagstatic StateFlagstatic StateFlagstatic StateFlagstatic StateFlagstatic StateFlagstatic StateFlagstatic StateFlagstatic IntegerFlagstatic DoubleFlagstatic IntegerFlagstatic DoubleFlagstatic StateFlagstatic StateFlagstatic StateFlagstatic StateFlagstatic BooleanFlagstatic BooleanFlagstatic StateFlagstatic StateFlagstatic StateFlagstatic StateFlagstatic StateFlagstatic StateFlagstatic StateFlagstatic StateFlagstatic StateFlagstatic StateFlagstatic StateFlagstatic StateFlagstatic StateFlagstatic StateFlagstatic StateFlagstatic StateFlagstatic LocationFlagstatic LocationFlagstatic StringFlagDeprecated.The type of this flag will change from a StringFlag to a ComponentFlag to support JSON text in a future release.static StringFlagstatic StateFlagstatic StateFlagstatic StateFlagstatic StateFlagstatic StateFlagstatic StateFlagstatic StateFlagstatic RegistryFlag<com.sk89q.worldedit.world.weather.WeatherType>static StateFlag -
Method Summary
Modifier and TypeMethodDescriptionstatic Flag<?>fuzzyMatchFlag(FlagRegistry flagRegistry, String id)Try to match the flag with the given ID using a fuzzy name match.static voidDummy method to call that initialises the class.
-
Field Details
-
INBUILT_FLAGS
-
PASSTHROUGH
-
NONPLAYER_PROTECTION_DOMAINS
-
BUILD
-
BLOCK_BREAK
-
BLOCK_PLACE
-
USE
-
INTERACT
-
DAMAGE_ANIMALS
-
PVP
-
SLEEP
-
RESPAWN_ANCHORS
-
TNT
-
CHEST_ACCESS
-
PLACE_VEHICLE
-
DESTROY_VEHICLE
-
LIGHTER
-
RIDE
-
POTION_SPLASH
-
ITEM_FRAME_ROTATE
-
TRAMPLE_BLOCKS
-
FIREWORK_DAMAGE
-
USE_ANVIL
-
USE_DRIPLEAF
-
ITEM_PICKUP
-
ITEM_DROP
-
EXP_DROPS
-
MOB_DAMAGE
-
CREEPER_EXPLOSION
-
ENDERDRAGON_BLOCK_DAMAGE
-
GHAST_FIREBALL
-
OTHER_EXPLOSION
-
WITHER_DAMAGE
-
ENDER_BUILD
-
SNOWMAN_TRAILS
-
RAVAGER_RAVAGE
-
ENTITY_PAINTING_DESTROY
-
ENTITY_ITEM_FRAME_DESTROY
-
MOB_SPAWNING
-
DENY_SPAWN
-
PISTONS
-
FIRE_SPREAD
-
LAVA_FIRE
-
LIGHTNING
-
SNOW_FALL
-
SNOW_MELT
-
ICE_FORM
-
ICE_MELT
-
FROSTED_ICE_MELT
-
FROSTED_ICE_FORM
-
MUSHROOMS
-
LEAF_DECAY
-
GRASS_SPREAD
-
MYCELIUM_SPREAD
-
VINE_GROWTH
-
CROP_GROWTH
-
SOIL_DRY
-
CORAL_FADE
-
WATER_FLOW
-
LAVA_FLOW
-
WEATHER_LOCK
-
TIME_LOCK
-
SEND_CHAT
-
RECEIVE_CHAT
-
BLOCKED_CMDS
-
ALLOWED_CMDS
-
TELE_LOC
-
SPAWN_LOC
-
TELE_MESSAGE
Deprecated.The type of this flag will change from a StringFlag to a ComponentFlag to support JSON text in a future release. If you depend on the type of this flag, take proper precaution for future breakage. -
INVINCIBILITY
-
FALL_DAMAGE
-
HEALTH_REGEN
-
HUNGER_DRAIN
-
ENTRY
-
EXIT
-
EXIT_OVERRIDE
-
EXIT_VIA_TELEPORT
-
ENDERPEARL
-
CHORUS_TELEPORT
-
GREET_MESSAGE
Deprecated.The type of this flag will change from a StringFlag to a ComponentFlag to support JSON text in a future release. If you depend on the type of this flag, take proper precaution for future breakage. -
FAREWELL_MESSAGE
Deprecated.The type of this flag will change from a StringFlag to a ComponentFlag to support JSON text in a future release. If you depend on the type of this flag, take proper precaution for future breakage. -
GREET_TITLE
Deprecated.The type of this flag will change from a StringFlag to a ComponentFlag to support JSON text in a future release. If you depend on the type of this flag, take proper precaution for future breakage. -
FAREWELL_TITLE
Deprecated.The type of this flag will change from a StringFlag to a ComponentFlag to support JSON text in a future release. If you depend on the type of this flag, take proper precaution for future breakage. -
NOTIFY_ENTER
-
NOTIFY_LEAVE
-
GAME_MODE
-
HEAL_DELAY
-
HEAL_AMOUNT
-
MIN_HEAL
-
MAX_HEAL
-
FEED_DELAY
-
FEED_AMOUNT
-
MIN_FOOD
-
MAX_FOOD
-
DENY_MESSAGE
Deprecated.The type of this flag will change from a StringFlag to a ComponentFlag to support JSON text in a future release. If you depend on the type of this flag, take proper precaution for future breakage. -
ENTRY_DENY_MESSAGE
Deprecated.The type of this flag will change from a StringFlag to a ComponentFlag to support JSON text in a future release. If you depend on the type of this flag, take proper precaution for future breakage. -
EXIT_DENY_MESSAGE
Deprecated.The type of this flag will change from a StringFlag to a ComponentFlag to support JSON text in a future release. If you depend on the type of this flag, take proper precaution for future breakage.
-
-
Method Details
-
fuzzyMatchFlag
Try to match the flag with the given ID using a fuzzy name match.- Parameters:
flagRegistry- the flag registryid- the flag ID- Returns:
- a flag, or null
-
registerAll
public static void registerAll()Dummy method to call that initialises the class.
-