int function ( World arg0 , int arg1 , int arg2 , int arg3 , ItemStack arg4 ) { int loc0 = 0 ; if ( _hasMeta > 0 ) { if ( _hasMeta > 1 ) return _meta ; loc0 = arg4 . getItemDamage ( ) ; Item loc1 = arg4 . getItem ( ) ; if ( loc1 instanceof ItemBlock ) loc0 = ( ( ItemBlock ) loc1 ) . getMetadata ( loc0 ) ; } return loc0 ; }
called to get the metadata of the replacement block in the world . concode_field_sep byte _hasMeta concode_elem_sep int _meta concode_elem_sep Block _block concode_elem_sep NBTTagCompound _tileTag concode_field_sep boolean hasTag concode_elem_sep boolean replaceBlock concode_elem_sep ReplacementBlock setMeta concode_elem_sep ReplacementBlock setMeta concode_elem_sep NBTTagCompound getTag