Uses of Class
net.minecraftforge.server.permission.nodes.PermissionNode
Package
Description
-
Uses of PermissionNode in net.minecraftforge.common
Modifier and TypeFieldDescriptionstatic final PermissionNode<Boolean>
ForgeMod.USE_SELECTORS_PERMISSION
-
Uses of PermissionNode in net.minecraftforge.debug
Modifier and TypeFieldDescriptionprivate static final PermissionNode<Boolean>
PermissionTest.boolPerm
private static final PermissionNode<Component>
PermissionTest.componentPerm
private static final PermissionNode<Integer>
PermissionTest.intPerm
private static final PermissionNode<String>
PermissionTest.stringPerm
private static final PermissionNode<Boolean>
PermissionTest.unregisteredPerm
Modifier and TypeMethodDescriptionprivate static boolean
PermissionTest.canUseCommand
(CommandSourceStack src, PermissionNode<Boolean> booleanPermission, PermissionDynamicContext<?>... context) Simple utility to catch exceptions with the test commands above. -
Uses of PermissionNode in net.minecraftforge.server.permission
Modifier and TypeMethodDescriptionstatic Collection<PermissionNode<?>>
PermissionAPI.getRegisteredNodes()
Modifier and TypeMethodDescriptionstatic <T> T
PermissionAPI.getOfflinePermission
(UUID player, PermissionNode<T> node, PermissionDynamicContext<?>... context) static <T> T
PermissionAPI.getPermission
(ServerPlayer player, PermissionNode<T> node, PermissionDynamicContext<?>... context) Queries a player's permission for a given node and contexts -
Uses of PermissionNode in net.minecraftforge.server.permission.events
Modifier and TypeFieldDescriptionprivate final Set<PermissionNode<?>>
PermissionGatherEvent.Nodes.nodes
Modifier and TypeMethodDescriptionvoid
PermissionGatherEvent.Nodes.addNodes
(PermissionNode<?>... nodes) Modifier and TypeMethodDescriptionvoid
PermissionGatherEvent.Nodes.addNodes
(Iterable<PermissionNode<?>> nodes) -
Uses of PermissionNode in net.minecraftforge.server.permission.exceptions
-
Uses of PermissionNode in net.minecraftforge.server.permission.handler
Modifier and TypeFieldDescriptionprivate Set<PermissionNode<?>>
DefaultPermissionHandler.immutableRegisteredNodes
private final Set<PermissionNode<?>>
DefaultPermissionHandler.registeredNodes
Modifier and TypeMethodDescriptionSet<PermissionNode<?>>
DefaultPermissionHandler.getRegisteredNodes()
Set<PermissionNode<?>>
IPermissionHandler.getRegisteredNodes()
Returns an unmodifiable view of the collection of registered permission nodes.Modifier 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
(ServerPlayer player, PermissionNode<T> node, PermissionDynamicContext<?>... context) <T> T
IPermissionHandler.getPermission
(ServerPlayer player, PermissionNode<T> node, PermissionDynamicContext<?>... context) Modifier and TypeMethodDescriptionIPermissionHandlerFactory.create
(Collection<PermissionNode<?>> permissions) ModifierConstructorDescriptionDefaultPermissionHandler
(Collection<PermissionNode<?>> permissions) -
Uses of PermissionNode in net.minecraftforge.server.permission.nodes
Modifier and TypeMethodDescriptionPermissionNode.setInformation
(@NotNull Component readableName, @NotNull Component description) Allows you to set a human-readable name and description for your Permission.