Interface AdventureProperties.DefaultOverrideProvider
- Enclosing class:
- AdventureProperties
A service provider that allows default property values to be overridden.
- Since:
- 4.24.0
-
Method Summary
Modifier and TypeMethodDescription<T> T
overrideDefault
(@NotNull AdventureProperties.Property<T> property, T existingDefault) Overrides the default value for a property.
-
Method Details
-
overrideDefault
@Nullable <T> T overrideDefault(@NotNull @NotNull AdventureProperties.Property<T> property, @Nullable T existingDefault) Overrides the default value for a property.- Type Parameters:
T
- the value type- Parameters:
property
- the propertyexistingDefault
- the current default value- Returns:
- the new default value
- Since:
- 4.24.0
-