Back to Type Bindings ShareDescription Captures a single quoted string literal, variable reference, or placeholder token. Rejects bare identifiers to prevent accidental matches with other patterns.
Examples %a:STRING% (is|equals) %b:QSTRING%Other Type Bindings LOCATIONResolves a location reference from a variable name. VILLAGER_TYPEResolves a single token to a org.bukkit.entity.Villager$Type enum constant. PLAYER_POSSESSIVEResolves a player reference from a possessive token (e.g. player's). The token m... AXOLOTL_VARIANTResolves a single token to a org.bukkit.entity.Axolotl$Variant enum constant. INTParses an integer number from a single token or a variable reference, supporting... ENTITYResolves an entity reference from a variable name. Does not accept possessive sy... GAME_MODEResolves a single token to a org.bukkit.GameMode enum constant. EXPRCaptures all remaining tokens as a raw expression. Preserves string literal quot...