question: private void useEntityFromPath ( Player player , RPAction action ) { Entity entity = EntityHelper . getEntityFromPath ( player , action . getList ( TARGET_PATH ) ) ; if ( entity != null ) { if ( entity . isContained ( ) && ! ItemAccessPermissions . mayAccessContainedEntity ( player , entity ) ) { return ; } tryUse ( player , entity ) ; } }
target:  Use an entity identified by TARGET_PATH.