java.lang.Object
net.minecraftforge.server.permission.context.ContextKeys

public class ContextKeys extends Object
Some default context keys, for easier compatibility
  • Field Details

    • 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<AABB> AREA
    • BLOCK_STATE

      public static final ContextKey<BlockState> BLOCK_STATE
  • Constructor Details

    • ContextKeys

      public ContextKeys()