moves a carried block to a new position of the agent concode_field_sep int maxy concode_elem_sep int maxx concode_field_sep List<StateTransitionProb> stateTransitions concode_elem_sep int greatestHeightBelow concode_elem_sep void moveHorizontally concode_elem_sep BlockDudeCell getBlockAt concode_elem_sep State sample concode_elem_sep void putdownBlock concode_elem_sep void moveUp concode_elem_sep void pickupBlock
void function ( BlockDudeState arg0 , BlockDudeAgent arg1 , int arg2 , int arg3 , int arg4 , int arg5 ) { if ( arg1 . holding ) { BlockDudeCell loc0 = getBlockAt ( arg0 , arg2 , arg3 + 1 ) ; arg0 . copyBlocks ( ) ; arg0 . blocks . remove ( loc0 ) ; loc0 = loc0 . copy ( ) ; loc0 . x = arg4 ; loc0 . y = arg5 + 1 ; arg0 . blocks . add ( loc0 ) ; } }