Class StatisticValueProvider
java.lang.Object
me.hsgamer.topper.spigot.value.statistic.StatisticValueProvider
- All Implemented Interfaces:
Function<org.bukkit.entity.Player,,me.hsgamer.topper.value.core.ValueWrapper<Integer>> me.hsgamer.topper.value.core.ValueProvider<org.bukkit.entity.Player,Integer>
-
Method Summary
Modifier and TypeMethodDescription@NotNull me.hsgamer.topper.value.core.ValueWrapper<Integer> apply(@NotNull org.bukkit.entity.Player player) static me.hsgamer.topper.value.core.ValueProvider<org.bukkit.entity.Player, Integer> fromRaw(String statistic, Collection<String> materials, Collection<String> entityTypes) static StatisticValueProviderof(org.bukkit.Statistic statistic) static StatisticValueProviderofEntity(org.bukkit.Statistic statistic) static StatisticValueProviderofEntity(org.bukkit.Statistic statistic, Collection<org.bukkit.entity.EntityType> entityTypes) static StatisticValueProviderofMaterial(org.bukkit.Statistic statistic) static StatisticValueProviderofMaterial(org.bukkit.Statistic statistic, Collection<org.bukkit.Material> materials) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface me.hsgamer.topper.value.core.ValueProvider
beforeApply, thenApply
-
Method Details
-
of
-
ofMaterial
public static StatisticValueProvider ofMaterial(org.bukkit.Statistic statistic, Collection<org.bukkit.Material> materials) -
ofEntity
public static StatisticValueProvider ofEntity(org.bukkit.Statistic statistic, Collection<org.bukkit.entity.EntityType> entityTypes) -
ofMaterial
-
ofEntity
-
fromRaw
public static me.hsgamer.topper.value.core.ValueProvider<org.bukkit.entity.Player,Integer> fromRaw(String statistic, Collection<String> materials, Collection<String> entityTypes) -
apply
@NotNull public @NotNull me.hsgamer.topper.value.core.ValueWrapper<Integer> apply(@NotNull @NotNull org.bukkit.entity.Player player)
-