Interface PermissionContext.Key<T>

Type Parameters:
T - type of the context
Enclosing interface:
PermissionContext

@NonExtendable public static interface PermissionContext.Key<T>
Key used to represent additional permission context.
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.resources.Identifier
    id()
    Identifier representing this context.
  • Method Details

    • id

      net.minecraft.resources.Identifier id()
      Identifier representing this context.
      Returns:
      id of this key