Class FabricPlayerCalculator

java.lang.Object
me.lucko.luckperms.fabric.context.FabricPlayerCalculator
All Implemented Interfaces:
net.luckperms.api.context.ContextCalculator<net.minecraft.server.network.ServerPlayerEntity>

public class FabricPlayerCalculator extends Object implements net.luckperms.api.context.ContextCalculator<net.minecraft.server.network.ServerPlayerEntity>
  • Constructor Details

  • Method Details

    • registerListeners

      public void registerListeners()
    • calculate

      public void calculate(@NonNull net.minecraft.server.network.ServerPlayerEntity target, @NonNull net.luckperms.api.context.ContextConsumer consumer)
      Specified by:
      calculate in interface net.luckperms.api.context.ContextCalculator<net.minecraft.server.network.ServerPlayerEntity>
    • estimatePotentialContexts

      @NotNull public @NotNull @NonNull net.luckperms.api.context.ContextSet estimatePotentialContexts()
      Specified by:
      estimatePotentialContexts in interface net.luckperms.api.context.ContextCalculator<net.minecraft.server.network.ServerPlayerEntity>