public class TargetContext extends PlayerContext
Constructor and Description |
---|
TargetContext(EntityPlayer ep,
Entity entity) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
covers(ContextKey<?> key) |
<T> T |
get(ContextKey<T> key) |
getPlayer, getWorld
public TargetContext(EntityPlayer ep, @Nullable Entity entity)
@Nullable public <T> T get(ContextKey<T> key)
protected boolean covers(ContextKey<?> key)