Package valorless.rarespawns.datamodels
Class Placeholder
java.lang.Object
valorless.rarespawns.datamodels.Placeholder
Represents a placeholder key-value pair for dynamic text replacement in RareSpawns.
Used for substituting variables in messages, lore, or other text fields.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPlaceholder(String key, Object value) Constructs a Placeholder with the given key and value. -
Method Summary
-
Field Details
-
key
The placeholder key (e.g., %player%, %mob%, etc.). -
value
The value to substitute for the placeholder key.
-
-
Constructor Details
-
Placeholder
Constructs a Placeholder with the given key and value.- Parameters:
key- The placeholder key.value- The value to substitute (converted to String).
-