Class PermissionsChecker
java.lang.Object
me.emafire003.dev.ohmymeteors.compat.perms.PermissionsChecker
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic net.luckperms.api.LuckPermsstatic final boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.luckperms.api.util.TristatecheckPermission(net.minecraft.world.entity.Entity entity, String permission) static Predicate<net.minecraft.commands.CommandSourceStack> static Predicate<net.minecraft.commands.CommandSourceStack>
-
Field Details
-
permissions
public static final boolean permissions -
luckPerms
public static net.luckperms.api.LuckPerms luckPerms
-
-
Constructor Details
-
PermissionsChecker
public PermissionsChecker()
-
-
Method Details
-
multiple
@SafeVarargs public static Predicate<net.minecraft.commands.CommandSourceStack> multiple(Predicate<net.minecraft.commands.CommandSourceStack>... args) -
hasPerms
-
checkPermission
public static net.luckperms.api.util.Tristate checkPermission(net.minecraft.world.entity.Entity entity, String permission)
-