Uses of Class
net.minecraftforge.server.permission.context.ContextKey
-
Uses of ContextKey in net.minecraftforge.server.permission.context
Modifier and TypeFieldDescriptionstatic final ContextKey<AxisAlignedBB>
ContextKeys.AREA
static final ContextKey<BlockState>
ContextKeys.BLOCK_STATE
static final ContextKey<Direction>
ContextKeys.FACING
static final ContextKey<BlockPos>
ContextKeys.POS
BlockPos for interacting, breaking and other permissionsstatic final 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.Modifier and TypeMethodDescriptionprotected 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