Uses of Class
net.minecraftforge.server.permission.context.ContextKey
-
Packages that use ContextKey Package Description net.minecraftforge.server.permission.context -
-
Uses of ContextKey in net.minecraftforge.server.permission.context
Fields in net.minecraftforge.server.permission.context declared as ContextKey Modifier and Type Field Description static ContextKey<AxisAlignedBB>
ContextKeys. AREA
static ContextKey<BlockState>
ContextKeys. BLOCK_STATE
static ContextKey<Direction>
ContextKeys. FACING
static ContextKey<BlockPos>
ContextKeys. POS
BlockPos for interacting, breaking and other permissionsstatic ContextKey<Entity>
ContextKeys. TARGET
The entity can be anything that gets interacted with - a sheep when you try to dye it, skeleton that you attack, etc.Fields in net.minecraftforge.server.permission.context with type parameters of type ContextKey Modifier and Type Field Description private java.util.Map<ContextKey<?>,java.lang.Object>
Context. map
Methods in net.minecraftforge.server.permission.context that return ContextKey Modifier and Type Method Description static <E> ContextKey<E>
ContextKey. create(java.lang.String id, java.lang.Class<E> c)
Methods in net.minecraftforge.server.permission.context with parameters of type ContextKey Modifier and Type Method Description protected boolean
AreaContext. covers(ContextKey<?> key)
protected boolean
BlockPosContext. covers(ContextKey<?> key)
protected boolean
Context. covers(ContextKey<?> key)
protected boolean
TargetContext. covers(ContextKey<?> key)
<T> T
AreaContext. get(ContextKey<T> key)
<T> T
BlockPosContext. get(ContextKey<T> key)
<T> T
Context. get(ContextKey<T> key)
<T> T
IContext. get(ContextKey<T> key)
<T> T
TargetContext. get(ContextKey<T> key)
boolean
Context. has(ContextKey<?> key)
boolean
IContext. has(ContextKey<?> key)
<T> Context
Context. set(ContextKey<T> key, T obj)
Sets Context object
-