Back to Type Bindings ShareDescription Resolves an attribute name (e.g. max_health, attack_damage) into the correct Bukkit Attribute enum constant for the current server version. Handles the renames across versions automatically.
Examples set entity max_health to 40Other 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...