Skip to content

Commit 55359e6

Browse files
committed
Document team based placeholders
1 parent 2ce189e commit 55359e6

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docs/user/default-placeholders.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ Prior to 1.19, arguments were separated with a slash (`/`) instead of space.
3737
- `%player:facing_axis%` (2.5.1+) - The player's horizontal direction in format of `+/-A` (A si replaced with axis).
3838
- `%player:horizontal_facing%` (2.5.1+) - The player's horizontal facing direction.
3939
- `%player:horizontal_facing_axis%` (2.5.1+) - The player's horizontal facing direction in format of `+/-A` (A si replaced with axis).
40+
- `%player:team_name%` - The name of player's team.
41+
- `%player:team_displayname%` - The display name of player's team.
42+
- `%player:team_displayname_formatted%` - The formatted display name of player's team.
4043
- `%player:health%` - The player's health.
4144
- `%player:max_health%` - The player's max health.
4245
- `%player:hunger%` - The player's hunger.

src/main/java/eu/pb4/placeholders/api/Placeholders.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ public static Component parseText(TextNode textNode, PlaceholderContext context)
8888
return parseNodes(textNode).toText(ParserContext.of(PlaceholderContext.KEY, context));
8989
}
9090

91-
9291
@Deprecated(forRemoval = true)
9392
public static ParentNode parseNodes(TextNode node, Pattern pattern) {
9493
return parseNodes(node, pattern, PlaceholderContext.KEY);

0 commit comments

Comments
 (0)