Class TopContextCalculator

java.lang.Object
me.hsgamer.topper.spigot.plugin.hook.luckperms.TopContextCalculator
All Implemented Interfaces:
net.luckperms.api.context.ContextCalculator<org.bukkit.entity.Player>

public class TopContextCalculator extends Object implements net.luckperms.api.context.ContextCalculator<org.bukkit.entity.Player>
  • Constructor Details

    • TopContextCalculator

      public TopContextCalculator(TopperPlugin plugin)
  • Method Details

    • calculate

      public void calculate(@NotNull @NotNull org.bukkit.entity.Player player, @NotNull @NotNull net.luckperms.api.context.ContextConsumer contextConsumer)
      Specified by:
      calculate in interface net.luckperms.api.context.ContextCalculator<org.bukkit.entity.Player>
    • estimatePotentialContexts

      @NotNull public @NotNull net.luckperms.api.context.ContextSet estimatePotentialContexts()
      Specified by:
      estimatePotentialContexts in interface net.luckperms.api.context.ContextCalculator<org.bukkit.entity.Player>