Class StatisticValueProvider
java.lang.Object
me.hsgamer.topper.spigot.value.statistic.StatisticValueProvider
- All Implemented Interfaces:
Function<org.bukkit.entity.Player,
,ValueWrapper<Integer>> ValueProvider<org.bukkit.entity.Player,
Integer>
public class StatisticValueProvider
extends Object
implements ValueProvider<org.bukkit.entity.Player,Integer>
-
Constructor Summary
ConstructorsConstructorDescriptionStatisticValueProvider
(org.bukkit.Statistic statistic, org.bukkit.Material material, org.bukkit.entity.EntityType entityType) -
Method Summary
Modifier and TypeMethodDescription@NotNull ValueWrapper
<Integer> apply
(@NotNull org.bukkit.entity.Player player) static StatisticValueProvider
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface me.hsgamer.topper.value.core.ValueProvider
keyMapper, thenApply
-
Constructor Details
-
StatisticValueProvider
public StatisticValueProvider(org.bukkit.Statistic statistic, org.bukkit.Material material, org.bukkit.entity.EntityType entityType)
-
-
Method Details
-
fromMap
-
apply
@NotNull public @NotNull ValueWrapper<Integer> apply(@NotNull @NotNull org.bukkit.entity.Player player) - Specified by:
apply
in interfaceFunction<org.bukkit.entity.Player,
ValueWrapper<Integer>> - Specified by:
apply
in interfaceValueProvider<org.bukkit.entity.Player,
Integer>
-