Class AreaContext
- java.lang.Object
-
- net.minecraftforge.server.permission.context.Context
-
- net.minecraftforge.server.permission.context.PlayerContext
-
- net.minecraftforge.server.permission.context.AreaContext
-
- All Implemented Interfaces:
IContext
public class AreaContext extends PlayerContext
-
-
Field Summary
Fields Modifier and Type Field Description private AxisAlignedBB
area
-
Constructor Summary
Constructors Constructor Description AreaContext(PlayerEntity ep, AxisAlignedBB aabb)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
covers(ContextKey<?> key)
<T> T
get(ContextKey<T> key)
-
Methods inherited from class net.minecraftforge.server.permission.context.PlayerContext
getPlayer, getWorld
-
-
-
-
Field Detail
-
area
private final AxisAlignedBB area
-
-
Constructor Detail
-
AreaContext
public AreaContext(PlayerEntity ep, AxisAlignedBB aabb)
-
-
Method Detail
-
get
@Nullable public <T> T get(ContextKey<T> key)
-
covers
protected boolean covers(ContextKey<?> key)
-
-