Class ContextKeys
- java.lang.Object
-
- net.minecraftforge.server.permission.context.ContextKeys
-
public class ContextKeys extends java.lang.Object
Some default context keys, for easier compatibility
-
-
Field Summary
Fields Modifier and Type Field Description static ContextKey<AxisAlignedBB>
AREA
static ContextKey<BlockState>
BLOCK_STATE
static ContextKey<Direction>
FACING
static ContextKey<BlockPos>
POS
BlockPos for interacting, breaking and other permissionsstatic ContextKey<Entity>
TARGET
The entity can be anything that gets interacted with - a sheep when you try to dye it, skeleton that you attack, etc.
-
Constructor Summary
Constructors Constructor Description ContextKeys()
-
-
-
Field Detail
-
POS
public static final ContextKey<BlockPos> POS
BlockPos for interacting, breaking and other permissions
-
TARGET
public static final ContextKey<Entity> TARGET
The entity can be anything that gets interacted with - a sheep when you try to dye it, skeleton that you attack, etc.
-
FACING
public static final ContextKey<Direction> FACING
-
AREA
public static final ContextKey<AxisAlignedBB> AREA
-
BLOCK_STATE
public static final ContextKey<BlockState> BLOCK_STATE
-
-