Class PlaceholderParsers
- java.lang.Object
-
- org.spongepowered.api.placeholder.PlaceholderParsers
-
public final class PlaceholderParsers extends Object
Contains Sponge providedPlaceholderParser
s.
-
-
Field Summary
Fields Modifier and Type Field Description static DefaultedRegistryReference<PlaceholderParser>
CURRENT_WORLD
A parser that returns the associated source's current world, if applicable, else the default world.static DefaultedRegistryReference<PlaceholderParser>
NAME
A parser that returns the associated source's name.
-
-
-
Field Detail
-
CURRENT_WORLD
public static final DefaultedRegistryReference<PlaceholderParser> CURRENT_WORLD
A parser that returns the associated source's current world, if applicable, else the default world.
-
NAME
public static final DefaultedRegistryReference<PlaceholderParser> NAME
A parser that returns the associated source's name.
-
-
Method Detail
-
registry
public static Registry<PlaceholderParser> registry()
-
-