public final class Flags
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static SetFlag<java.lang.String> |
ALLOWED_CMDS |
static StateFlag |
BLOCK_BREAK |
static StateFlag |
BLOCK_PLACE |
static SetFlag<java.lang.String> |
BLOCKED_CMDS |
static StateFlag |
BUILD |
static StateFlag |
CHEST_ACCESS |
static StateFlag |
CHORUS_TELEPORT |
static StateFlag |
CORAL_FADE |
static StateFlag |
CREEPER_EXPLOSION |
static StateFlag |
CROP_GROWTH |
static StateFlag |
DAMAGE_ANIMALS |
static StringFlag |
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.
|
static SetFlag<com.sk89q.worldedit.world.entity.EntityType> |
DENY_SPAWN |
static StateFlag |
DESTROY_VEHICLE |
static StateFlag |
ENDER_BUILD |
static StateFlag |
ENDERDRAGON_BLOCK_DAMAGE |
static StateFlag |
ENDERPEARL |
static StateFlag |
ENTITY_ITEM_FRAME_DESTROY |
static StateFlag |
ENTITY_PAINTING_DESTROY |
static StateFlag |
ENTRY |
static StringFlag |
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.
|
static StateFlag |
EXIT |
static StringFlag |
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.
|
static BooleanFlag |
EXIT_OVERRIDE |
static StateFlag |
EXIT_VIA_TELEPORT |
static StateFlag |
EXP_DROPS |
static StateFlag |
FALL_DAMAGE |
static StringFlag |
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.
|
static StringFlag |
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.
|
static IntegerFlag |
FEED_AMOUNT |
static IntegerFlag |
FEED_DELAY |
static StateFlag |
FIRE_SPREAD |
static StateFlag |
FIREWORK_DAMAGE |
static StateFlag |
FROSTED_ICE_FORM |
static StateFlag |
FROSTED_ICE_MELT |
static RegistryFlag<com.sk89q.worldedit.world.gamemode.GameMode> |
GAME_MODE |
static StateFlag |
GHAST_FIREBALL |
static StateFlag |
GRASS_SPREAD |
static StringFlag |
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.
|
static StringFlag |
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.
|
static IntegerFlag |
HEAL_AMOUNT |
static IntegerFlag |
HEAL_DELAY |
static StateFlag |
HEALTH_REGEN |
static StateFlag |
HUNGER_DRAIN |
static StateFlag |
ICE_FORM |
static StateFlag |
ICE_MELT |
static java.util.List<java.lang.String> |
INBUILT_FLAGS |
static StateFlag |
INTERACT |
static StateFlag |
INVINCIBILITY |
static StateFlag |
ITEM_DROP |
static StateFlag |
ITEM_FRAME_ROTATE |
static StateFlag |
ITEM_PICKUP |
static StateFlag |
LAVA_FIRE |
static StateFlag |
LAVA_FLOW |
static StateFlag |
LEAF_DECAY |
static StateFlag |
LIGHTER |
static StateFlag |
LIGHTNING |
static IntegerFlag |
MAX_FOOD |
static DoubleFlag |
MAX_HEAL |
static IntegerFlag |
MIN_FOOD |
static DoubleFlag |
MIN_HEAL |
static StateFlag |
MOB_DAMAGE |
static StateFlag |
MOB_SPAWNING |
static StateFlag |
MUSHROOMS |
static StateFlag |
MYCELIUM_SPREAD |
static BooleanFlag |
NOTIFY_ENTER |
static BooleanFlag |
NOTIFY_LEAVE |
static StateFlag |
OTHER_EXPLOSION |
static StateFlag |
PASSTHROUGH |
static StateFlag |
PISTONS |
static StateFlag |
PLACE_VEHICLE |
static StateFlag |
POTION_SPLASH |
static StateFlag |
PVP |
static StateFlag |
RAVAGER_RAVAGE |
static StateFlag |
RECEIVE_CHAT |
static StateFlag |
RESPAWN_ANCHORS |
static StateFlag |
RIDE |
static StateFlag |
SEND_CHAT |
static StateFlag |
SLEEP |
static StateFlag |
SNOW_FALL |
static StateFlag |
SNOW_MELT |
static StateFlag |
SNOWMAN_TRAILS |
static StateFlag |
SOIL_DRY |
static LocationFlag |
SPAWN_LOC |
static LocationFlag |
TELE_LOC |
static StringFlag |
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.
|
static StringFlag |
TIME_LOCK |
static StateFlag |
TNT |
static StateFlag |
TRAMPLE_BLOCKS |
static StateFlag |
USE |
static StateFlag |
VINE_GROWTH |
static StateFlag |
WATER_FLOW |
static RegistryFlag<com.sk89q.worldedit.world.weather.WeatherType> |
WEATHER_LOCK |
static StateFlag |
WITHER_DAMAGE |
| Modifier and Type | Method and Description |
|---|---|
static Flag<?> |
fuzzyMatchFlag(FlagRegistry flagRegistry,
java.lang.String id)
Try to match the flag with the given ID using a fuzzy name match.
|
static void |
registerAll()
Dummy method to call that initialises the class.
|
public static final java.util.List<java.lang.String> INBUILT_FLAGS
public static final StateFlag PASSTHROUGH
public static final StateFlag BUILD
public static final StateFlag BLOCK_BREAK
public static final StateFlag BLOCK_PLACE
public static final StateFlag USE
public static final StateFlag INTERACT
public static final StateFlag DAMAGE_ANIMALS
public static final StateFlag PVP
public static final StateFlag SLEEP
public static final StateFlag RESPAWN_ANCHORS
public static final StateFlag TNT
public static final StateFlag CHEST_ACCESS
public static final StateFlag PLACE_VEHICLE
public static final StateFlag DESTROY_VEHICLE
public static final StateFlag LIGHTER
public static final StateFlag RIDE
public static final StateFlag POTION_SPLASH
public static final StateFlag ITEM_FRAME_ROTATE
public static final StateFlag TRAMPLE_BLOCKS
public static final StateFlag FIREWORK_DAMAGE
public static final StateFlag ITEM_PICKUP
public static final StateFlag ITEM_DROP
public static final StateFlag EXP_DROPS
public static final StateFlag MOB_DAMAGE
public static final StateFlag CREEPER_EXPLOSION
public static final StateFlag ENDERDRAGON_BLOCK_DAMAGE
public static final StateFlag GHAST_FIREBALL
public static final StateFlag OTHER_EXPLOSION
public static final StateFlag WITHER_DAMAGE
public static final StateFlag ENDER_BUILD
public static final StateFlag SNOWMAN_TRAILS
public static final StateFlag RAVAGER_RAVAGE
public static final StateFlag ENTITY_PAINTING_DESTROY
public static final StateFlag ENTITY_ITEM_FRAME_DESTROY
public static final StateFlag MOB_SPAWNING
public static final SetFlag<com.sk89q.worldedit.world.entity.EntityType> DENY_SPAWN
public static final StateFlag PISTONS
public static final StateFlag FIRE_SPREAD
public static final StateFlag LAVA_FIRE
public static final StateFlag LIGHTNING
public static final StateFlag SNOW_FALL
public static final StateFlag SNOW_MELT
public static final StateFlag ICE_FORM
public static final StateFlag ICE_MELT
public static final StateFlag FROSTED_ICE_MELT
public static final StateFlag FROSTED_ICE_FORM
public static final StateFlag MUSHROOMS
public static final StateFlag LEAF_DECAY
public static final StateFlag GRASS_SPREAD
public static final StateFlag MYCELIUM_SPREAD
public static final StateFlag VINE_GROWTH
public static final StateFlag CROP_GROWTH
public static final StateFlag SOIL_DRY
public static final StateFlag CORAL_FADE
public static final StateFlag WATER_FLOW
public static final StateFlag LAVA_FLOW
public static final RegistryFlag<com.sk89q.worldedit.world.weather.WeatherType> WEATHER_LOCK
public static final StringFlag TIME_LOCK
public static final StateFlag SEND_CHAT
public static final StateFlag RECEIVE_CHAT
public static final SetFlag<java.lang.String> BLOCKED_CMDS
public static final SetFlag<java.lang.String> ALLOWED_CMDS
public static final LocationFlag TELE_LOC
public static final LocationFlag SPAWN_LOC
@Deprecated public static final StringFlag TELE_MESSAGE
public static final StateFlag INVINCIBILITY
public static final StateFlag FALL_DAMAGE
public static final StateFlag HEALTH_REGEN
public static final StateFlag HUNGER_DRAIN
public static final StateFlag ENTRY
public static final StateFlag EXIT
public static final BooleanFlag EXIT_OVERRIDE
public static final StateFlag EXIT_VIA_TELEPORT
public static final StateFlag ENDERPEARL
public static final StateFlag CHORUS_TELEPORT
@Deprecated public static final StringFlag GREET_MESSAGE
@Deprecated public static final StringFlag FAREWELL_MESSAGE
@Deprecated public static final StringFlag GREET_TITLE
@Deprecated public static final StringFlag FAREWELL_TITLE
public static final BooleanFlag NOTIFY_ENTER
public static final BooleanFlag NOTIFY_LEAVE
public static final RegistryFlag<com.sk89q.worldedit.world.gamemode.GameMode> GAME_MODE
public static final IntegerFlag HEAL_DELAY
public static final IntegerFlag HEAL_AMOUNT
public static final DoubleFlag MIN_HEAL
public static final DoubleFlag MAX_HEAL
public static final IntegerFlag FEED_DELAY
public static final IntegerFlag FEED_AMOUNT
public static final IntegerFlag MIN_FOOD
public static final IntegerFlag MAX_FOOD
@Deprecated public static final StringFlag DENY_MESSAGE
@Deprecated public static final StringFlag ENTRY_DENY_MESSAGE
@Deprecated public static final StringFlag EXIT_DENY_MESSAGE
public static Flag<?> fuzzyMatchFlag(FlagRegistry flagRegistry, java.lang.String id)
flagRegistry - the flag registryid - the flag IDpublic static void registerAll()