Class FlagTagRegister
java.lang.Object
de.z0rdak.yawp.api.FlagTagRegister
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final FlagTagFlags granting advantages or permissions to players.static final FlagTagFlags concerning block-based events or world state.static final FlagTagFlags involving entities as targets/source.static final FlagTagFlags controlling world-level effects or non-entity mechanics.static final FlagTagFlags checked repeatedly per n-ticks, usually for movement or environment updates.static final FlagTagFlags tied to item actions or mechanics.static final FlagTagFlags that evaluate per-player context or directly affect player actions.static final FlagTagFlags that actively block or prevent a player’s attempted action.static final FlagTagFlags defining preventive or defensive behavior rather than granting permissions. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
PLAYER
Flags that evaluate per-player context or directly affect player actions.Examples:
BREAK_BLOCKS,PLACE_BLOCKS,USE_ITEM, etc. -
BENEFICIAL
-
PLAYER_PREVENTION
-
BLOCK
Flags concerning block-based events or world state.Examples:
FIRE_SPREAD,TNT_EXPLODE,BLOCK_BREAK, etc. -
ITEM
-
ENTITY
Flags involving entities as targets/source.Examples:
INTERACT_ENTITY. -
ENVIRONMENT
Flags controlling world-level effects or non-entity mechanics.Examples:
FIRE_TICK,LEAF_DECAY,FLUID_FLOW,ICE_MELT. -
HIGH_FREQUENCY
Flags checked repeatedly per n-ticks, usually for movement or environment updates.Examples:
MOVE,FIRE_TICK,FLUID_FLOW. -
PROTECTION
Flags defining preventive or defensive behavior rather than granting permissions.Examples:
BLOCK_EXPLODE,griefing, etc.
-
-
Constructor Details
-
FlagTagRegister
public FlagTagRegister()
-
-
Method Details
-
register
-
from
Retrieves a FlagTag by its Identifier.- Throws:
IllegalArgumentException
-
getAll
Returns all registered FlagTags.
-