Class PlaceholderParsers
- java.lang.Object
-
- org.spongepowered.api.placeholder.PlaceholderParsers
-
public final class PlaceholderParsers extends java.lang.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.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Registry<PlaceholderParser>
registry()
-
-
-
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()
-
-