Class StatisticValueProvider

java.lang.Object
me.hsgamer.topper.hytale.provider.StatisticValueProvider
All Implemented Interfaces:
BiConsumer<UUID, Consumer<me.hsgamer.topper.value.core.ValueWrapper<Double>>>, PlayerWorldValueProvider<Double>, me.hsgamer.topper.value.core.ValueProvider<UUID,Double>

public class StatisticValueProvider extends Object implements PlayerWorldValueProvider<Double>
  • Constructor Details

    • StatisticValueProvider

      public StatisticValueProvider(Map<String,Object> map)
  • Method Details

    • accept

      public void accept(com.hypixel.hytale.server.core.universe.PlayerRef playerRef, com.hypixel.hytale.component.Ref<com.hypixel.hytale.server.core.universe.world.storage.EntityStore> entityRef, com.hypixel.hytale.component.Store<com.hypixel.hytale.server.core.universe.world.storage.EntityStore> entityStore, Consumer<me.hsgamer.topper.value.core.ValueWrapper<Double>> callback)
      Specified by:
      accept in interface PlayerWorldValueProvider<Double>
    • isValid

      public boolean isValid()
      Specified by:
      isValid in interface PlayerWorldValueProvider<Double>