Class PlayerValueProvider

java.lang.Object
me.hsgamer.topper.hytale.provider.PlayerValueProvider
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 PlayerValueProvider extends Object implements PlayerWorldValueProvider<Double>
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
     
    boolean
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface BiConsumer

    andThen

    Methods inherited from interface PlayerWorldValueProvider

    accept

    Methods inherited from interface me.hsgamer.topper.value.core.ValueProvider

    beforeApply, thenApply
  • Constructor Details

    • PlayerValueProvider

      public PlayerValueProvider(Map<String,Object> settings)
  • 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>