Uses of Class
net.neoforged.neoforge.server.permission.nodes.PermissionDynamicContext
Packages that use PermissionDynamicContext
Package
Description
-
Uses of PermissionDynamicContext in net.neoforged.neoforge.oldtest
Methods in net.neoforged.neoforge.oldtest with parameters of type PermissionDynamicContextModifier and TypeMethodDescriptionprivate static boolean
PermissionTest.canUseCommand
(net.minecraft.commands.CommandSourceStack src, PermissionNode<Boolean> booleanPermission, PermissionDynamicContext<?>... context) Simple utility to catch exceptions with the test commands above. -
Uses of PermissionDynamicContext in net.neoforged.neoforge.server.permission
Methods in net.neoforged.neoforge.server.permission with parameters of type PermissionDynamicContextModifier and TypeMethodDescriptionstatic <T> T
PermissionAPI.getOfflinePermission
(UUID player, PermissionNode<T> node, PermissionDynamicContext<?>... context) static <T> T
PermissionAPI.getPermission
(net.minecraft.server.level.ServerPlayer player, PermissionNode<T> node, PermissionDynamicContext<?>... context) Queries a player's permission for a given node and contexts -
Uses of PermissionDynamicContext in net.neoforged.neoforge.server.permission.handler
Methods in net.neoforged.neoforge.server.permission.handler with parameters of type PermissionDynamicContextModifier and TypeMethodDescription<T> T
DefaultPermissionHandler.getOfflinePermission
(UUID player, PermissionNode<T> node, PermissionDynamicContext<?>... context) <T> T
IPermissionHandler.getOfflinePermission
(UUID player, PermissionNode<T> node, PermissionDynamicContext<?>... context) <T> T
DefaultPermissionHandler.getPermission
(net.minecraft.server.level.ServerPlayer player, PermissionNode<T> node, PermissionDynamicContext<?>... context) <T> T
IPermissionHandler.getPermission
(net.minecraft.server.level.ServerPlayer player, PermissionNode<T> node, PermissionDynamicContext<?>... context) -
Uses of PermissionDynamicContext in net.neoforged.neoforge.server.permission.nodes
Methods in net.neoforged.neoforge.server.permission.nodes that return PermissionDynamicContextMethods in net.neoforged.neoforge.server.permission.nodes with parameters of type PermissionDynamicContextModifier and TypeMethodDescriptionPermissionNode.PermissionResolver.resolve
(@Nullable net.minecraft.server.level.ServerPlayer player, UUID playerUUID, PermissionDynamicContext<?>... context)