Class Flags
java.lang.Object
com.sk89q.worldguard.protection.flags.Flags
The flags that are used in WorldGuard.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StateFlag
static final StateFlag
static final StateFlag
static final StateFlag
static final StateFlag
static final StateFlag
static final StateFlag
static final StateFlag
static final StateFlag
static final StateFlag
static final StateFlag
static final StringFlag
Deprecated.The type of this flag will change from a StringFlag to a ComponentFlag to support JSON text in a future release.static final SetFlag
<com.sk89q.worldedit.world.entity.EntityType> static final StateFlag
static final StateFlag
static final StateFlag
static final StateFlag
static final StateFlag
static final StateFlag
static final StateFlag
static final StringFlag
Deprecated.The type of this flag will change from a StringFlag to a ComponentFlag to support JSON text in a future release.static final StateFlag
static final StringFlag
Deprecated.The type of this flag will change from a StringFlag to a ComponentFlag to support JSON text in a future release.static final BooleanFlag
static final StateFlag
static final StateFlag
static final StateFlag
static final StringFlag
Deprecated.The type of this flag will change from a StringFlag to a ComponentFlag to support JSON text in a future release.static final StringFlag
Deprecated.The type of this flag will change from a StringFlag to a ComponentFlag to support JSON text in a future release.static final IntegerFlag
static final IntegerFlag
static final StateFlag
static final StateFlag
static final StateFlag
static final StateFlag
static final RegistryFlag
<com.sk89q.worldedit.world.gamemode.GameMode> static final StateFlag
static final StateFlag
static final StringFlag
Deprecated.The type of this flag will change from a StringFlag to a ComponentFlag to support JSON text in a future release.static final StringFlag
Deprecated.The type of this flag will change from a StringFlag to a ComponentFlag to support JSON text in a future release.static final IntegerFlag
static final IntegerFlag
static final StateFlag
static final StateFlag
static final StateFlag
static final StateFlag
static final StateFlag
static final StateFlag
static final StateFlag
static final StateFlag
static final StateFlag
static final StateFlag
static final StateFlag
static final StateFlag
static final StateFlag
static final StateFlag
static final IntegerFlag
static final DoubleFlag
static final IntegerFlag
static final DoubleFlag
static final StateFlag
static final StateFlag
static final StateFlag
static final StateFlag
static final StateFlag
static final BooleanFlag
static final BooleanFlag
static final StateFlag
static final StateFlag
static final StateFlag
static final StateFlag
static final StateFlag
static final StateFlag
static final StateFlag
static final StateFlag
static final StateFlag
static final StateFlag
static final StateFlag
static final StateFlag
static final StateFlag
static final StateFlag
static final StateFlag
static final StateFlag
static final StateFlag
static final StateFlag
static final LocationFlag
static final LocationFlag
static final StringFlag
Deprecated.The type of this flag will change from a StringFlag to a ComponentFlag to support JSON text in a future release.static final StringFlag
static final StateFlag
static final StateFlag
static final StateFlag
static final StateFlag
static final StateFlag
static final StateFlag
static final StateFlag
static final RegistryFlag
<com.sk89q.worldedit.world.weather.WeatherType> static final StateFlag
static final 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 void
Dummy 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
-
WIND_CHARGE_BURST
-
ITEM_PICKUP
-
ITEM_DROP
-
EXP_DROPS
-
MOB_DAMAGE
-
CREEPER_EXPLOSION
-
ENDERDRAGON_BLOCK_DAMAGE
-
GHAST_FIREBALL
-
OTHER_EXPLOSION
-
BREEZE_WIND_CHARGE
-
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
-
ROCK_GROWTH
-
SCULK_GROWTH
-
CROP_GROWTH
-
SOIL_DRY
-
CORAL_FADE
-
COPPER_FADE
-
WATER_FLOW
-
LAVA_FLOW
-
MOISTURE_CHANGE
-
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.
-