Uses of Class
net.minecraftforge.server.permission.context.ContextKey
Packages that use ContextKey
-
Uses of ContextKey in net.minecraftforge.server.permission.context
Fields in net.minecraftforge.server.permission.context declared as ContextKeyModifier and TypeFieldDescriptionstatic ContextKey<AABB>ContextKeys.AREAstatic ContextKey<BlockState>ContextKeys.BLOCK_STATEstatic ContextKey<Direction>ContextKeys.FACINGstatic ContextKey<BlockPos>ContextKeys.POSBlockPos for interacting, breaking and other permissionsstatic ContextKey<Entity>ContextKeys.TARGETThe 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 ContextKeyMethods in net.minecraftforge.server.permission.context that return ContextKeyMethods in net.minecraftforge.server.permission.context with parameters of type ContextKeyModifier and TypeMethodDescriptionprotected booleanAreaContext.covers(ContextKey<?> key)protected booleanBlockPosContext.covers(ContextKey<?> key)protected booleanContext.covers(ContextKey<?> key)protected booleanTargetContext.covers(ContextKey<?> key)<T> TAreaContext.get(ContextKey<T> key)<T> TBlockPosContext.get(ContextKey<T> key)<T> TContext.get(ContextKey<T> key)<T> TIContext.get(ContextKey<T> key)<T> TTargetContext.get(ContextKey<T> key)booleanContext.has(ContextKey<?> key)booleanIContext.has(ContextKey<?> key)<T> ContextContext.set(ContextKey<T> key, T obj)Sets Context object