Class PermissionDynamicContext<T>
java.lang.Object
net.minecraftforge.server.permission.nodes.PermissionDynamicContext<T>
Pair of a PermissionDynamicContextKey and a value of the corresponding type.
Use
PermissionDynamicContextKey.createContext(Object)
)} for constructing.
Note: While the DynamicContext behaves similar to BlockStates, it does not oblige to the same limitations. There is no string representation that you have to follow, nor is there a limit on how many unique value a DynamicContext may have
- Implementation Note:
- this class could be a record but is not in favor of a package private constructor
-
Field Details
-
dynamic
-
value
-
-
Constructor Details
-
PermissionDynamicContext
PermissionDynamicContext(PermissionDynamicContextKey<T> dynamic, T value)
-
-
Method Details